Navigation: Scripting Reference Manual > Functions & Subroutines > SpectrumGetGaussianHWHM

 

SpectrumGetGaussianHWHM

 

Contact Us: fredsupport@photonengr.com

 

Description

Gets the HWHM specification for the spectrum being queried.  If the spectrum being queried is not a Gaussian spectrum, then an error is set and the operation is halted.

 

 

Syntax

hwhm = SpectrumGetGaussianHWHM( spectNode )

 

 

Parameters

hwhm (Double)

Half width at half maximum value of the Gaussian spectrum.

 

spectNode As Long

Node number of the spectrum being queried.

 

 

Example

The following example creates a Gaussian spectrum, queries the node for its HWHM and then prints the value.

 

Dim spectNode As Long

Dim hwhm As Double

 

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

hwhm = SpectrumGetGaussianHWHM( spectNode )

 

 

See Also

SpectrumCreateGaussian

SpectrumGetGaussianCenterWavelength

SpectrumSetGaussianCenterWavelength

SpectrumSetGaussianHWHM
SpectrumSetGaussianRange

 

 

 

 

 

Copyright © Photon Engineering, LLC