
Sanity check of wavelengths (internal function).
Source:R/numeric-check-spectrum.r
check_w.length.RdThis function checks a w.length vector for compliance with assumptions expected for valid calculations.
See also
Other data validity check functions:
check_spct(),
check_spectrum(),
enable_check_spct()
Examples
with(sun.data, photobiology:::check_w.length(w.length))
#> [1] TRUE