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.snip

snip(dataset, snip_width=50)[source]

Simple Non-Iterative Peak (SNIP) detection algorithm

See Ryan et al. [1988] .

Parameters
  • dataset (NDDataset) – The input data.

  • snip_width (int, optional, default:50) – The width of the window used to determine the baseline using the SNIP algorithm.

Returns

NDDataset – The baseline corrected dataset.

See also

Baseline

Manual baseline correction processor.

get_baseline

Compuute a baseline using the Baseline class.

basc

Make a baseline correction using the Baseline class.

asls

Perform an Asymmetric Least Squares Smoothing baseline correction.

rubberband

Perform a Rubberband baseline correction.

autosub

Perform an automatic subtraction of reference.

detrend

Remove polynomial trend along a dimension from dataset.

Examples using spectrochempy.snip

Analysis CP NMR spectra

Analysis CP NMR spectra