Navigation: Scripting Reference Manual > Functions & Subroutines > SpectrumComputeLuminousEfficacy

 

SpectrumComputeLuminousEfficacy

 

Contact Us: fredsupport@photonengr.com

 

Description

Computes the Luminous Efficacy value for a given spectrum.

 

 

Syntax

lumEfficacy = SpectrumComputeLuminousEfficacy( spectNode )

 

 

Parameters

lumEfficacy (Double)

Luminous efficacy value of the spectrum being queried.

 

spectNode As Long

Node number of the spectrum being queried.

 

 

Example

The following example creates a blackbody spectrum and computes and prints its luminous efficacy.

 

Dim spectNode As long

 

spectNode = SpectrumCreateBlackbody( 5900, 0.3, 0.7 )

Print "Luminous Efficacy: " & SpectrumComputeLuminousEfficacy( spectNode )

 

 

See Also

SpectrumCombine

SpectrumComputeArea

SpectrumComputeChromaticity

SpectrumCopy

SpectrumDelete

SpectrumDeleteAllNodes

SpectrumFindName

SpectrumGetDescription

SpectrumGetMaxNodeNum

SpectrumGetName

SpectrumGetNodeCount

SpectrumGetRange

SpectrumGetValue

SpectrumIsValidNode

SpectrumSetDescription

SpectrumSetName

 

 

 

 

 

Copyright © Photon Engineering, LLC