ml-baseline-correction-regression
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

baseline-correction-regression

NPM version build status Test coverage npm download

Iterative regression-based baseline correction.

The algorithm is based on the document Baseline correction by improved iterative polynomial fitting with automatic threshold

Installation

$ npm i ml-baseline-correction-regression

Usage

import baselineCorrection from 'ml-baseline-correction-regression';

let time = [
  /* ... */
];
let originalSignal = [
  /* ... */
];
const { corrected, delta, iteration, baseline } = baselineCorrection(
  time,
  originalSignal,
);

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i ml-baseline-correction-regression

Weekly Downloads

725

Version

2.0.1

License

MIT

Unpacked Size

9.02 kB

Total Files

6

Last publish

Collaborators

  • stropitek
  • targos
  • lpatiny
  • mljs-bot
  • maasencioh
  • andcastillo