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

ml-spectra-processing

Package Overview
Dependencies
Maintainers
6
Versions
150
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ml-spectra-processing

Various method to process spectra

  • 2.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
21K
decreased by-2.81%
Maintainers
6
Weekly downloads
 
Created
Source

spectra-processing

NPM version build status Test coverage npm download

Various method to process spectra. There are sorted in 4 categories:

  • array : functions that apply on a 1D array
  • xy : functions that apply on an object {x: [], y:[]}
  • xreim: functions that apply on an object {x: [], re:[], im:[]}
  • reim: functions that apply on an object {re: [], im:[]}

There will be probably more categories related to 2D spectra

Installation

$ npm i ml-spectra-processing

Build the project and publish it on npm

npm install --global cheminfo-build cheminfo-publish

Usage

const closest = require('ml-spectra-processing').arrayFindClosestIndex;

// or

const {arrayFindClosestIndex} = require('ml-spectra-processing');

or using ES6 modules

import {arrayFindClosestIndex} from 'ml-spectra-processing';

// you can also extract only one function

import {arrayFindClosestIndex} from 'ml-spectra-processing/src/array/arrayFindClosestIndex';

API Documentation

License

MIT

FAQs

Package last updated on 25 Feb 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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