Import functions for Kaiser Optical Systems .spc files.

read.spc.Kaiser(files, ..., glob = TRUE)

read.spc.KaiserMap(files, keys.log2data = NULL, ...)

read.spc.KaiserLowHigh(
  files = stop("file names needed"),
  type = c("single", "map"),
  ...,
  glob = TRUE
)

Arguments

files

If glob = TRUE, filename can contain wildcards. Thus all files matching the name pattern in filename can be specified.

glob

If TRUE the filename is interpreted as a wildcard containing file name pattern and expanded to all matching file names.

keys.log2data, ...

All further arguments are handed over directly to read.spc().

type

what kind of measurement was done? If "map", read.spc.KaiserMap is used instead of read.spc.Kaiser.

Value

hyperSpec

Details

read.spc.Kaiser imports sets of .spc files written by Kaiser Optical Systems' Hologram software. It may also serve as an example how to write wrapper functions for read.spc to conveniently import specialized sets of .spc files.

Examples

## for examples, please see `vignette ("fileio", package = "hyperSpec")`.