Navigation: Scripting Reference Manual > Functions & Subroutines > SpectrumSetGaussianHWHM

 

SpectrumSetGaussianHWHM

 

Contact Us: fredsupport@photonengr.com

 

Description

Sets the HWHM specification for the spectrum being modified without changing the wavelength range.  If the spectrum being queried is not a Gaussian spectrum, an error is set and the operation is halted.

 

 

Syntax

SpectrumSetGaussianHWHM spectNode, hwhm

 

 

Parameters

spectNode As Long

Node number of the spectrum being modified.

 

hwhm As Double

New half width at half maximum value of the Gaussian spectrum.

 

 

Example

The following example creates a Gaussian spectrum and then modifies the HWHM value.

 

Dim spectNode As Long

 

spectNode = SpectrumCreateGaussian( 0.5, 0.2, 0.1, 0.9 )

SpectrumSetGaussianHWHM spectNode, 0.4

 

 

See Also

SpectrumCreateGaussian

SpectrumGetGaussianCenterWavelength

SpectrumGetGaussianHWHM

SpectrumSetGaussianCenterWavelength
SpectrumSetGaussianRange

 

 

 

 

 

Copyright © Photon Engineering, LLC