ascalin -- Calibrate ASCA Science File to produce linearized detector coordinates, gain corrected PI values, and aspected sky image.
1. Aspect Science File to mean pointing during file time:
ascalin datafile calfile tempofile attitude ATT
2. Aspect Science File to RA/DEC_NOM keyword values:
ascalin datafile calfile tempofile attitude KEY
3. Aspect Science File to user selected RA/DEC:
ascalin datafile calfile tempofile attitude USER RA DEC
4. Fixed aspect using Euler angles E1/E2/E3:
ascalin evtfile calfile timfile EULER E1 E2 E3
where,
Program to calibrate the ASCA data; ASCALIN transforms the raw telemetry values to physical values. The results are written out to the input Science File: DETX, DETY (detector coordinates), X, Y (sky coordinates), and PI columns. The transformations are defined by the appropriate Telescope Definition File (teldef file), Temporal (Gain) History File, and Attitude File.
ASCALIN works on SIS FAINT, BRIGHT, and BRIGHT2 mode data, and all GIS PH data mode configurations.
The sky reference point for the aspecting may be selected from either the Science File RA/DEC_NOM nominal R.A. and Dec. keywords (pointing=KEY), a given input value (pointing=USER), or the file average defined as the Attitude File mean R.A. and Dec. during the Science File stop and start time (pointing=ATT).
The option is available to perform a 'fixed aspect' using a set Euler angles to calculate the sky X, Y binned R.A. and DEC. coordinates for each event (attitude=EULER).
Another option (attitude=NONE) is available to update the PI channel without re-calibration the spatial coordinates. The parameters gainnorm and gainoff allow for an overall gain and offset adjustment to the PI scale for both the SIS and GIS. The intent is that you can simply put in the numbers from fiddling with the gain command in XSPEC.
The names of calibration files may be enter by various means. The most direct way is the give the complete file name and path for the prompted parameters. If the CALIBRATION DATABASE is set up at your site, and the requested file is available, the CALDB option will automatically return the correct file name and path. The FTOOLS option will return the default file stored in the FTOOLS REFDATA area, if available. Site wide defaults calibration files names can be stored in the default parameters (see below) and invoked using the DEFAULT option.
A convenient option is available to determine the correct attitude file. If the DEFAULT option is invoked the attitude file name will be deduced from the FRF name stored in the science file. This filename will be appended to the path stored in the defATTpath parameter. This is useful if there is a common directory with all the attitude files.
Don't forget that for some merging programs to work correctly (e.g. XSELECT), all science files for a particular sequence must be aspected to the _same_ celestial location.
See ATTITUDE help file for additional details.
1. Aspect science file using RA/DEC_NOM values for pointing. Use default values for calibration file locations (if applicable to site and set up properly in the parameter file, as explained above):
ascalin datafile caldb ftools default ATT
2. Aspect science file to mean file pointing:
ascalin datafile teldef_file gain_history_file attitude_file ATT
3. Use default files and aspect science file to user RA/DEC:
ascalin datafile default default default USER 90.9 65.2
4. Use default files with Euler angles:
ascalin datafile default default EULER 90.9 24.8 1.0
Compatible with FRFREAD version 2.995 and higher.
Please report problems to gotthelf@gsfc.nasa.gov.
Eric Gotthelf.
ATTITUDE.