Import functions for Kaiser Optical Systems `.spc` files

read_spc_Kaiser(files, ..., glob = TRUE)

read_spc_Kaiser_map(files, keys_log2data = NULL, ...)

read_spc_low_high(
  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_Kaiser_map` 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")`.