0.1.1 • Published 4 years ago

cv-curve v0.1.1

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

cv-curve

NPM version Test coverage npm download

Installation

$ npm install --save cv-curve

Usage

import CVCurve from 'cv-curve';

let analysis = CVCurve.fromJcamp(jcamp);

When loading an CVCurve 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