cm2micron

From DavinciWiki
(Difference between revisions)
Jump to: navigation, search
(Clarified explanation; added related functions)
 
Line 1: Line 1:
 
{{DavinciWiki_Function|
 
{{DavinciWiki_Function|
Convert wavenumber to microns and microns to wavenumbers
+
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 wavenumbers or microns
+
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]]
*[[ktof]]
 
 
*[[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:Spectral Tools]]
 
 
[[category:General Science]]
 
[[category:General Science]]
 +
[[category:Spectral Tools]]

Latest revision as of 18:55, 8 December 2010


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

  • davinci-dev [AT] mars.asu.edu

All other topics

  • See navigation on the left

Related Functions

Recent Library Changes

Created On: 07-29-2010
Modified On: 12-09-2010

Personal tools