chantrans -- translate relative RXTE PCA channels to absolute
chantrans -i "infile" -f "outfile" -c "Relative channel ranges" -h (help) -p (print out all channel information) or chantrans
This is a script that queries the user for a series of relative channel values (beginning at 0) and translates them into their absolute channel values and store that into a file ready for input into SA(E)EXTRCT.
This script file is meant to allow the user to specify an input file, and output file, and a series of relative channel ranges (i.e., 0-16, 22, 28-50) and the script will read the CPIX keyword from the infile translate the specified relative channel ranges to their absolute channels ranges (e.g., given CPIXn = (0:22),(23~29), (30:51;2), (52:255), the output file would contain 0-16, 22, 32-64) and this value would be input in SA(E)EXTRCT as the "chint" value.
1. chantrans -i "sac.pha" -f "chint.out" -c "0-16, 22, 28-50" 2. chantrans
Please report problems to xtehelp@athena.gsfc.nasa.gov. Provide a detailed description of the problem and an e-mail address at which you can be reached if further information is required. Before reporting a bug please check your .PAR file. At the moment all comparisons are CASE SENSITIVE.
SAEXTRCT and SEXTRCT for more information