BUGS · SEE_ALSO
qp2fits -- convert an IRAF/PROS QPOE file into a FITS file
qp2fits QPOE_file FITS_file
qp2fits converts a PROS QPOE file into a FITS file. This task will convert QPOE events, GTIs, TSIs, BLTs, and TGRs to BINARY FITS format. All recognized QPOE parameters are translated to the appropriate FITS parameters. QPOE parameters that are not standard are written out as FITS "COMMENTS".
- qpfile = "" prompt = input (QPOE) filename
The input QPOE file name.
- fitsfile = "" prompt = output (FITS) filename
The output FITS file name. If empty double quotes, (i.e. "") are input, the name will have the same root as the input QPOE file with a ".fits" extension. If a "." is used, the name will have the same root as the input QPOE file with a ".fits" extension, but WITHOUT the PATH.
- (clobber = no) [boolean]
Boolean flag specifying whether or not the FITS file can be overwritten, if it already exists.
- (display = 1) [int]
The display level. Don't set this to 2 or greater unless you want a lot of extra information coming to the screen.
Convert a sample QPOE file to a FITS file.
cl> xray xr> xdataio xd> qp2fits xdata$rp110590.qp output (FITS) filename: temp.fits Writing file temp.fits.Convert a sample QPOE file to a FITS file, using the same QPOE root
xd> qp2fits xdata$rp110590.qp output (FITS) filename: . Writing file ./rp110590.fits.
This task takes approximately 10 seconds on a Sparc to convert the above sample QPOE file (xdata$rp110590.qp), which contains 30,000 photons.