Pulse Phase Calculation (gtpphase) Tutorial
The gtpphase tool's purpose is to assign a pulse phase to each record in an event file, based on one or more known pulsar ephemerides. Prerequisites
Sample Files. To try the examples in this section, you can download the following fake data files:
Note: Like gtophase, this tool operates on files in place. The examples below are designed to produce the same result from an identical input event file and, in all cases, the event file processed by gtpphase will be identical to:
How To Assign Pulse PhasesThere are several ways to input pulsar ephmeris information to the gtpphase tool; it can:
Using A Pulsar Ephemerides Database FileThe simplest way to run the gtpphase tool, which may suffice for most applications, is for the tool to extract the information from a pulsar database. The exact process the tool uses for choosing ephemerides will be described below. The following plot of the modified events file was produced using the Ftools fhisto and fplot, and shows the distribution of counts in the PULSE_PHASE column in the events file following the phase assignment performed above. The plot shows a sinusoldal folded-light curve, which is consistent with a pulse profile of the simulated pulsar. Inputing A Pulsar Ephemeris ManuallyAnother option is to supply the essential ephemeris information manually. For example, this may be useful when an ephemeris is not available in a database, but the necessary information is available in the literature. In the example shown below, the same values which were extracted from the database in the previous example were entered manually. The result of this run is identical to that of the previous example. Getting More Information on ComputationIf gtpphase is invoked with chatter parameter set to 4 or larger, it will display brief summaries of loaded ephemerides, arrival time corrections, and time systems being used. This feature shows you additional information on computations being performed, which may help you understand the tool. Also, the extra information printed may contain a clue to diagnose certain types of problem. So, try a high chatter when you are unsure on the tool's behavior.
|