sa2phaII -- Convert a Standard Mode 2 Science Array (SA) file into a type II PHA file.
sa2phaII infile outfile bin_factor
This task converts a Std2 SA file into a type II PHA file. With a binfactor of 1, one spectrum summed over all PCUs and anodes will be accumulated from each row (set of vector arrays) of the input file, and written as a separate line into the PHA file. The PHA file is XSPEC-compatible: for example, the 250th spectrum in a type II PHA file may be read into XSPEC using a command of the syntax "data type2file.pha{250}".
1. Convert a SA file into a type II PHA file with time binned by 2.
sa2phaII infile=mySAfile outfile=temp111.pha bin_factor=2
sa2phaII is currently specific to RXTE PCA Standard Mode 2 data. Support for other SA modes may be added if there is sufficient demand.
Please report problems to xtehelp@athena.gsfc.nasa.gov.