cm2micron
(Created page with 'Category:NEED') |
(Clarified explanation; added related functions) |
||
(2 intermediate revisions by one user not shown) | |||
Line 1: | Line 1: | ||
− | [[ | + | {{DavinciWiki_Function| |
+ | Convert between wavenumber (in reciprocal centimeters) and wavelength (in microns) | ||
+ | | | ||
+ | Arguments: Any numeric array | ||
+ | |||
+ | Return Value: Input array converted from reciprocal centimeters to microns, or from microns to reciprocal centimeters | ||
+ | | | ||
+ | [[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. | ||
+ | | | ||
+ | dv> wn=1400 | ||
+ | 1400 | ||
+ | dv> cm=1400 | ||
+ | 1400 | ||
+ | dv> micron=cm2micron(cm) | ||
+ | 7.142857075 | ||
+ | dv> cm2=cm2micron(micron) | ||
+ | 1400.000000 | ||
+ | | | ||
+ | | | ||
+ | | | ||
+ | *[[bbr]] | ||
+ | *[[bbrw]] | ||
+ | *[[btemp]] | ||
+ | *[[ctok]] | ||
+ | *[[ftoc]] | ||
+ | *[[ktof]] | ||
+ | *[[unithelp]] | ||
+ | | | ||
+ | *spectral_tools.dvrc | ||
+ | | | ||
+ | 1.06 | ||
+ | }} | ||
+ | [[category:Functions]] | ||
+ | [[category:User Defined Functions]] | ||
+ | [[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 |