cm2micron
(Clarified explanation; added related functions) |
|||
Line 1: | Line 1: | ||
{{DavinciWiki_Function| | {{DavinciWiki_Function| | ||
− | Convert wavenumber | + | Convert between wavenumber (in reciprocal centimeters) and wavelength (in microns) |
| | | | ||
Arguments: Any numeric array | Arguments: Any numeric array | ||
− | Return Value: Input array converted to microns | + | Return Value: Input array converted from reciprocal centimeters to microns, or from microns to reciprocal centimeters |
| | | | ||
[[Syntax]]: cm2micron(data) | [[Syntax]]: cm2micron(data) | ||
− | data can be an array or single value either in | + | data can be an array or single value either in reciprocal centimeters or microns |
+ | |||
+ | The relation between the two is (wavelength in microns)*(wavenumber in reciprocal centimeters) = 10000. Therefore you don't have to specify the units of the input; it's just dividing 10000 by the input either way. | ||
| | | | ||
dv> wn=1400 | dv> wn=1400 | ||
Line 21: | Line 23: | ||
| | | | ||
| | | | ||
+ | *[[bbr]] | ||
+ | *[[bbrw]] | ||
+ | *[[btemp]] | ||
*[[ctok]] | *[[ctok]] | ||
− | |||
*[[ftoc]] | *[[ftoc]] | ||
+ | *[[ktof]] | ||
+ | *[[unithelp]] | ||
| | | | ||
*spectral_tools.dvrc | *spectral_tools.dvrc | ||
Line 31: | Line 37: | ||
[[category:Functions]] | [[category:Functions]] | ||
[[category:User Defined Functions]] | [[category:User Defined Functions]] | ||
− | |||
[[category:General Science]] | [[category:General Science]] | ||
+ | [[category:Spectral Tools]] |
Latest revision as of 18:55, 8 December 2010
Contents: Description, Arguments, Usage, Examples, Related Functions, Source Supported Under Version: > 1.06
Description Convert between wavenumber (in reciprocal centimeters) and wavelength (in microns)
Arguments and Return Values Arguments: Any numeric array Return Value: Input array converted from reciprocal centimeters to microns, or from microns to reciprocal centimeters
Usage Syntax: cm2micron(data) data can be an array or single value either in reciprocal centimeters or microns The relation between the two is (wavelength in microns)*(wavenumber in reciprocal centimeters) = 10000. Therefore you don't have to specify the units of the input; it's just dividing 10000 by the input either way.
Examples dv> wn=1400 1400 dv> cm=1400 1400 dv> micron=cm2micron(cm) 7.142857075 dv> cm2=cm2micron(micron) 1400.000000 |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Recent Library Changes Created On: 07-29-2010 |