Last chance! 50% off unlimited learning
Sale ends in
Function to validate the "instr.settings"
attribute of an existing
generic_spct
object or summary_generic_spct
object.
isValidInstrDesc(x)
A logical
vector of length one.
a generic_spct
object or a summary_generic_spct
object.
Test if at least one of instrument name (field
spectrometer.name
) or serial number (field spectrometer.sn
)
is found in the value of the R attribute "instr.desc"
of x
.
FALSE
is silently returned if x
does not belong to a class
derived from class generic_spct
or from class
summary_generic_spct
, or if it is derived from these classes but the
attribute is not set.
Other measurement metadata functions:
add_attr2tb()
,
getFilterProperties()
,
getHowMeasured()
,
getInstrDesc()
,
getInstrSettings()
,
getSoluteProperties()
,
getWhatMeasured()
,
getWhenMeasured()
,
getWhereMeasured()
,
get_attributes()
,
isValidInstrSettings()
,
select_spct_attributes()
,
setFilterProperties()
,
setHowMeasured()
,
setInstrDesc()
,
setInstrSettings()
,
setSoluteProperties()
,
setWhatMeasured()
,
setWhenMeasured()
,
setWhereMeasured()
,
spct_attr2tb()
,
spct_metadata()
,
subset_attributes()
,
trimInstrDesc()
,
trimInstrSettings()
isValidInstrDesc(white_led.cps_spct)
isValidInstrDesc(white_body.spct)
Run the code above in your browser using DataLab