Ephemeris Data File
The gtpulsardb tool is a utility for manipulating and accessing databases containing pulsar ephemeris data. Using this tool, one can accept input from any number of FITS files in the GLAST D4 format, and/or simple text files containing pulsar data. These input pulsar ephemerides can be filtered by pulsar name and other criteria, and the results stored in a new GLAST D4 FITS file.
|
(248 kB) | (4 kB) | |||||
(36 kB) | (4 kB) | |||||
(4 kB) | (4 kB) | |||||
(4 kB) | ||||||
|
Also see: | Tutorial (popup) |
SciTools References (Popup) |
|
It is possible to filter an ephemerides file to extract only ephemerides for a particular pulsar as follows:
The name supplied in the example was simply "Crab", but in general the "B-name" or "J-name" may be used as well as common names such as "Crab" or "Vela". Colloquial names and B-names are looked up using the ALTERNATIVE_NAMES extension to obtain the correct J-name, which is then used to look up ephemerides in the SPIN_PARAMETERS and/or ORBITAL_PARAMETERS.
It is also possible to filter an ephemerides file to extract only ephemerides which are valid during some portion of a user-specified time range, as follows:
In order to merge two or more ephemerides files, it is necessary to supply more than one file name through the psrdbfile parameter. This is done using the "at-file" syntax familiar to Ftools users, in which the file names are written into a text file, and that text file is supplied to gtpulsardb with a prepended at-sign (@).
Pulsar ephemerides can also be supplied to gtpulsardb using a simple text file format. Each text file contains data which correspond to one of the four extensions in a GLAST D4 FITS file. Using the same at-file syntax described in the previous example, any number of these text files can be combined into a single GLAST D4 FITS file.
For example:
This technique may be useful when updating a local copy of D4 FITS file that contains only ephemerides of a particular pulsar.
This feature may be useful when adding a few ephemerides to (a local copy of) the master ephemerides database, in order to update the database; or when inserting "test ephemerides" in the database to share them with collaborators.
Caution: To maximize flexibility, the tool does not require the input files to contain complete and consistent ephemeris information, i.e., if the inputs are incomplete, or self-contradictory, the tool can produce an output file which is in a GLAST D4 FITS file format, but which is missing key information, and may not work properly with other tools. For example, it is a simple matter to produce a FITS file that includes only a SPIN_PARAMETERS extension.
Owned by: | Masaharu Hirayama hirayama@jca.umbc.edu |
James Peachey James.Peachey-1@nasa.gov |
Last updated by: Masaharu Hirayama 02/24/2009 |