CFwhm:SetAutoCentroid
The SetAutoCentroid method sets the flag that controls whether the FWHM uses a centroid position. Set the flag true to cause FWHM calculations to refine the target position to a centroid value.
CFwhm:SetAutoCentroid( bTrue ) |
The Calc method is passed an x,y position from which to calculate the FWHM parameters. Usually, a better result is obtained if the FWHM is computed about the center of the peak or valley.