Knowledge Base

 
You must be logged in to post Login Register


Register? | Lost Your Password?

Search Forums:


 






Wildcard Usage:
*    matches any number of characters
%    matches exactly one character

How can I get information about my histogram data such as FWHM, total counts, etc.?

UserPost

5:35 pm
January 4, 2010


Tech Support

Information about the histogram data, such as the plot sum, area, centroid, FWHM, plot max, plot min, and total counts, may be obtained from the histogram object with the following yntax:

value = histObj.getRegionSum(regionName);
value = histObj.getRegionArea(regionName);
value = histObj.getRegionCentroid(regionName);
value = histObj.getRegionFWHM(regionName);
value = histObj.getRegionMin(regionName);
value = histObj.getRegionMax(regionName);

If regionName is null, the calculation will use the region defined by the current cursor settings. The return value may be an integer, a double, or an array.  Check the Kmax Java interfaces documentation to see now to get a object reference to a Kmax histogram.