You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
434 B
R

##################################################
################ wavenum2length ##################
##################################################
wavenum2length <- function(wavenumber) {
# Converts wavenumber (cm-1) to wavelength (nm)
# Only valid for absolute wavenumbers,
# NOT delta wavenumbers (ranges)
# http://www.powerstream.com/inverse-cm.htm
wavelength <-
10E6 / wavenumber
return(wavelength)
}