Method returning attributes of an object of class generic_spct or derived, or of class waveband. Only attributes defined and/or set by package 'photobiology' for objects of the corresponding class are returned.
get_attributes(x, which, ...)# S3 method for generic_spct
get_attributes(x, which = NULL,
allowed = all.attributes, ...)
# S3 method for source_spct
get_attributes(x, which = NULL, ...)
# S3 method for filter_spct
get_attributes(x, which = NULL, ...)
# S3 method for reflector_spct
get_attributes(x, which = NULL, ...)
# S3 method for object_spct
get_attributes(x, which = NULL, ...)
# S3 method for waveband
get_attributes(x, which = NULL, ...)
a generic_spct object.
character vector Names of attributes to retrieve.
currently ignored
character vector Names of attributes accepted by which
.
Named list
of attribute values.
generic_spct
: generic_spct
source_spct
: source_spct
filter_spct
: filter_spct
reflector_spct
: reflector_spct
object_spct
: object_spct
waveband
: waveband
Other measurement metadata functions: getInstrDesc
,
getInstrSettings
,
getWhatMeasured
,
getWhenMeasured
,
getWhereMeasured
,
isValidInstrDesc
,
isValidInstrSettings
,
setInstrDesc
,
setInstrSettings
,
setWhatMeasured
,
setWhenMeasured
,
setWhereMeasured
,
trimInstrDesc
,
trimInstrSettings