Appendix C. Temporal Analysis with Non-GLAST Analysis Tools
1. Photon Arrival Time Corrections
In high precision temporal analysis, photon arrival times are converted into times at which the photons would have arrived if the instrument were at a different location. When a source of interest is in a binary system, the converted times are further converted into times at which the photons would have arrived if the photons were emitted at the center of gravity of the binary system. The following table summarizes photon arrival times that are frequently used in pulsar analysis. It also shows the time system normally used for each of these arrival times.
Time |
Photon Emitted at |
Photon Arrived at |
Time System |
Mission Elapsed Time |
Photon source (pulsar) |
Spacecraft |
Mission dependent |
Geocentric Time |
Photon source (pulsar) |
Geocenter
(Earth's center of gravity) |
TT (Terrestrial Time) |
Barycentric Time |
Photon source (pulsar) |
Solar system barycenter
(Solar system's center of gravity) |
TDB (Barycentric Dynamical Time) |
Binary-demodulated Barycentric Time |
Binary system's center of gravity |
Solar system barycenter
(Solar system's center of gravity) |
TDB (Barycentric Dynamical Time) |
2. HEASARC Convention on Barycentric Corrections
By default, the GLAST pulsar analysis tools automatically
perform those photon arrival time corrections on the fly, based
on the information available (such as solar system ephemerides
and binary orbital parameters). This is to preserve original
photon arrival times in event files (stored in TIME column),
such that other GLAST or non-GLAST analysis tools can use the
original times, for example, in order to correctly refer an
instrument response for a particular photon without an extra
task in an instrument response computations.
Some of existing temporal analysis tools, however, expect the
converted photon arrival times to be written back to the event
file, overwriting the original photon arrival times. In fact,
this is a commonly-employed convention in various high-energy
astrophysics missions, as HEASARC of NASA/GSFC defines and
recommends an event file format for temporal analysis in which
original photon arrival times are overwritten when barycentric
corrections are applied. As a result, if a GLAST event file is
given to a non-GLAST temporal analysis tool, the tool may not
run at all. Even worse the tool may appear to run properly, but
only to produce a result that is scientifically incorrect.
To use such a temporal analysis tool to analyze GLAST data, a
GLAST event file must be converted in a conventional way.
Namely, on barycentric corrections photon arrival times in a
GLAST event file must be overwritten by the results of
barycentric corrections, as expected by the tool.
3. Exporting GLAST Data for Non-GLAST Temporal Analysis Tools
One of the GLAST pulsar tools, gtbary, performs
barycentric corrections on all times in a given event file,
creates an output file identical to the input file, and
overwrites them in the output file with their barycentric times.
The times converted by gtbary include all photon
arrival times (i.e., the contents of TIME column), good time
intervals (in GTI extension), and FITS header keywords storing
some kind of time (e.g., TSTART keyword which stores a start
time of an observation). Shown below is an example on how to run gtbary to create a converted event file for use with
non-GLAST temporal analysis tools.
In the following example, gtbary processes the event file named my_pulsar_events_v3.fits using the spacecraft data file named my_pulsar_spacecraft_data_v3r1.fits for a pulsar located at the right ascension of 85.0482 and the declination of -69.3319, which is the location of PSR B0540-69 in LMC.
When successful, gtbary creates an output file
(my_pulsar_events_bary_v3.fits in the above example) that is
ready to be given to a non-GLAST temporal analysis tool that is
designed to analyze an event list in the HEASARC standard
temporal file format.
Sample Files
To try the examples above yourself, you can download fake data files here:
The output file in the example (below) is also available for download for your comparison.
Last updated by: Masaharu Hirayama 02/24/2009 |
|
|