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

ml-gsd

Package Overview
Dependencies
Maintainers
10
Versions
77
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ml-gsd - npm Package Compare versions

Comparing version 6.1.1 to 6.1.2

7

CHANGELOG.md
# Changelog
### [6.1.2](https://www.github.com/mljs/global-spectral-deconvolution/compare/v6.1.1...v6.1.2) (2020-11-18)
### Bug Fixes
* method name in README ([cb0e563](https://www.github.com/mljs/global-spectral-deconvolution/commit/cb0e563b5eeaee233004fdcd87882b470654bd99))
### [6.1.1](https://www.github.com/mljs/global-spectral-deconvolution/compare/v6.1.0...v6.1.1) (2020-11-14)

@@ -4,0 +11,0 @@

4

lib/index.js

@@ -363,3 +363,3 @@ 'use strict';

* @param {object} [options.optimization = {}] - it's specify the kind and options of the algorithm use to optimize parameters.
* @param {object} [options.optimization.kind = 'lm'] - kind of algorithm. By default it's levenberg-marquardt.
* @param {string} [options.optimization.kind = 'lm'] - kind of algorithm. By default it's levenberg-marquardt.
* @param {object} [options.optimization.options = {}] - options for the specific kind of algorithm.

@@ -405,2 +405,3 @@ */

optPeaks[j].index = peaks.index;
optPeaks[j].group = i;
result.push(optPeaks[j]);

@@ -427,2 +428,3 @@ }

optPeaks[0].index = peaks.index;
optPeaks[0].group = i;
result.push(optPeaks[0]);

@@ -429,0 +431,0 @@ }

{
"name": "ml-gsd",
"version": "6.1.1",
"version": "6.1.2",
"description": "Global Spectra Deconvolution",

@@ -58,6 +58,6 @@ "main": "lib/index.js",

"cheminfo-build": "^1.1.8",
"eslint": "^7.12.1",
"eslint": "^7.13.0",
"eslint-config-cheminfo": "^5.2.2",
"eslint-plugin-import": "^2.22.1",
"eslint-plugin-jest": "^24.1.0",
"eslint-plugin-jest": "^24.1.3",
"eslint-plugin-prettier": "^3.1.4",

@@ -70,3 +70,3 @@ "esm": "^3.2.25",

"prettier": "^2.1.2",
"rollup": "^2.33.1",
"rollup": "^2.33.3",
"spectrum-generator": "^4.4.0",

@@ -78,4 +78,4 @@ "xy-parser": "^3.0.0"

"ml-spectra-fitting": "^0.7.1",
"ml-peak-shape-generator": "^0.10.0"
"ml-peak-shape-generator": "^0.10.2"
}
}

@@ -11,3 +11,3 @@ # global-spectral-deconvolution

The second algorithm (`optimize`) will optimize the width as a FWHM to match the original peak. After optimization the width with therefore be always FWHM whichever is the function used.
The second algorithm (`optimizePeaks`) will optimize the width as a FWHM to match the original peak. After optimization the width with therefore be always FWHM whichever is the function used.

@@ -14,0 +14,0 @@ ## [API documentation](http://mljs.github.io/global-spectral-deconvolution/)

@@ -14,3 +14,3 @@ import { optimize } from 'ml-spectra-fitting';

* @param {object} [options.optimization = {}] - it's specify the kind and options of the algorithm use to optimize parameters.
* @param {object} [options.optimization.kind = 'lm'] - kind of algorithm. By default it's levenberg-marquardt.
* @param {string} [options.optimization.kind = 'lm'] - kind of algorithm. By default it's levenberg-marquardt.
* @param {object} [options.optimization.options = {}] - options for the specific kind of algorithm.

@@ -56,2 +56,3 @@ */

optPeaks[j].index = peaks.index;
optPeaks[j].group = i;
result.push(optPeaks[j]);

@@ -78,2 +79,3 @@ }

optPeaks[0].index = peaks.index;
optPeaks[0].group = i;
result.push(optPeaks[0]);

@@ -80,0 +82,0 @@ }

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