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 8.0.3 to 8.0.4

6

lib/Spectrum2DGenerator.d.ts
import type { Shape2D, XYNumber } from 'ml-peak-shape-generator';
import type { Peak2D, Peak2DSeries } from './types/Peaks2D';
declare type NumToNumFn = (x: number, y?: number) => number | XYNumber;
interface OptionsSG2D {
export interface OptionsSG2D {
/**

@@ -33,3 +33,3 @@ * First x value (inclusive).

}
interface AddPeak2DOptions {
export interface AddPeak2DOptions {
/**

@@ -58,3 +58,3 @@ * Half-height width.

}
interface GenerateSpectrum2DOptions {
export interface GenerateSpectrum2DOptions {
/**

@@ -61,0 +61,0 @@ * Options for spectrum generator

@@ -6,3 +6,3 @@ import type { DataXY } from 'cheminfo-types';

declare type NumToNumFn = (x: number) => number;
interface OptionsSG1D {
export interface OptionsSG1D {
/**

@@ -34,3 +34,3 @@ * First x value (inclusive).

}
interface PeakOptions {
export interface PeakOptions {
/**

@@ -61,3 +61,3 @@ * Half-height width.

}
interface GenerateSpectrumOptions {
export interface GenerateSpectrumOptions {
/**

@@ -64,0 +64,0 @@ * Options for spectrum generator

{
"name": "spectrum-generator",
"version": "8.0.3",
"version": "8.0.4",
"description": "generate a spectrum from discrete peaks",

@@ -5,0 +5,0 @@ "main": "./lib/index.js",

@@ -28,3 +28,3 @@ import { getShape2D, Shape2DClass } from 'ml-peak-shape-generator';

interface OptionsSG2D {
export interface OptionsSG2D {
/**

@@ -59,3 +59,3 @@ * First x value (inclusive).

interface AddPeak2DOptions {
export interface AddPeak2DOptions {
/**

@@ -86,3 +86,3 @@ * Half-height width.

interface GenerateSpectrum2DOptions {
export interface GenerateSpectrum2DOptions {
/**

@@ -89,0 +89,0 @@ * Options for spectrum generator

@@ -12,3 +12,3 @@ import type { DataXY } from 'cheminfo-types';

interface OptionsSG1D {
export interface OptionsSG1D {
/**

@@ -41,3 +41,3 @@ * First x value (inclusive).

interface PeakOptions {
export interface PeakOptions {
/**

@@ -69,3 +69,3 @@ * Half-height width.

interface GenerateSpectrumOptions {
export interface GenerateSpectrumOptions {
/**

@@ -72,0 +72,0 @@ * Options for spectrum generator

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