The following example produces a source spectrum and a background spectrum taken from an annulus about the source.
ICL> XSORT XSORT Version 1.7-0 RAWDIR - Raw data directory > DISK$SCRATCH:[ASTERIX88.ARLAC.DATA] Found 2 data files on DISK$SCRATCH:[ASTERIX88.ARLAC.DATA] DISK$SCRATCH:[ASTERIX88.ARLAC.DATA]ARLAC.SDF;1 DISK$SCRATCH:[ASTERIX88.ARLAC.DATA]ARLAC_HDR.SDF;1 ROOTNAME - Rootname of files to sort /'ARLAC'/ > OBSERVATION DATA-STARTS DATA-ENDS EVENTS FILT_STAT 53.0 6150.0 30611 OFF DATASET - Output files required Event(E) Binned(B) /'B'/ > Binned dataset selection ------------------------ 1) XPIX 2) YPIX 3) XDET 4) YDET 5) Time 6) PHA channel 7) Corrected PHA channel BIN_AXES - Enter integer codes of axes required in data array /'5'/ > 7 SHAPE - Shape of source area Circular(C),Rectangular(R) > C GRP_RA - RA of the centre of the source box /332.02334594727/ > 332.173 GRP_DEC - DEC of the centre of the source box /45.501556396484/ > 45.7393 Source box centre azimuth = -752 elevation = -1712 RADIUS - Radius of source box (degrees) /1.171111/ > 0.05 Data array axes ******************* 3) XDET: 0 to 8192 (pixels) 4) YDET: 0 to 8192 (pixels) 5) Time: 53.000 to 6150.000 (seconds) 6) PHA channel: 1 to 256 (chn.) 7) Corr. PHA chan. 1 to 256 (chn.) RANGES - Property ranges to change (enter numbers) /'7'/ > 7 MINEN - Minimum value of energy /8/ > MAXEN - Maximum value of energy /256/ > ENBIN - Bin width of corrected pulse height axis /1/ > 1 There will be 249 energy bins, each of 1 raw channel, starting from 8 BACK - Is a background file wanted (Y/N) /TRUE/ > GRP_RAB - RA of centre of bckgnd box (dec. degrees) /332.173/ > GRP_DECB - DEC of the centre of the bckgnd box /45.7393/ > BRADINN - Inner radius of bckgnd box (degrees) /5.0000001E-02/ > 0.1 BRADOUT - Outer radius of bckgnd box (degrees) > 0.2 SRCFILE - Output source filename /@SRCS/ > BCKFILE - Output background filename /@BGDS/ > Processing observation DISK$SCRATCH:[ASTERIX88.ARLAC.DATA]ARLAC.SDF