Iterative regression-based baseline correction
(object?
= {}
)
Options object
Name | Description |
---|---|
options.maxIterations number
(default 100 )
|
Maximum number of allowed iterations |
options.Regression function
(default PolynomialRegression )
|
Regression class with a predict method |
options.regressionOptions any?
|
Options for regressionFunction |
options.tolerance number
(default 0.001 )
|
Convergence error tolerance |
{corrected: Array<number>, delta: number, iteration: number, baseline: Array<number>}
: