ml-spectra-processing
Advanced tools
Comparing version 8.0.0 to 8.0.1
import fill from 'ml-array-sequential-fill'; | ||
// @ts-ignore | ||
import SplineInterpolator from 'spline-interpolator'; | ||
import erfcinv from './erfcinv'; | ||
import rayleighCdf from './rayleighCdf'; | ||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
const SplineInterpolator = require('spline-interpolator'); | ||
/** | ||
@@ -7,0 +7,0 @@ * Determine noise level by san plot methodology (https://doi.org/10.1002/mrc.4882) |
@@ -8,6 +8,6 @@ "use strict"; | ||
const ml_array_sequential_fill_1 = __importDefault(require("ml-array-sequential-fill")); | ||
// @ts-ignore | ||
const spline_interpolator_1 = __importDefault(require("spline-interpolator")); | ||
const erfcinv_1 = __importDefault(require("./erfcinv")); | ||
const rayleighCdf_1 = __importDefault(require("./rayleighCdf")); | ||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
const SplineInterpolator = require('spline-interpolator'); | ||
/** | ||
@@ -227,3 +227,3 @@ * Determine noise level by san plot methodology (https://doi.org/10.1002/mrc.4882) | ||
} | ||
let interp = new SplineInterpolator(xTraining, yTraining); | ||
let interp = new spline_interpolator_1.default(xTraining, yTraining); | ||
for (let i = 0; i < result.length; i++) { | ||
@@ -230,0 +230,0 @@ let yValue = 2 * data[i]; |
{ | ||
"name": "ml-spectra-processing", | ||
"version": "8.0.0", | ||
"version": "8.0.1", | ||
"description": "Various method to process spectra", | ||
@@ -5,0 +5,0 @@ "main": "./lib/index.js", |
import { DataXY, FromTo, DoubleArray } from 'cheminfo-types'; | ||
import fill from 'ml-array-sequential-fill'; | ||
// @ts-ignore | ||
import SplineInterpolator from 'spline-interpolator'; | ||
@@ -7,5 +9,2 @@ import erfcinv from './erfcinv'; | ||
// eslint-disable-next-line @typescript-eslint/no-var-requires | ||
const SplineInterpolator = require('spline-interpolator'); | ||
/** | ||
@@ -12,0 +11,0 @@ * Determine noise level by san plot methodology (https://doi.org/10.1002/mrc.4882) |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
854259