Description Sets the center wavelength from a Gaussian spectrum without altering the wavelength range. If the spectrum being modified is not a Gaussian spectrum, an error is set and the operation is halted.
Syntax SpectrumSetGaussianCenterWavelength spectNode, centWav
Parameters spectNode As Long Node number of the spectrum being modified.
centWav As Double New value of the center wavelength in the Gaussian spectrum being modified.
Example The following example creates a Gaussian spectrum and then modifies the center wavelength.
Dim spectNode As Long
spectNode = SpectrumCreateGaussian( 0.5, 0.2, 0.1, 0.9 ) SpectrumSetGaussianCenterWavelength spectNode, 0.7
See Also SpectrumGetGaussianCenterWavelength SpectrumSetGaussianHWHM
|