ml-spectra-processing

Various methods to help spectra processing

https://github.com/mljs/spectra-processing

Science Score: 64.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
    3 of 19 committers (15.8%) from academic institutions
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (7.6%) to scientific vocabulary

Keywords from Contributors

interpretability standardization hack
Last synced: 6 months ago · JSON representation ·

Repository

Various methods to help spectra processing

Basic Info
Statistics
  • Stars: 7
  • Watchers: 9
  • Forks: 13
  • Open Issues: 7
  • Releases: 131
Created over 6 years ago · Last pushed 6 months ago
Metadata Files
Readme Changelog License Citation

README.md

ml-spectra-processing

NPM version npm download test coverage license DOI

Various functions to process spectra. Those are pure functions.

They are sorted in various categories:

  • matrix: functions on ml-matrix instances (or array of arrays)
  • x: functions that apply on a 1D array
  • xy: functions that apply on an object {x: [], y:[]}
  • xy2: functions that apply on an array of arrays of 2 numbers [[x,y], [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

console npm install ml-spectra-processing

Usage

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

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

API Documentation

License

MIT

Owner

  • Name: ml.js
  • Login: mljs
  • Kind: organization

Machine learning and numerical analysis tools in JavaScript for Node.js and the Browser

Citation (CITATION.cff)

cff-version: 1.2.0
title: 'Spectra-Processing: A JavaScript Library for Spectroscopic Data Analysis and Manipulation'
abstract: 'Spectra-Processing is an open-source JavaScript library designed for scientists and developers working with scientific data. Part of the mljs suite, this library provides a comprehensive set of tools for processing and analyzing spectral data, including methods for data smoothing, baseline correction, peak picking, and normalization. Its JavaScript foundation allows easy integration into web-based and Node.js environments, empowering developers to build accessible, browser-friendly applications for scientific analysis.'
repository-artifact: http://mljs.github.io/spectra-processing/
repository-code: https://github.com/mljs/psectra-processing
authors:
  - family-names: 'Patiny'
    given-names: 'Luc'
    affiliation: 'Zakodium Sàrl, Switzerland'
    orcid: 'https://orcid.org/0000-0002-4943-2643'
  - family-names: 'Zasso'
    given-names: 'Michaël'
    affiliation: 'Zakodium Sàrl, Switzerland'
    orcid: 'https://orcid.org/0000-0001-5295-2159'
  - family-names: 'Bolaños'
    given-names: 'Alejandro'
    affiliation: 'Universidad del Valle, Cali, Colombia'
    orcid: 'https://orcid.org/0000-0001-5933-5524'
license: MIT
keywords:
  - Javascript
  - Array manipulation
  - Array pure functions
doi: 10.5281/zenodo.13913283

GitHub Events

Total
  • Create event: 58
  • Issues event: 9
  • Release event: 12
  • Delete event: 37
  • Issue comment event: 63
  • Push event: 122
  • Pull request review comment event: 18
  • Pull request review event: 27
  • Pull request event: 82
  • Fork event: 1
Last Year
  • Create event: 58
  • Issues event: 9
  • Release event: 12
  • Delete event: 37
  • Issue comment event: 63
  • Push event: 122
  • Pull request review comment event: 18
  • Pull request review event: 27
  • Pull request event: 82
  • Fork event: 1

Committers

Last synced: 9 months ago

All Time
  • Total Commits: 752
  • Total Committers: 19
  • Avg Commits per committer: 39.579
  • Development Distribution Score (DDS): 0.334
Past Year
  • Commits: 61
  • Committers: 4
  • Avg Commits per committer: 15.25
  • Development Distribution Score (DDS): 0.41
Top Committers
Name Email Commits
Luc Patiny l****c@p****m 501
mljs-bot 7****t 99
Michaël Zasso t****s@p****m 43
Jose Alejandro Bolanos Arroyave j****s@c****o 34
github-actions[bot] 4****] 23
Océane Patiny o****e@p****m 14
Javier Osorio M 3****m 10
Kevin Jablonka 3****m 7
Aiday Marlen Kyzy a****y@g****m 7
cheminfo bot a****n@c****g 4
Wadjih Bencheikh 5****8 2
Giustino Sulpizio g****o@e****h 1
Kevin M. Jablonka k****a@e****h 1
EscapedGibbon 1****n 1
Miguel Angel Asencio Hurtado m****h@g****m 1
Ricardo Silvestre 9****r 1
WargnerM W****M 1
gcartier 1****l 1
hamed-musallam 3****m 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 6 months ago

All Time
  • Total issues: 44
  • Total pull requests: 195
  • Average time to close issues: about 2 months
  • Average time to close pull requests: 6 days
  • Total issue authors: 5
  • Total pull request authors: 13
  • Average comments per issue: 0.64
  • Average comments per pull request: 0.96
  • Merged pull requests: 176
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 7
  • Pull requests: 69
  • Average time to close issues: 7 days
  • Average time to close pull requests: 7 days
  • Issue authors: 4
  • Pull request authors: 5
  • Average comments per issue: 0.57
  • Average comments per pull request: 1.0
  • Merged pull requests: 55
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • lpatiny (27)
  • jobo322 (9)
  • targos (4)
  • josoriom (2)
  • mljs-bot (1)
Pull Request Authors
  • mljs-bot (104)
  • lpatiny (68)
  • jobo322 (43)
  • targos (14)
  • aiday-mar (8)
  • josoriom (3)
  • kjappelbaum (1)
  • wadjih-bencheikh18 (1)
  • RicardoSilvestr (1)
  • Eiafuawn (1)
  • gcartier-epfl (1)
  • hamed-musallam (1)
  • EscapedGibbon (1)
Top Labels
Issue Labels
enhancement (3) question (1) autorelease: pending (1)
Pull Request Labels
autorelease: tagged (74) autorelease: pending (30) hacktoberfest-accepted (1)

Packages

  • Total packages: 1
  • Total downloads:
    • npm 557,273 last-month
  • Total docker downloads: 16
  • Total dependent packages: 43
  • Total dependent repositories: 48
  • Total versions: 164
  • Total maintainers: 6
npmjs.org: ml-spectra-processing

Various method to process spectra

  • Versions: 164
  • Dependent Packages: 43
  • Dependent Repositories: 48
  • Downloads: 557,273 Last month
  • Docker Downloads: 16
Rankings
Dependent packages count: 0.7%
Downloads: 1.8%
Dependent repos count: 1.9%
Average: 4.4%
Forks count: 6.0%
Stargazers count: 11.5%
Last synced: 6 months ago

Dependencies

package.json npm
  • @types/jest ^28.1.6 development
  • cheminfo-build ^1.1.11 development
  • eslint ^8.20.0 development
  • eslint-config-cheminfo-typescript ^11.0.1 development
  • esm ^3.2.25 development
  • jest ^28.1.3 development
  • jest-matcher-deep-close-to ^3.0.2 development
  • jscpd ^3.4.5 development
  • ml-spectra-fitting ^4.0.2 development
  • prettier ^2.7.1 development
  • rimraf ^3.0.2 development
  • ts-jest ^28.0.7 development
  • typedoc ^0.23.9 development
  • typescript ^4.7.4 development
  • binary-search ^1.3.6
  • cheminfo-types ^1.4.0
  • fft.js ^4.0.4
  • is-any-array ^2.0.0
  • median-quickselect ^1.0.1
  • ml-matrix ^6.10.2
  • ml-xsadd ^2.0.0
  • spline-interpolator ^1.0.0
.github/workflows/lactame-head.yml actions
  • actions/checkout v2 composite
  • actions/setup-node v2 composite
  • zakodium/lactame-action v1 composite
.github/workflows/lactame.yml actions
  • actions/checkout v2 composite
  • actions/setup-node v2 composite
  • zakodium/lactame-action v1 composite
.github/workflows/typedoc.yml actions
  • JamesIves/github-pages-deploy-action releases/v4 composite
  • actions/checkout v2 composite
  • actions/setup-node v2 composite
  • zakodium/typedoc-action v2 composite