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

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

UserPost

5:45 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 CSL in two different ways.  The most standard is to use widget properties syntax:

Max = {"HistName"}.MAX or
LCursor = {"HistName"}.LCUR

The second mechanism is to use CSL commands
 
GET SUM #Sum(IntVar)# IN #data#
GET AREA #Area(IntVar)# IN #data#
GET CENTROID #Centroid(RealVar)# IN #data#
GET FWHM #FWHM(RealVar)# IN #data#
GET MAX #Max(IntVar)# IN #data#
GET MIN #Min(IntVar)# IN #data#
GET TOTAL #Total(IntVar)# IN #data#