rpsfqdp -- converts OGIP RPSF dataset to ASCII QDP format
rpsfqdp datafile outfile
rpsfqdp reads i/p data from a FITS OGIP standard format file, containing an extension with a radial profile (HDUCLAS3=TOTAL or NET,extname = OBS RPSF), and/or an extension containing a theoretical/predicted model of the data (HDUCLAS3=PREDICTED,extname = THEO PSF). The output is an ASCII file containing the data, along with the necessary QDP commands to enable immediate plotting using QDP/PLT.
This task was used to create the numerous figures demonstrating the PSF of the ROSAT PSPC presented in the articles by Hasinger etal in Legacy 2,3 & 4.
The task writes QDP commands such that the window is automatically scaled to contain the data, and that a logarithmic y-axis scale is used when QDP/PLT plots the output file. Under certain circumstances this scaling may be incorrect (and will always be incorrect when the radial profile data to be plotted contain zero or negative values). The logarithmic scaling can be turned off using the command "log off", and axes can be rescaled using "rescale x -1 10", "rescale y -1e-3 1e2" from within QDP. Further help with QDP is provided by an interactive help.
1. To reformat a datafile myfile.rpsf with default chattiness (5), and output file myfile.qdp :
ca> rpsfqdp myfile.rpsf myfile.qdp
None known
Rehana Yusaf
HEASARC
NASA/GFSC
http://heasarc.gsfc.nasa.gov/cgi-bin/ftoolshelp
(301) 286-6115