efit2file: Convert 'tim' FORTRAN efit files to plain matrices in ASCII...

View source: R/efit2file.R

efit2fileR Documentation

Convert 'tim' FORTRAN efit files to plain matrices in ASCII files

Description

'tim' efit files sometimes represent spectra associated with multiple datasets; for each matrix of spectra stored in such a file, this function writes a plain text file.

Usage

efit2file(filename, skip = 2, numcol, nrows=vector())

Arguments

filename

This is the path to the file to read in, as a quoted string.

skip

number of lines at the top of the file before the data begins

numcol

number of columns the data

nrows

a vector saying how many rows are in each of the matrices of spectra in the file; for instance nrows = c(256,256,256) would indicate that the file stores spectra associated with 3 datasets, each of which contains 256 wavelengths. If nrows is not given, then a single file containing all data is written.

Value

No return value, called for side effects

Author(s)

Katharine M. Mullen, Ivo H. M. van Stokkum

See Also

readData


TIMP documentation built on Dec. 28, 2022, 3:06 a.m.