R/utils.R
is_wl_equidistant.Rd
Test if the wavelength vector of a hyperSpec object is equally spaced
is_wl_equidistant(x, tolerance = sqrt(.Machine$double.eps))
x | a hyperSpec object |
---|---|
tolerance | maximum difference to accept (to account for machine precision) |
logical