Function to read the "when.measured" attribute of an existing generic_spct, generic_mspct, summary_generic_spct, data.frame or a derived-class object.
getWhenMeasured(x, ...)when_measured(x, ...)
# S3 method for default
getWhenMeasured(x, ...)
# S3 method for generic_spct
getWhenMeasured(x, as.df = FALSE, ...)
# S3 method for summary_generic_spct
getWhenMeasured(x, as.df = FALSE, ...)
# S3 method for data.frame
getWhenMeasured(x, as.df = FALSE, ...)
# S3 method for generic_mspct
getWhenMeasured(x, ..., idx = "spct.idx")
POSIXct An object with date and time.
a generic_spct object
Allows use of additional arguments in methods for other classes.
logical If TRUE return a data frame instead of a list, when the value stored in the attribute is a list.
character Name of the column with the names of the members of the collection of spectra.
getWhenMeasured(default)
: default
getWhenMeasured(generic_spct)
: generic_spct
getWhenMeasured(summary_generic_spct)
: summary_generic_spct
getWhenMeasured(data.frame)
: data.frame
getWhenMeasured(generic_mspct)
: generic_mspct
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()