Description Retrieves the center wavelength from a Gaussian spectrum. If the spectrum being queried is not a Gaussian spectrum, an error is set and the operation is halted.
Syntax centWav = SpectrumGetGaussianCenterWavelength( spectNode )
Parameters centWav (Double) Value of the center wavelength in the Gaussian spectrum being queried.
spectNode As Long Node number of the spectrum being queried.
Example The following example creates a Gaussian spectrum and then gets and prints the center wavelength.
Dim spectNode As Long Dim cenWav As double
spectNode = SpectrumCreateGaussian( 0.5, 0.2, 0.1, 0.9 ) cenWav = SpectrumGetGaussianCenterWavelength( spectNode ) Print "Center wavelength: " & cenWav
See Also SpectrumSetGaussianCenterWavelength SpectrumSetGaussianHWHM
|