fromAgilentGCMS

src/index.js

Reads a NetCDF file with Agilent GCMS format and returns a formatted JSON with the data from it

fromAgilentGCMS(data: ArrayBuffer): {times, series}
Parameters
data (ArrayBuffer) ArrayBuffer or any Typed Array (including Node.js' Buffer from v4) with the data
Returns
{times, series}: JSON with the time, TIC and mass spectra values

fromAgilentHPLC

src/index.js

Reads a NetCDF file with Agilent HPLC format and returns a formatted JSON with the data from it

fromAgilentHPLC(data: ArrayBuffer): {times, series}
Parameters
data (ArrayBuffer) ArrayBuffer or any Typed Array (including Node.js' Buffer from v4) with the data
Returns
{times, series}: JSON with the time, TIC and mass spectra values

fromFinniganGCMS

src/index.js

Reads a NetCDF file with Finnigan format and returns a formatted JSON with the data from it

fromFinniganGCMS(data: ArrayBuffer): {times, series}
Parameters
data (ArrayBuffer) ArrayBuffer or any Typed Array (including Node.js' Buffer from v4) with the data
Returns
{times, series}: JSON with the time, TIC and mass spectra values

netcdfGcms

src/index.js

Reads a NetCDF file and returns a formatted JSON with the data from it

netcdfGcms(data: ArrayBuffer): {times, series, meta, variables}
Parameters
data (ArrayBuffer) ArrayBuffer or any Typed Array (including Node.js' Buffer from v4) with the data
Returns
{times, series, meta, variables}: JSON with the time, TIC and mass spectra values