rbnrpsf - rebins a radial PSF dataset
rbnrpsf infile outfile c_min
rbnrpsf reads an i/p FITS datafile containing a radial point spread function dataset in OGIP-standard format, and rebins the dataset such that such that each new bin contains a user-supplied minimum number of counts. The result is written in the form of a BINTABLE (with extname = OBS RPSF) in the output file (again in OGIP standard format). Details of the o/p file formats supported can be found in the OGIP Calibration Memo CAL/GEN/92-020 available via the OGIP anonymous ftp account on legacy.gsfc.nasa.gov (in Postscript) as caldb/docs/memos/cal_gen_92_020.ps.
The number of ('source') counts in each radial bin is calculated after the subtraction of an appropriate background. By default this background is obtained from the BACKGRND keyword within the i/p file (and may be zero). However users may override this value by entering their own (see below).
You need to specify the extension number when specifying the name of the input FITS file. If the input filename is infile.fits and the extension for radial profile is 2, then it should be infile.fits[2].
If a radial profile has been background subtracted, with an overestimate for the background rate, negative counts can be present in the input datafile. It is important to note that when PCRPSF performs the rebinning, these negative values are (negatively) included within the summation to determine whether the requested number of minimum counts are in the new bin. This often results in wide output bins.
In order to obtain a good resolution extract the radial profile with many steps, for example, if the extraction is performed from 0 to 10 arcminutes, use at least 80 steps.
You need to specify the extension number when specifying the name of the input FITS file. For example, if the input filename is infile.fits and the extension for radial profile is 2, then it should be infile.fits[2].
The ftools/caltools task st2rpsf
The ftools/caltools task rpsfqdp
The ftools/caltools task calcrpsf
The ftools/rosat task pcrpsf
Rehana Yusaf
HEASARC
NASA/GSFC
http://heasarc.gsfc.nasa.gov/cgi-bin/ftoolshelp