getInstrSettings: Get the "instr.settings" attribute

View source: R/spct.metadata.r

getInstrSettingsR Documentation

Get the "instr.settings" attribute

Description

Function to extract the "instr.settings" attribute from generic_spct object or from a summary_generic_spct.

Usage

getInstrSettings(x)

instr_settings(x)

Arguments

x

a generic_spct object or a summary_generic_spct object.

Details

If x is derived from generic_spct or from summary_generic_spct, the value of attribute "instr.settings" is returned (NULL, if missing). Otherwise list() is returned.

Value

an object of class "instr_settings" derived from "list".

See Also

Other measurement metadata functions: add_attr2tb(), getFilterProperties(), getHowMeasured(), getInstrDesc(), 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(), trimInstrSettings()

Examples

settings <- getInstrSettings(white_led.cps_spct)
class(settings)
print(settings)
print(str(settings))


photobiology documentation built on June 8, 2025, 10:14 a.m.