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.