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

spectrum-generator

Package Overview
Dependencies
Maintainers
4
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

spectrum-generator - npm Package Compare versions

Comparing version 4.4.0 to 4.4.1

7

CHANGELOG.md
# Changelog
### [4.4.1](https://www.github.com/cheminfo/spectrum-generator/compare/v4.4.0...v4.4.1) (2020-11-18)
### Bug Fixes
* peak shape and package updates ([65dd5e7](https://www.github.com/cheminfo/spectrum-generator/commit/65dd5e77a4e98f60b402e65d8f8640c6fd6815dc))
## [4.4.0](https://www.github.com/cheminfo/spectrum-generator/compare/v4.3.0...v4.4.0) (2020-10-31)

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

22

package.json
{
"name": "spectrum-generator",
"version": "4.4.0",
"version": "4.4.1",
"description": "generate a spectrum from discrete peaks",

@@ -42,17 +42,17 @@ "main": "lib/index.js",

"devDependencies": {
"@babel/plugin-transform-modules-commonjs": "^7.10.4",
"@types/jest": "^26.0.14",
"cheminfo-build": "^1.1.7",
"@babel/plugin-transform-modules-commonjs": "^7.12.1",
"@types/jest": "^26.0.15",
"cheminfo-build": "^1.1.8",
"convert-to-jcamp": "^4.2.0",
"eslint": "^7.11.0",
"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",
"esm": "^3.2.25",
"jest": "^26.5.3",
"ml-spectra-processing": "^4.5.1",
"pnpm": "^5.9.0",
"jest": "^26.6.3",
"ml-spectra-processing": "^4.8.0",
"pnpm": "^5.13.1",
"prettier": "^2.1.2",
"rollup": "^2.29.0"
"rollup": "^2.33.3"
},

@@ -62,3 +62,3 @@ "dependencies": {

"ml-array-normed": "^1.3.2",
"ml-peak-shape-generator": "^0.4.0",
"ml-peak-shape-generator": "^0.10.2",
"ml-xsadd": "2.0.0",

@@ -65,0 +65,0 @@ "object-hash": "^2.0.3"

@@ -13,2 +13,4 @@ # spectrum-generator

The shape is generated using [ml-peak-shape-generator](https://github.com/mljs/peak-shape-generator) and you may use all the corresponding [options](https://mljs.github.io/peak-shape-generator/#getshape) of getShape.
## Installation

@@ -21,3 +23,3 @@

The spectrum generator takes an array of discrete peaks (value and intensity)
and generates peaks with a gaussian distribution.
and generates peaks with a gaussian distribution (by default).

@@ -96,4 +98,3 @@ ### generateSpectrum

options: {
fwhm: 1000,
length: 10001,
factor: 10, // 10 times fwhm. Lorentzian are rather flat
},

@@ -100,0 +101,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