Function to trim the "instr.settings" attribute of an existing generic_spct object, by discarding some fields.
trimInstrSettings(x, fields = "*")
x
a generic_spct object
a character vector with the names of the fields to keep, or if first member is `"-"`, the names of fields to delete; "*" as first member of the vector makes the function a no-op, leaving the spectrum object unaltered.
Other measurement metadata functions:
add_attr2tb()
,
getFilterProperties()
,
getHowMeasured()
,
getInstrDesc()
,
getInstrSettings()
,
getSoluteProperties()
,
getWhatMeasured()
,
getWhenMeasured()
,
getWhereMeasured()
,
get_attributes()
,
isValidInstrDesc()
,
isValidInstrSettings()
,
select_spct_attributes()
,
setFilterProperties()
,
setHowMeasured()
,
setInstrDesc()
,
setInstrSettings()
,
setSoluteProperties()
,
setWhatMeasured()
,
setWhenMeasured()
,
setWhereMeasured()
,
spct_attr2tb()
,
spct_metadata()
,
subset_attributes()
,
trimInstrDesc()