These data input functions are deprecated and they will be removed in the next release of hyperspec package. Now functions in package hySpc.read.txt (link) should be used as the alternatives.

read.txt.Horiba(
  file,
  cols = c(spc = "I / a.u.", .wavelength = expression(Delta * tilde(nu)/cm^-1)),
  header = TRUE,
  sep = "\t",
  row.names = NULL,
  check.names = FALSE,
  ...
)

read.txt.Horiba.xy(file, ...)

read.txt.Horiba.t(
  file,
  header = TRUE,
  sep = "\t",
  row.names = NULL,
  check.names = FALSE,
  ...
)

Arguments

file

connection (file name and path) to the .txt file

cols, header, sep, row.names, check.names, ...

further parameters are handed over to read.txt.wide()

Value

hyperSpec object

Details

Read ASCII (.txt) files exported by Horiba's Labspec software (LabRAM spectrometers)

read.txt.Horiba.xy reads maps, i.e. .txt files where the first two columns give x and y coordinates.

read.txt.Horiba.t reads time series, i.e. .txt files with the time in the first column

Author

C. Beleites