read-spc-Kaiser: read Kaiser .spc files

Description Usage Arguments Details Value Examples

Description

Import functions for Kaiser Optical Systems .spc files

read.spc.KaiserMap is a wrapper for read.spc.Kaiser with predefined log2data to fetch the stage position for each file.

read.spc.KaiserLowHigh is a wrapper for read.spc.Kaiser for raw data that is saved in separate files for low and high wavenumber range. The wavelength axis holds the pixel numbers, which repeat for low and high wavenumber ranges.

Usage

1
2
3
4
5
6
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.

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.

Value

hyperSpec

Examples

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

GegznaV/hyperSpec2 documentation built on Dec. 27, 2019, 9:43 a.m.