Adaptation Methods#

DirectStandardization

Direct Standardization (DS) is a transformer used for domain adaptation (calibration ) applications.

PiecewiseDirectStandardization

Piecewise Direct Standardization (PDS) is a transformer used for domain adaptation (calibration) applications.

SpectralSpaceTransform

Spectral Space Transform (SST) is a transformer used for domain adaptation (calibration) applications.

XAxisInterpolator

Interpolate every row of X onto a shared common_x_axis.

MetadataFunctionTransformer

Apply a callable that consumes feature data and routed metadata.

Validation#

check_metadata_function

Validate a metadata function on representative data.

Predefined Functions#

subtract_reference

Subtract a reference spectrum from every row of X.

divide_by_reference

Divide every row of X by a reference spectrum.

scale_by_factor

Multiply every row of X by a scalar or array factor.

add_offset

Add a baseline offset to every row of X.