These are step-by-step guides you can follow to show you what PINT can do. Quick common tasks are explained on the PINT Wiki. If you want some explanations of why things work this way, see the Explanation section. If you want details on a particular function that comes up, see the Reference section. More complicated tasks are discussed in the How-tos.

Data Files

The data files (par and tim) associated with the tutorials and other examples can be located via pint.config.examplefile() (available via the pint.config module):

import pint.config
fullfilename = pint.config.examplefile(filename)

For example, the file NGC6440E.par from the Time a Pulsar notebook can be found via:

import pint
fullfilename = pint.config.examplefile("NGC6440E.par")


These tutorials examples are in the form of Jupyter notebooks, downloadable from a link at the top of each page. (Also available in the same place is a plain-python script version, in case this is more convenient.) You should be able to download these files and run them from anywhere convenient (provided PINT is installed). Finally, there are additional notebooks you can download from the PINT Wiki or the GitHub examples directory: these are not included in the default build because they take too long, but you can download and run them yourself.