XRSPI (July 2005) suzaku.xrspi XRSPI (July 2005) NAME xrspi -- Calculate the XRS PI values from PHA using a gain & drift file USAGE xrspi infile=aeXXXXXXXXX_0_xrs.fff \ outfile=aeXXXXXXXXX_0_xrs.sff \ gainfile=ae_xrs_gain_YYYYMMDD.fits \ driftfile=aeXXXXXXXXX_0_xrs.drift DESCRIPTION Calculate the XRS PI values from PHA using a gain & drift file PARAMETERS infile input event FITS file (XRSeventFitsRD) outfile output event FITS file (XRSeventFitsWT) clobber Overwrite output file if exists? (XRSeventFitsWT) gainfile gain parameter file (XRSphaToPI) driftfile gain drift file (XRSphaToPI) gain_trim gain trimming factor (XRSphaToPI) rand_seed random number seed (XRSphaToPI) rand_skip random number skip count (XRSphaToPI) num_event number of event (-1=all,0=exit) event_freq Event number printout frequency mode Mode EXAMPLES Calculate the PI values for the event file ae19990613_0140_0933_xrs.fff using the gain history file ae19990613_0140_0933_xrs.ghf, and create a new event file ae19990613_0140_0933_xrs.evt % xrspi ae19990613_0140_0933_xrs.fff hires.ghf \ hires.gains midres.gains lores.gains \ ae19990613_0140_0933_xrs.evt SEE ALSO xrsmkgainhist AUTHOR This program was developed primarily in the ASTRO-E ANL environment by Yoshitaka Ishisaki (Tokyo Metropolitan University; ishisaki@.phys.metro-u.ac.jp ), and updated by Keith C. Gendreau (NASA/GSFC; kcg@milkyway.nasa.gov) and Andrew Szymkowiak (NASA/GSFC; aes@lheamail.gsfc.nasa.gov) CONTACT Questions and comments should be addressed to astroehelp@olegacy.gsfc.nasa.gov.