Import spectra from WITec ASCII/txt files exported by WITec TrueMatch.

read_txt_WITec_TrueMatch(file, keys_2header = "all")

Arguments

file

Path or connection to ASCII TrueMatch file.

keys_2header

All meta data will be preserved if key_2header = "all" (default); only spc file name will be preserved if key_2header = "none"; only specified header information will be saved otherwise e.g., key_2header=c("key1", "key2", ...).

Value

hyperSpec object.

Details

Function read_txt_WITec_TrueMatch() reads WITec ASCII files exported by WITec TrueMatch. These files are ini-like: ASCII files with meta data sections and spectra data sections.

Author

Claudia Beleites and Erick Oduniyi