Function to read the "when.measured" attribute of an existing generic_spct, generic_mspct, summary_generic_spct, data.frame or a derived-class object.
Usage
getWhenMeasured(x, ...)
when_measured(x, ...)
# Default S3 method
getWhenMeasured(x, ...)
# S3 method for class 'generic_spct'
getWhenMeasured(x, as.df = FALSE, ...)
# S3 method for class 'summary_generic_spct'
getWhenMeasured(x, as.df = FALSE, ...)
# S3 method for class 'data.frame'
getWhenMeasured(x, as.df = FALSE, ...)
# S3 method for class 'generic_mspct'
getWhenMeasured(x, ..., idx = "spct.idx")
Methods (by class)
getWhenMeasured(default)
: defaultgetWhenMeasured(generic_spct)
: generic_spctgetWhenMeasured(summary_generic_spct)
: summary_generic_spctgetWhenMeasured(data.frame)
: data.framegetWhenMeasured(generic_mspct)
: generic_mspct
Note
If x is not a generic_spct
or an object of a derived class
NA
is returned.
The method for collections of spectra returns the a tibble with the correct times in TZ = "UTC".
See also
Other measurement metadata functions:
add_attr2tb()
,
getFilterProperties()
,
getHowMeasured()
,
getInstrDesc()
,
getInstrSettings()
,
getSoluteProperties()
,
getWhatMeasured()
,
getWhereMeasured()
,
get_attributes()
,
isValidInstrDesc()
,
isValidInstrSettings()
,
select_spct_attributes()
,
setFilterProperties()
,
setHowMeasured()
,
setInstrDesc()
,
setInstrSettings()
,
setSoluteProperties()
,
setWhatMeasured()
,
setWhenMeasured()
,
setWhereMeasured()
,
spct_attr2tb()
,
spct_metadata()
,
subset_attributes()
,
trimInstrDesc()
,
trimInstrSettings()