Import Raman Spectra/Maps from Witec Instrument via ASCII files
scan.txt.Witec(...)scan.dat.Witec(...)
scan.txt.Witec.Graph(...)
read.txt.Witec(
file = stop("filename or connection needed"),
points.per.line = NULL,
lines.per.image = NULL,
type = c("single", "map"),
hdr.label = FALSE,
hdr.units = FALSE,
encoding = "unknown",
...,
quiet = TRUE
)
read.dat.Witec(
filex = stop("filename or connection needed"),
filey = sub("-x", "-y", filex),
points.per.line = NULL,
lines.per.image = NULL,
type = c("single", "map"),
encoding = "unknown",
...,
quiet = hy.getOption("debuglevel") < 1L
)
read.txt.Witec.Graph(
headerfile = stop("filename or connection needed"),
filex = gsub("Header", "X-Axis", headerfile),
filey = gsub("Header", "Y-Axis", headerfile),
type = c("single", "map"),
encoding = "unknown",
...,
quiet = TRUE
)
a hyperSpec object
handed to scan
filename or connection to ASCII file
number of spectra in x direction of the map
number of spectra in y direction
type of spectra: single
for single spectra (including time series), map
for imaging data.
WITec Project exports the spectra names (contain information of map position or number of spectra) within the file
.
WITec Project exports the spectra units within the file
.
character encoding, see readLines
filename wavelength axis file
filename intensity file
filename or connection to ASCII file with header information
Claudia Beleites and Marcel Dahms
read.txt.Witec
reads Witec ASCII files where the first column gives the wavelength
axes and the other columns the spectra. read.dat.Witec
reads Witec's ASCII exported data
which comes in separate files with x and y data.
Parameters nwl
(automatically calculated now) and remove.zerospc
(use hy.setOptions (file.remove.emptyspc = TRUE)
instead) have
been deprecated and removed.
vignette ("fileio")
for more information on file import and
options
for details on options.