CFwhm:Peak


The Peak method returns the peak intensity above background that results from the Calc method.

Syntax

nPeak = CFwhm:Peak()

where

    nPeak is the intensity above background estimated by, but not returned by, the Calc method.

Example

 

F = CFwhm:new()

-- create a new CFwhm object

F:Calc( 290, 484 )

-- calculate the Peak near pixel 290,484

Printf("Peak = %lg", F:Peak() )

-- result: Peak = 3290.55

Related Topics

Calc

CFwhm Class