Helper function for calculating the spectral resolution from
wavenumber
data.
Usage
spec_res(x, ...)
# Default S3 method
spec_res(x, ...)
# S3 method for class 'OpenSpecy'
spec_res(x, ...)
Details
The spectral resolution is the the minimum wavenumber, wavelength, or frequency difference between two lines in a spectrum that can still be distinguished.
Examples
data("raman_hdpe")
spec_res(raman_hdpe)
#> [1] 3.00527