Test if the wavelength vector of a hyperSpec object is equally spaced

is_wl_equidistant(x, tolerance = sqrt(.Machine$double.eps))

Arguments

x

a hyperSpec object

tolerance

maximum difference to accept (to account for machine precision)

Value

logical