0.9.0 • Published 2 years ago

raman-spectrum v0.9.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

raman-spectrum

NPM version Test coverage npm download

Installation

$ npm install --save raman-spectrum

Usage

import RamanSpectrum from 'raman-spectrum';

let analysis = RamanSpectrum.fromJcamp(jcamp);

When loading an RamanSpectrum from Jcamp we will systematically add 2 new variables:

  • a: containing the absorbance
  • t: containing the percent transmittance

In order to calculate those 2 variables we will check the Y label. If it contains transmittance we calculate absorbance, if it contains absorbance we calculate transmittance. For transmittance we also check for the presence of a '%' sign.:w

API Documentation

License

MIT

0.9.0

2 years ago

0.6.3

2 years ago

0.8.0

2 years ago

0.6.2

2 years ago

0.7.0

2 years ago

0.5.0

2 years ago

0.6.0

2 years ago

0.3.0

3 years ago

0.4.0

3 years ago

0.2.1

3 years ago

0.2.0

3 years ago