File Import Witec Raman

Description

Import Raman Spectra/Maps from Witec Instrument via ASCII files

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
scan.txt.Witec(file = stop("filename or connection needed"),
  points.per.line = NULL, lines.per.image = NULL, nwl = NULL,
  remove.zerospc = TRUE, type = c("single", "map"), hdr.label = FALSE,
  hdr.units = FALSE, ..., quiet = TRUE)

scan.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"), ...,
  quiet = hy.getOption("debuglevel") < 1L)

scan.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"), ..., quiet = TRUE)

Arguments

file

filename or connection to ASCII file

points.per.line

number of spectra in x direction of the map

lines.per.image

number of spectra in y direction

nwl

is deprecated and will be removed soon. Number of wavelengths is calculated automatically.

remove.zerospc

is deprecated and will be removed soon. Use hy.setOptions (file.remove.emptyspc = TRUE) instead.

type

type of spectra: single for single spectra (including time series), map for imaging data.

hdr.label

WITec Project exports the spectra names (contain information of map position or number of spectra) within the file.

hdr.units

WITec Project exports the spectra units within the file.

...,quiet

handed to scan

filex

filename wavelength axis file

filey

filename intensity file

headerfile

filename or connection to ASCII file with header information

Details

scan.txt.Witec reads Witec ASCII files where the first column gives the wavelength axes and the other columns the spectra. scan.dat.Witec reads Witec's ASCII exported data which comes in separate files with x and y data.

Value

a hyperSpec object

Author(s)

Claudia Beleites and Marcel Dahms

See Also

vignette ("fileio") for more information on file import and

options for details on options.

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.