A generic function for querying if a biological spectral weighting function (BSWF) has been applied to an object or is included in its definition.
Usage
is_effective(x)
# Default S3 method
is_effective(x)
# S3 method for class 'waveband'
is_effective(x)
# S3 method for class 'generic_spct'
is_effective(x)
# S3 method for class 'source_spct'
is_effective(x)
# S3 method for class 'summary_generic_spct'
is_effective(x)
# S3 method for class 'summary_source_spct'
is_effective(x)
Methods (by class)
is_effective(default)
: Default method.is_effective(waveband)
: Is awaveband
object defining a method for calculating effective irradiance.is_effective(generic_spct)
: Does asource_spct
object contain effective spectral irradiance values.is_effective(source_spct)
: Does asource_spct
object contain effective spectral irradiance values.is_effective(summary_generic_spct)
: Method for "summary_generic_spct".is_effective(summary_source_spct)
: Method for "summary_source_spct".
See also
Other waveband attributes:
labels()
,
normalization()
Examples
is_effective(summary(sun.spct))
#> [1] FALSE