Comparing version 1.1.8 to 1.1.9
@@ -5,3 +5,3 @@ 'use strict'; | ||
var sequentialFill = require('ml-array-sequential-fill'); | ||
var baselineCorrection = require('ml-baseline-correction-regression'); | ||
var mlBaselineCorrectionRegression = require('ml-baseline-correction-regression'); | ||
var mlSpectraProcessing = require('ml-spectra-processing'); | ||
@@ -14,3 +14,2 @@ var mlRollingBallBaseline = require('ml-rolling-ball-baseline'); | ||
var sequentialFill__default = /*#__PURE__*/_interopDefaultCompat(sequentialFill); | ||
var baselineCorrection__default = /*#__PURE__*/_interopDefaultCompat(baselineCorrection); | ||
@@ -77,3 +76,3 @@ /** | ||
let output = baselineCorrection__default.default(x, ys, regressionOptions); | ||
let output = mlBaselineCorrectionRegression.baselineCorrectionRegression(x, ys, regressionOptions); | ||
@@ -80,0 +79,0 @@ return { baseline: output.baseline, correctedSpectrum: output.corrected }; |
{ | ||
"name": "baselines", | ||
"version": "1.1.8", | ||
"version": "1.1.9", | ||
"description": "baselines provides a collection of baseline correction methods.", | ||
@@ -49,3 +49,3 @@ "main": "lib/index.js", | ||
"ml-array-sequential-fill": "^1.1.8", | ||
"ml-baseline-correction-regression": "^1.0.3", | ||
"ml-baseline-correction-regression": "^2.0.1", | ||
"ml-rolling-ball-baseline": "^2.0.3", | ||
@@ -52,0 +52,0 @@ "ml-spectra-processing": "^14.5.0" |
import sequentialFill from 'ml-array-sequential-fill'; | ||
import baselineCorrection from 'ml-baseline-correction-regression'; | ||
import { baselineCorrectionRegression } from 'ml-baseline-correction-regression'; | ||
@@ -33,5 +33,5 @@ /** | ||
let output = baselineCorrection(x, ys, regressionOptions); | ||
let output = baselineCorrectionRegression(x, ys, regressionOptions); | ||
return { baseline: output.baseline, correctedSpectrum: output.corrected }; | ||
} |
19184
342
+ Addedml-baseline-correction-regression@2.0.1(transitive)
- Removedml-baseline-correction-regression@1.0.3(transitive)