Learn R Programming

photobiology (version 0.13.0)

getInstrSettings: 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)

Value

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

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.

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

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

Run the code above in your browser using DataLab