Learn R Programming

OpenSpecy (version 1.5.3)

spec_res: Spectral resolution

Description

Helper function for calculating the spectral resolution from wavenumber data.

Usage

spec_res(x, ...)

# S3 method for default spec_res(x, ...)

# S3 method for OpenSpecy spec_res(x, ...)

Value

spec_res() returns a single numeric value.

Arguments

x

a numeric vector with wavenumber data or an OpenSpecy object.

...

further arguments passed to subfunctions; currently not used.

Author

Win Cowger, Zacharias Steinmetz

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

Run this code
data("raman_hdpe")

spec_res(raman_hdpe)

Run the code above in your browser using DataLab