Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
ml-rolling-ball-baseline
Advanced tools
Rolling ball baseline correction. The algorithm was initially described in [1].
1. Kneen, M. A.; Annegarn, H. J. Algorithm for Fitting XRF, SEM and PIXE X-Ray Spectra Backgrounds. Nuclear Instruments and Methods in Physics Research Section B: Beam Interactions with Materials and Atoms 1996, 109–110, 209–213.
2. Liland KH, Almøy T, Mevik B (2010). “Optimal Choice of Baseline Correction for Multivariate Calibration of Spectra.” Applied Spectroscopy, 64, 1007-1016.
$ npm i ml-rolling-ball-baseline
import { rollingBall } from 'ml-rolling-ball-baseline';
// spectrum is an array
const spectrum=[1, 2, 1, ...];
// you need to provide and array with the data and
// two numbers indicating the "size" of the balls,
// i.e., the maximization/minimization and the smoothing window.
const baseline = rollingBall(spectrum, 200, 400);
FAQs
Rolling ball baseline correction
The npm package ml-rolling-ball-baseline receives a total of 389 weekly downloads. As such, ml-rolling-ball-baseline popularity was classified as not popular.
We found that ml-rolling-ball-baseline demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.