Some corrections are mandatory (unless one is interested in raw detector events), while other corrections are optional (but require the mandatory ones).
Selection of data in fancy spatial regions (other than a single standard XY box), although strictly not a correction, is implemented as an optional correction.
xasset correction EnabledAdditionally all primary accumulations programs will currently require three additional arguments following all others. THIS IS PROVISIONAL AND WILL BE CHANGED IN THE FUTURE TO USE ENVIRONMENT VARIABLES. These extra arguments may take the following forms :
N npix seed
S pixsize seedIn the first form one requires npix pixels to cover the original field of view, in the second case one requires the pixel size to be pixsize mm. In either case seed is a seed for a random number generator.
xasset gainhistory gainfilewhere gainfile is a gain history produced by the appropriate command
xasset selectfile ifile xasset selectmethod MapIn this form selectfile is a XAS image file containing a mask defining the region of interest of arbitrary shape. The image is interpreted as a binary mask, all pixels with a non-zero value define the region of interest.
xasset selectfile rfile xasset selectmethod RegionIn this form selectfile is a SAOimage-style region file (recommended filetype is .region) which is interpreted as follows :