ramanlib.analysis
Analysis routines for Raman spectral data. This focuses on single-spectrum analysis methods or methods that don’t require heavy grouping or metadata management.
This module currently provides a Classical Least Squares (CLS) unmixing routine that decomposes a query spectrum into a linear combination of reference (component) spectra using linear regression. Outputs include the fitted coefficients, the residual spectrum, and the scaled component spectra that best fit the query under a least-squares criterion.
See also
ramanspy.SpectrumRamanSPy spectrum class used throughout.
sklearn.linear_model.LinearRegressionEstimator used to obtain CLS coefficients.
Functions
|
Classical Least Squares (CLS) spectral unmixing. |