https://github.com/cheminfo/spectra-processor

https://github.com/cheminfo/spectra-processor

Science Score: 26.0%

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

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (9.8%) to scientific vocabulary
Last synced: 11 months ago · JSON representation

Repository

Basic Info
Statistics
  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • Open Issues: 2
  • Releases: 65
Created about 7 years ago · Last pushed 11 months ago
Metadata Files
Readme Changelog License

README.md

spectra-processor

NPM version build status Test coverage npm download

Introduction

This package allows to store spectra in an object and make many processing on them

It should be able to deal with large amount of large files and will automatically reduce the data size in order to keep reasonable size. This reduction of data is based on normalization parameters that includes:

  • from / to
  • normalization filters
  • final number of points
  • exclusion zones

The package will try by default to have less than 64 Mb of memory used and if the presence of original data yield to a higher amount it will remove the original data. This will have as consequence that you will not be able to change the normalization parameters.

Practically this means that if you have 1024 spectra of 65536 points and you normalize the data to 4096 points it can still be kept in memory.

  • Memory for spectra: 1024 _ 65536 _ 8 (double): over 64 Mb, original spectra will be removed
  • Memory for normalized: 1024 _ 4k _ 8: 32 Mb: can be processed further

Installation

$ npm install --save spectra-processor

Usage

```js import SpectraProcessor from 'spectra-processor';

let spectrum = SpectraProcessor.addFromJcamp(jcamp); ```

API Documentation

License

MIT

Owner

  • Name: Cheminfo
  • Login: cheminfo
  • Kind: organization

GitHub Events

Total
  • Release event: 2
  • Issue comment event: 2
  • Push event: 14
  • Pull request event: 4
  • Create event: 2
Last Year
  • Release event: 2
  • Issue comment event: 2
  • Push event: 14
  • Pull request event: 4
  • Create event: 2

Committers

Last synced: over 3 years ago

All Time
  • Total Commits: 239
  • Total Committers: 6
  • Avg Commits per committer: 39.833
  • Development Distribution Score (DDS): 0.28
Top Committers
Name Email Commits
Luc Patiny l****c@p****m 172
cheminfo bot a****n@c****g 39
cheminfo-bot 1****t@u****m 22
Luc Patiny l****y@u****m 3
Javier Osorio M 3****m@u****m 2
Luc Patiny l****y@L****l 1
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 2
  • Total pull requests: 27
  • Average time to close issues: N/A
  • Average time to close pull requests: about 21 hours
  • Total issue authors: 1
  • Total pull request authors: 3
  • Average comments per issue: 0.0
  • Average comments per pull request: 0.85
  • Merged pull requests: 27
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 2
  • Average time to close issues: N/A
  • Average time to close pull requests: 24 minutes
  • Issue authors: 0
  • Pull request authors: 1
  • Average comments per issue: 0
  • Average comments per pull request: 1.0
  • Merged pull requests: 2
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • lpatiny (2)
Pull Request Authors
  • cheminfo-bot (27)
  • josoriom (2)
  • lpatiny (1)
Top Labels
Issue Labels
Pull Request Labels
autorelease: tagged (23) autorelease: pending (4)

Packages

  • Total packages: 1
  • Total downloads:
    • npm 150 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 1
  • Total versions: 29
  • Total maintainers: 4
npmjs.org: spectra-processor

[![NPM version][npm-image]][npm-url] [![build status][travis-image]][travis-url] [![Test coverage][codecov-image]][codecov-url] [![npm download][download-image]][download-url]

  • Versions: 29
  • Dependent Packages: 0
  • Dependent Repositories: 1
  • Downloads: 150 Last month
Rankings
Dependent repos count: 10.4%
Forks count: 15.4%
Stargazers count: 21.0%
Average: 25.7%
Downloads: 29.8%
Dependent packages count: 52.1%
Last synced: 11 months ago

Dependencies

package.json npm
  • @babel/plugin-transform-modules-commonjs ^7.17.9 development
  • @types/jest ^27.5.0 development
  • cheminfo-build ^1.1.11 development
  • codecov ^3.8.3 development
  • eslint ^8.15.0 development
  • eslint-config-cheminfo ^7.3.0 development
  • jest ^28.1.0 development
  • jest-matcher-deep-close-to ^3.0.2 development
  • prettier ^2.6.2 development
  • rollup ^2.72.1 development
  • chroma-js ^2.4.2
  • is-any-array ^2.0.0
  • jcampconverter ^9.0.1
  • ml-matrix ^6.10.0
  • ml-pca ^4.0.2
  • ml-signal-processing ^0.5.2
  • ml-spectra-processing ^11.6.0
  • object-hash ^3.0.0
  • xy-parser ^5.0.2
.github/workflows/documentationjs.yml actions
  • JamesIves/github-pages-deploy-action releases/v3 composite
  • actions/checkout v2 composite
  • zakodium/documentationjs-action v1 composite
.github/workflows/lactame.yml actions
  • actions/checkout v2 composite
  • actions/setup-node v2-beta composite
  • zakodium/lactame-action v1 composite
.github/workflows/nodejs.yml actions
.github/workflows/release.yml actions