input file: xdata$snr.qp
output file: snr_cnt.tab
xr> xspatial xs> imcnts source image file: xdata$snr.qp # Again for the extended emission source region descriptor: box 459 510 208 266 &! c 503 513 22.5 # Box centered at 459, 510, of dimensions 208x266, # with the point source circle excluded, &! means `and not' background image file or cts/pixel: 0 # No background root name for output file [root_cnt.tab]: snr # Output table snr_cnt.tab
N.B.: The use of imcnts to obtain counts in regions can lead to wrong results when more than one region is used in the same run, if there is any overlap between them, since each pixel can be assigned to ONE AND ONLY ONE region (the last one defined that includes that pixel. See ``help regions'').