ml-peak-shape-generator
Advanced tools
Comparing version 0.10.1 to 0.10.2
# Changelog | ||
### [0.10.2](https://www.github.com/mljs/peak-shape-generator/compare/v0.10.1...v0.10.2) (2020-11-16) | ||
### Bug Fixes | ||
* wrong covertion from FWHM to width between inflectionPointswidth ([75b7763](https://www.github.com/mljs/peak-shape-generator/commit/75b776399473b43cbb96e3b955cf23d957786d16)) | ||
### [0.10.1](https://www.github.com/mljs/peak-shape-generator/compare/v0.10.0...v0.10.1) (2020-11-16) | ||
@@ -4,0 +11,0 @@ |
@@ -320,7 +320,7 @@ 'use strict'; | ||
case 1: | ||
return fwhm / Math.sqrt(8 * Math.LN2); | ||
return fwhm / Math.sqrt(2 * Math.LN2); | ||
case 2: | ||
return fwhm; | ||
case 3: | ||
return fwhm / (mu * (Math.sqrt(8 * Math.LN2) - 1) + 1); | ||
return fwhm / (mu * (Math.sqrt(2 * Math.LN2) - 1) + 1); | ||
default: | ||
@@ -327,0 +327,0 @@ throw new Error(`Unknown shape kind: ${kind}`); |
{ | ||
"name": "ml-peak-shape-generator", | ||
"version": "0.10.1", | ||
"version": "0.10.2", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -21,7 +21,7 @@ import { getKind, GAUSSIAN } from './util/getKind'; | ||
case 1: | ||
return fwhm / Math.sqrt(8 * Math.LN2); | ||
return fwhm / Math.sqrt(2 * Math.LN2); | ||
case 2: | ||
return fwhm; | ||
case 3: | ||
return fwhm / (mu * (Math.sqrt(8 * Math.LN2) - 1) + 1); | ||
return fwhm / (mu * (Math.sqrt(2 * Math.LN2) - 1) + 1); | ||
default: | ||
@@ -28,0 +28,0 @@ throw new Error(`Unknown shape kind: ${kind}`); |
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
36540