Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ml-spectra-processing

Package Overview
Dependencies
Maintainers
6
Versions
152
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ml-spectra-processing - npm Package Compare versions

Comparing version 8.0.0 to 8.0.1

4

lib-esm/x/xNoiseSanPlot.js
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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc