baselines
v1.1.9
Published
baselines provides a collection of baseline correction methods.
Downloads
2,950
Readme
baselines
Collects baseline correction methods for JavaScript. The idea is that all methods can be used by just providing the measurements y as input.
Installation
$ npm i baselines
Usage
import {
airPLSBaseline,
iterativePolynomialBaseline,
rollingBallBaseline,
} from 'baselines';
const baselineOutput = rollingBallBaseline(spectrum);
// {baseline: [], correctedSpectrum: []}