txt2csv: Utility Functions to Clean and Convert Spectral Files to csv

Description Usage Arguments Details Value Author(s) See Also

Description

These functions clean out extraneous information from exported spectral data files and then write them out in csv format. txt2csv and cmbl2csv handle files exported by LoggerPro software. sstab2csv handles files exported by Spectra Suite software. Not directly called by the user.

Usage

1
txt2csv(in.file = "", out.file = "")

Arguments

in.file

The name of the input file.

out.file

The name of the output file.

Details

Extraneous text at the beginning of the file is removed. In the case of cmbl files, lines containing "Z2" or ">" are removed. Absorbances marked as "Z1" are replaced with zero. The data are initially in one long column; the wavelength and absorbances are reunited into two columns.

Value

A modifed file in csv format.

Author(s)

Bryan A. Hanson, DePauw University.

See Also

gatherSpecFiles which is the function the user should call.


bryanhanson/SpecHelpers documentation built on May 13, 2019, 8:09 a.m.