adj_wave | R Documentation |
Functions for converting between wave* units.
adj_wave(x, ...)
## Default S3 method:
adj_wave(x, laser, ...)
## S3 method for class 'OpenSpecy'
adj_wave(x, laser, ...)
x |
an |
laser |
the wavelength in nm of the Raman laser. |
... |
additional arguments passed to submethods. |
An OpenSpecy
object with new units converted from wavelength
to wavenumbers or a vector with the same conversion.
Win Cowger, Zacharias Steinmetz
data("raman_hdpe")
raman_wavelength <- raman_hdpe
raman_wavelength$wavenumber <- (-1*(raman_wavelength$wavenumber/10^7-1/530))^(-1)
adj_wave(raman_wavelength, laser = 530)
adj_wave(raman_wavelength$wavenumber, laser = 530)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.