Sanity check a spectrum
Checks spectral irradiance data in numeric
vectors for
compliance with assumptions used in calculations.
check_spectrum(w.length, s.irrad)
w.length |
numeric vector of wavelengths (nm). |
s.irrad |
numeric Corresponding vector of spectral (energy) irradiances (W m-2 nm-1). |
A single logical
value indicating whether test was passed or
not
Other data validity check functions:
check_spct()
,
check_w.length()
,
enable_check_spct()
with(sun.data, check_spectrum(w.length, s.e.irrad))
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.