chemotools.adaptation#
Adaptation methods for calibration transfer between instruments, together with metadata-aware transformation and validation utilities.
Import from this module:
from chemotools.adaptation import (
DirectStandardization,
MetadataFunctionTransformer,
PiecewiseDirectStandardization,
SpectralSpaceTransform,
XAxisInterpolator,
)
from chemotools.adaptation.functions import subtract_reference
from chemotools.adaptation.validation import check_metadata_function
Available Classes#
Class |
Description |
|---|---|
Linear calibration transfer via least-squares mapping between instruments |
|
Piecewise calibration transfer using local least-squares windows |
|
SVD-based shared latent space domain adaptation |
|
Resample spectra onto a shared x-axis grid via interpolation |
|
Apply a callable with auxiliary inputs supplied through metadata routing |
Available Functions#
Function |
Description |
|---|---|
Validate a metadata-aware callable on representative data |
|
Subtract a shared or per-sample reference from spectra |
|
Divide spectra by a shared or per-sample reference |
|
Scale spectra by a scalar or array factor |
|
Add a shared or per-sample offset to spectra |
See Also#
Adaptation Methods Overview - Complete documentation with examples and visual guides