3.0.0 • Published 9 months ago

ir-spectrum v3.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
9 months ago

ir-spectrum

NPM version Test coverage npm download DOI

Installation

$ npm install --save ir-spectrum

Usage

import IRSpectrum from 'ir-spectrum';

let analysis = IRSpectrum.fromJcamp(jcamp);

When loading an IRSpectrum from Jcamp we will systamatically 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

3.0.0

9 months ago

2.0.0

2 years ago

1.1.0

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

0.0.2

5 years ago