Learn R Programming

spectrolab (version 0.0.18)

i_read_ascii_spectra: Internal parser for ASCII format

Description

Generic parser for SVC's `.sig` and PSR's `.sed`

Usage

i_read_ascii_spectra(
  file_paths,
  skip_until_tag = NULL,
  sep_char,
  header,
  wl_col,
  refl_cols,
  divide_refl_by,
  ...
)

Value

single `spectra` or list of `spectra`

Arguments

file_paths

paths for files already parsed by `read_spectra`

skip_until_tag

Tag that precedes the table of value data, indicating that lines until that tag should be skipped. Tag is matched with a regexpr.

sep_char

separator

header

boolean. keep header?

wl_col

idx or name of band column

refl_cols

idx or name of value columns. MULTIPLE

divide_refl_by

divide values by this. MULTIPLE

...

additional arguments passed to read table

Author

Jose Eduardo Meireles and Anna Schweiger