The following units can be converted into each other: nm, \(cm^{-1}\), eV, THz and Raman shift.
wl_convert_units(x, from, to, ref_wl = NULL)
x | data for conversion |
---|---|
from | source unit |
to | destination unit |
ref_wl | laser wavelength (required for work with Raman shift) |
R. Kiselev
wl_convert_units(3200, "Raman shift", "nm", ref_wl = 785.04)#> [1] 1048.415wl_convert_units(785, "nm", "invcm")#> [1] 12738.85