mairpls
v1.0.0
Published
Baseline correction using adaptive iteratively reweighted penalized least squares
Downloads
1
Readme
mairpls
Baseline correction using adaptive iteratively reweighted penalized least squares extracted from airPLS.
usage
var mairpls = require('mairpls')
var data = [ 0, 0, 0, 2, 5, 2, 0, 0]
var { baseline, corrected, iteration, error } = mairpls(data )
why not use airPLS?
I tried but airPLS simply doesn't work from NPM, it has a lot of fluff and build for such a simple library so I ripped the code from it and made this library. I would have put in a PR but I don't think I want to argue about whether babel and rollup are good options or not.
install
npm i mairpls --save