is_wl_equidistant: Test if the wavelength vector of a hyperSpec object is...

Description Usage Arguments Value

View source: R/utils.R

Description

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

Usage

1
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


konradmayer/hyperSpec.utils documentation built on May 2, 2021, 4:17 a.m.