Notes to get you started with Tempo2

Contents

  1. Contents
  2. Installation
  3. Converting par-files
  4. Basic usage (without plugins)
  5. Standard usage with plk plugin
  6. Other plugins of potential interest
  7. Simulating gravitational waves
  8. Writing your own plugins

Back to Top


1. Installation

Hosted on sourceforge: http://sourceforge.net/projects/tempo2/.
Manual pages and just about anything you might need on the Tempo2 homepage: http://www.atnf.csiro.au/research/pulsar/tempo2/ .

Back to Top


2. Converting par-files

tempo2 -gr transform Tempo1.par Tempo2.par

INPUT: Tempo1.par
OUTPUT: Tempo2.par

Back to Top


3. Basic usage (without plugins)

Usage without a plugin: tempo2 -f Tempo2.par tim.tim

INPUT: Tempo2.par, tim.tim.
Note that (in principle) any type of tim-file can be used. If -tempo1 is added to the command line, also tempo1-format par-files can be accepted.

OUTPUT: Textual output on-screen includes (amongst others) pre- and postfit parameter values, parameter uncertainties, number of TOAs, chisquared (if weighted), rms.

Back to Top


4. Standard usage with plk plugin

tempo2 -gr plk -f Tempo2.par tim.tim

INPUT: Tempo2.par, tim.tim
(same notes as above.)

OUTPUT: Textual output as above. Also plots up an interactive pgplot window:


Figure 1: Basic plk visual interface

Some common actions have buttons on the pgplot window, but for most things you'll need to learn the shortcuts.
Some important keys while running tempo2 with plk:

Also, once you grow accustomed to these, you may find it useful to switch between plot windows

Back to Top


5. Other plugins of potential interest

Back to Top


6. Simulating gravitational waves

There are a few publically available plugins that work with GW-affected TOAs:

Using the GWbkgrd plugin

tempo2 -gr GWbkgrd -f Tempo2.par tim.tim -gwamp 1e-14 -alpha -0.666 -ngw 1000 -dist 1.1 -plot -f PSR2.par PSR2.tim -dist 2.2

INPUT:
  • test.tim
  • --> Hit 'h' in the pgplot window to figure out which plots are available and 'q' to quit. Press 's' to save the simulated TOAs.

    OUTPUT (after hitting 's' in the pgplot window):

    Back to Top


    7. Writing your own plugins

    Back to Top