You are viewing the documentation for metbit 8.7.7. Change release context
metbit.spec_norm
NMR and preprocessing module in metbit 8.7.7.
import metbit.spec_normClasses
Normalization
A collection of lightweight normalization utilities (PQN, SNV, MSC and their combinations). Methods accept either pandas DataFrames or array-like inputs and always return DataFrames.
Methods
pqn_normalization(df: Union[pd.DataFrame, np.ndarray])
Probabilistic Quotient Normalization (PQN).
snv_normalization(df: Union[pd.DataFrame, np.ndarray])
Standard Normal Variate (column-wise mean centering and scaling).
msc_normalization(df: Union[pd.DataFrame, np.ndarray])
Multiplicative Scatter Correction.
snv_msc_normalization(df: Union[pd.DataFrame, np.ndarray])
Apply SNV followed by MSC-style column centering.
snv_pqn_normalization(df: Union[pd.DataFrame, np.ndarray])
Apply SNV followed by PQN normalization.
snv_msc_pqn_normalization(df: Union[pd.DataFrame, np.ndarray])
Apply SNV, MSC-style centering, then PQN.