spec_res: Spectral resolution

View source: R/spec_res.R

spec_resR Documentation

Spectral resolution

Description

Helper function for calculating the spectral resolution from wavenumber data.

Usage

spec_res(x)

Arguments

x

a numeric vector or an R object which is coercible to one by as.vector(x, "numeric"); x should be wavenumber data.

Details

The spectral resolution is the the minimum wavenumber, wavelength, or frequency difference between two lines in a spectrum that can still be distinguished.

Value

spec_res() returns a single numeric value.

Author(s)

Win Cowger, Zacharias Steinmetz

Examples

data("raman_hdpe")
spec_res(raman_hdpe$wavenumber)


OpenSpecy documentation built on July 6, 2022, 5:07 p.m.