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
152
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

  • 5.7.1
  • Source
  • npm
  • Socket score

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

ml-spectra-processing

NPM version build status Test coverage npm download

Various functions to process spectra. Those are pure functions.

They are sorted in various categories:

  • matrix: functions on ml-matrix instances (or array or array)
  • x: functions that apply on a 1D array
  • xy: functions that apply on an object {x: [], y:[]}
  • xyArray: functions that apply on an array of objects {x: [], y:[]}
  • xyObject: functions that apply on an array of point [{x,y}]
  • xreim: functions that apply on an object {x: [], re:[], im:[]}
  • reim: functions that apply on an object {re: [], im:[]}
  • zone: functions that apply on a zone {from,to}
  • zones: functions that apply on an array of zone [{from,to}]

The name of the functions start with the first argument on which they apply.

Installation

$ npm i ml-spectra-processing

Usage

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

const array = [1, 2, 3];
const result = xAdd(array, 5);
console.log(result);

API Documentation

License

MIT

FAQs

Package last updated on 09 Mar 2021

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