Warning

You are reading the documentation related to the development version. Go here if you are looking for the documentation of the stable release.

spectrochempy.basc

basc(dataset, *ranges, **kwargs)[source]

Compute a baseline corrected dataset using the Baseline class processor.

If no ranges is provided, the features limits are used. See Baseline for detailed information on the parameters.

Parameters
  • dataset (a NDDataset instance) – The dataset where to correct the baseline.

  • *ranges (a variable number of pair-tuples) – The regions taken into account for the manual baseline correction.

  • **kwargs – Optional keyword parameters (see Baseline Parameters for a detailed information).

Returns

NDDataset – The computed baseline corrected dataset

See also

Baseline

Manual baseline correction processor.

get_baseline

Compuute a baseline using the Baseline class.

asls

Perform an Asymmetric Least Squares Smoothing baseline correction.

snip

Perform a Simple Non-Iterative Peak (SNIP) detection algorithm.

rubberband

Perform a Rubberband baseline correction.

autosub

Perform an automatic subtraction of reference.

detrend

Remove polynomial trend along a dimension from dataset.

Notes

For more flexibility and functionality, it is advised to use the Baseline class processor instead.