User_Manual-PILATUS-V1_2.doc 26/57
histogram lo hi int
Histogram the pixels selected by the box tool on the
image. Alternatively, specify the image and region-of-
interest on the command line.
Usage: histogram [IM] [lo hi int] [x1 y1 x2 y2]]
[graph_name], where lo is the first value to use, hi is the
last value, and int is the interval. If IM is not specified,
the default IM is used. [x1 y1 x2 y2] are the coordinates
of the box to be histogrammed. If no graph_name is
specified, the histogram is placed in file 'hist[n].dat' in the
default graph directory, where n rotates through the
values 0…5. This file can be then be moved to a
permanent file by a command such as "move
myhist=hist1". The histogram parameters are
remembered, so subsequent operations with the same
parameters can be obtained by just typing 'histogram'. If
the coordinates are specified on the command line, the
parameters must also be specified. If the file name is
specified, either the image name must also be given, or
3 (or 7) numeric parameters must be specified. In the
integral mode, the integral is written to 'hist[n+1].dat'. if
the name is specified, it is appended with "_i" for the
integral.
See also 'histset'
box Print statistics from the current box selection tool on the
image. Alternatively, specifiy image name and box
coordinates on the command line.
Usage: box [IM] [x1 y1 x2 y2]
If IM is not given, the default IM is used.
[x1 y1 x2 y2] are the coordinates of box to be examined.
If not given, use the box selection tool on image. If given,
the box selection tool is created or updated on the
image, if it is displayed. If the box is set with the mouse,
'box' and 'integrate' give the same result. Several
system variables are set: counts (total counts in box),
area, mean, minimum, maximum, stdev (rms), var
(variance), xcen & ycen (centroid), box_x1, box_x2,
box_y1 & box_y2 (corners of box).
format n1[.n2]
Control the number of digits to be printed (n1) or the
number of decimal places (n2).