Model and serial number are retrieved from the file header, the remaining
unknown parameter values are set to NA. These values are used to set
the "inst.desc" atrribute of x.
Usage
set_oo_ssdata_descriptor(
x,
file.header = comment(x),
descriptor = photobiology::getInstrDesc(x),
action = "merge"
)Arguments
- x
generic_spct, although with defaults only raw_spct.
- file.header
character string The header of the file output by SpectraSuite.
- descriptor
list An already built instrument descriptor, to be used as basis when action == "merge" or action == "keep". Defaults, to that stored in
x.- action
character A flag indicating if an existing instrument descriptor in
xshould be overwritten, merged or kept as is if present.
See also
Other functions for importing spectral data from files:
collect_spct_files(),
map_oofile_header_rows(),
oofile_data_rows(),
plot_spct_file(),
read_files2mspct(),
read_oo_data(),
read_oo_ovdata(),
read_oo_pidata(),
read_oo_ssdata(),
set_oo_ssdata_settings()
