linearize (version 1.0)
You can also look at:
This routine runs the ascalin FTOOL on all of the unfiltered
event files. This does several things.
PI values are calculated from PHA (energy) values.
For the SIS this means normalizing the four chips to a common
scale. For the GIS, corrections are made for the temperature
dependance of the gain.
To do this ascalin uses a gain history file which is
created by the ISAS code temp2gain.
For the GIS, raw X, and Y coordinates of events are converted
to a linear detector X and Y scale.
For both instruments, the detector coordinates are converted
to R.A. and Dec. coordinates registered about a commom aspect
point.
FTOOLS called:
- ascalin
- setup_parfile
Utilities called:
- add_fits_keyword
- check_order
- exception
- fetch_file
- file_to_log
- ftool_test
- generate_filename
- log_entry
- milestone
- parse_filename
- read_parfile
- setup_parfile