ctifunc -identify events, merge events from different obsid, extract spectra from events, then fit models to the spectra.
ctifunc -e @aciseventsparfilename -f @aciscalsrcfitparfilename -i inputrdbfilename [ -c chunks ] [ -D listofworkstations ] [ -h ] [ -I iterationnumber ] [ -m parname=parval ] [ -O ouputFname ] [ -r ] [ -u ] [ -v ] [ -T ]
The options are :
ctifunc -c 2 -i inputrdbfilename -e @aciseventspar -f @aciscalsrcfitpar
ctifunc -e @aciseventspar -f @aciscalsrcfitpar -i ctifuncinput.rdb
A sample of the file containing the options which are passed to acisevents is given below:
dumbo-148: cat aciseventspar
--Stats median --algorithmbias quadrant --ethreshold 38 --sthreshold 13
ctifunc -e @aciseventspar -f @aciscalsrcfitpar -i ctifuncinput.rdb
dumbo-149: cat aciscalsrcfit
-i 3 -t test -c 32 -n 3 -N Al,Ti,Mn
ctifunc -h
dumbo-908: tbl2lst < ctifuncinput.rdb # # The rdb file must contain the following columns: # obsid, biasfilename, coloffset, imagedir, framenum. # # obsid, the observation id to be processed. # biasfilename, bias frame created using fitsstats. # coloffset, the column offset. # imagedir, the directory where the image files reside. # framenum, the range option for the acisevents program. #
obsid | N
biasfilename | S
coloffset | N
imagedir | S
framenum | S
obsid | 61705
biasfilename | /data/dumbo0/dtn/data/61705/obs61705_bias.fits
coloffset | 953
imagedir | /data/dumbo0/dtn/data/61705
framenum | 1104:1107,1115:1119
obsid | 61678
biasfilename | /data/dumbo0/dtn/data/61678/bias61768.fits
coloffset | 953
imagedir | /data/dumbo0/dtn/data/61678
framenum | 1100/25
ctifunc -e @aciseventspar -f @aciscalsrcfitpar -i ctifuncinput.rdb -I 3
ctifunc -e @aciseventspar -f @aciscalsrcfitpar -i ctifuncinput.rdb -m cti=1.4e-4
ctifunc -e @aciseventspar -f @aciscalsrcfitpar -i ctifuncinput.rdb -m -r
If present then the Fits file in the iter00x subdirectory shall be removed.
ctifunc -u
ctifunc -v