chemotools.baseline =================== .. currentmodule:: chemotools.baseline Baseline correction methods for spectral preprocessing. These methods remove baseline drift and offset to isolate the chemical signal. **Import from this module:** .. code-block:: python from chemotools.baseline import ( AirPls, ArPls, AsLs, ConstantBaselineCorrection, CubicSplineCorrection, LinearCorrection, NonNegative, PolynomialCorrection, SubtractReference, ) Available Classes ----------------- .. list-table:: :widths: 30 70 :header-rows: 1 * - Class - Description * - :doc:`AirPls ` - Adaptive iteratively reweighted penalized least squares * - :doc:`ArPls ` - Asymmetrically reweighted penalized least squares * - :doc:`AsLs ` - Asymmetric least squares smoothing * - :doc:`ConstantBaselineCorrection ` - Subtract a constant baseline value * - :doc:`CubicSplineCorrection ` - Fit and subtract cubic spline baseline * - :doc:`LinearCorrection ` - Linear baseline correction * - :doc:`NonNegative ` - Enforce non-negative values * - :doc:`PolynomialCorrection ` - Polynomial baseline fitting and subtraction * - :doc:`SubtractReference ` - Subtract a reference spectrum See Also -------- :doc:`Baseline Methods Overview ` - Complete documentation with examples and visual guides