ml-spectra-fitting
Advanced tools
Comparing version 0.10.0 to 0.11.0
# Changelog | ||
## [0.11.0](https://www.github.com/mljs/spectra-fitting/compare/v0.10.0...v0.11.0) (2020-12-20) | ||
### Features | ||
* add timeout option ([7743e81](https://www.github.com/mljs/spectra-fitting/commit/7743e811232e842927a05f2ead48c5bf86e56c8e)) | ||
* update ml-peak-shape-generator 0.12.0 ([de1313e](https://www.github.com/mljs/spectra-fitting/commit/de1313e26083fd0c96ae3ba90650364b1dee185b)) | ||
## [0.10.0](https://www.github.com/mljs/spectra-fitting/compare/v0.9.0...v0.10.0) (2020-12-10) | ||
@@ -4,0 +12,0 @@ |
@@ -128,2 +128,3 @@ 'use strict'; | ||
* @param {object} [options.optimization.kind = 'lm'] - kind of algorithm. By default it's levenberg-marquardt. | ||
* @param {number} [options.optimization.options.timeout] - maximum time running before break in seconds. | ||
* @param {object} [options.optimization.options = {}] - options for the specific kind of algorithm. | ||
@@ -130,0 +131,0 @@ * @returns {object} - A object with fitting error and the list of optimized parameters { parameters: [ {x, y, width} ], error } if the kind of shape is pseudoVoigt mu parameter is optimized. |
{ | ||
"name": "ml-spectra-fitting", | ||
"version": "0.10.0", | ||
"version": "0.11.0", | ||
"description": "Fit spectra using gaussian or lorentzian", | ||
@@ -65,5 +65,5 @@ "main": "lib/index.js", | ||
"ml-array-max": "^1.2.0", | ||
"ml-levenberg-marquardt": "^3.0.1", | ||
"ml-peak-shape-generator": "^0.11.0" | ||
"ml-levenberg-marquardt": "3.1.0", | ||
"ml-peak-shape-generator": "^0.12.0" | ||
} | ||
} |
@@ -23,2 +23,3 @@ import getMaxValue from 'ml-array-max'; | ||
* @param {object} [options.optimization.kind = 'lm'] - kind of algorithm. By default it's levenberg-marquardt. | ||
* @param {number} [options.optimization.options.timeout] - maximum time running before break in seconds. | ||
* @param {object} [options.optimization.options = {}] - options for the specific kind of algorithm. | ||
@@ -25,0 +26,0 @@ * @returns {object} - A object with fitting error and the list of optimized parameters { parameters: [ {x, y, width} ], error } if the kind of shape is pseudoVoigt mu parameter is optimized. |
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
31689
575
+ Addedis-any-array@0.1.1(transitive)
+ Addedml-levenberg-marquardt@3.1.0(transitive)
+ Addedml-peak-shape-generator@0.12.0(transitive)
- Removedcompute-array-constructors@1.0.1(transitive)
- Removedcompute-array-dtype@1.0.1(transitive)
- Removedcompute-dtype@1.0.0(transitive)
- Removedcompute-erfinv@3.0.1(transitive)
- Removedcompute-indexspace@1.0.1(transitive)
- Removedcompute-polynomial@1.1.0(transitive)
- Removedconst-max-uint32@1.0.2(transitive)
- Removedconst-pinf-float64@1.0.0(transitive)
- Removeddstructs-array-constructors@1.0.2(transitive)
- Removeddstructs-array-dtype@1.0.2(transitive)
- Removeddstructs-cast-arrays@1.0.3(transitive)
- Removeddstructs-matrix@2.1.2(transitive)
- Removedis-any-array@1.0.1(transitive)
- Removedml-levenberg-marquardt@3.1.1(transitive)
- Removedml-peak-shape-generator@0.11.0(transitive)
- Removedobject-keys@1.1.1(transitive)
- Removedregex-regex@1.0.0(transitive)
- Removedtype-name@1.1.02.0.2(transitive)
- Removedutils-copy@1.1.1(transitive)
- Removedutils-copy-error@1.0.1(transitive)
- Removedutils-deep-get@1.0.0(transitive)
- Removedutils-deep-set@1.0.1(transitive)
- Removedutils-indexof@1.0.0(transitive)
- Removedutils-regex-from-string@1.0.0(transitive)
- Removedvalidate.io-array@1.0.6(transitive)
- Removedvalidate.io-array-like@1.0.2(transitive)
- Removedvalidate.io-boolean-primitive@1.0.0(transitive)
- Removedvalidate.io-buffer@1.0.2(transitive)
- Removedvalidate.io-contains@1.0.0(transitive)
- Removedvalidate.io-function@1.0.2(transitive)
- Removedvalidate.io-integer@1.0.5(transitive)
- Removedvalidate.io-integer-primitive@1.0.0(transitive)
- Removedvalidate.io-matrix-like@1.0.2(transitive)
- Removedvalidate.io-nan@1.0.3(transitive)
- Removedvalidate.io-nan-primitive@1.0.0(transitive)
- Removedvalidate.io-nonnegative-integer@1.0.0(transitive)
- Removedvalidate.io-nonnegative-integer-array@1.0.1(transitive)
- Removedvalidate.io-number@1.0.3(transitive)
- Removedvalidate.io-number-primitive@1.0.0(transitive)
- Removedvalidate.io-number-primitive-array@1.0.0(transitive)
- Removedvalidate.io-object@1.0.4(transitive)
- Removedvalidate.io-string-primitive@1.0.1(transitive)
- Removedvalidate.io-typed-array-like@1.0.1(transitive)
Updatedml-levenberg-marquardt@3.1.0