You are viewing the documentation for metbit 6.0.3. Change release context
metbit.ui_stocsy
Visualization and apps module in metbit 6.0.3.
import metbit.ui_stocsyClasses
STOCSY_app
A Dash application for visualizing NMR spectra and performing STOCSY analysis.
Parameters:
spectrapd.DataFrameDataFrame containing the NMR spectra data.
ppmlistList of PPM (parts per million) values corresponding to the spectra.
Methods:
run_ui() -> dash.Dash: Sets up the Dash UI layout and initializes the application callbacks.
Methods
__init__(self, spectra: pd.DataFrame, ppm: list)
Initializes the STOCSY_app with NMR spectra and corresponding PPM values.
Parameters:
spectrapd.DataFrameA DataFrame containing the NMR spectra data, where each row represents a sample.
ppmlistA list of PPM values corresponding to the spectral data columns.
run_ui(self)
Sets up the Dash application layout and callbacks.
Returns:
appdash.DashThe initialized Dash application instance.