CFwhm:X


The X method returns the centroid x position obtained when the FWHM is computed by the Calc method.

Syntax

nX = CFwhm:X()

bullet.gif    nX is the centroid pixel coordinate for the x axis.

Example

 

F = new_fwhm()

-- create a new CFwhm object

F:Calc( 290, 484 )

-- calculate the FWHM near pixel 290,484

Printf("X=%.3lf", F:X() )

-- result: X = 483.442

Related Topics

CFwhm, Y, Calc, Image Coordinate System, Subpixel Coordinate Definition


Mira Pro x64 Script User's Guide, Copyright Ⓒ 2023 Mirametrics, Inc. All Rights Reserved.