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

ml-peak-shape-generator

Package Overview
Dependencies
Maintainers
5
Versions
36
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ml-peak-shape-generator - npm Package Compare versions

Comparing version 0.10.1 to 0.10.2

7

CHANGELOG.md
# 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 @@

4

lib/index.js

@@ -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}`);

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