A Pulsar Timing Package, written in Python from scratch
Project description
PINT
PINT is not TEMPO3
PINT is a project to develop a pulsar timing solution based on python and modern libraries. It is still in active development, but it is in production use by the NANOGrav collaboration and it has been demonstrated produce residuals from most “normal” timing models that agree with Tempo and Tempo2 to within ~10 nanoseconds. It can be used within python scripts or notebooks, and there are several command line tools that come with it.
The primary reasons PINT was developed are:
To have a robust system to produce high-precision timing results that is completely independent of TEMPO and Tempo2
To make a system that is easy to extend and modify due to a good design and the use of a modern programming language, techniques, and libraries.
IMPORTANT Notes!
PINT has a naming conflict with the pint units package available from PyPI (i.e. using pip) and conda. Do NOT pip install pint or conda install pint! See below!
PINT requires longdouble (80- or 128-bit floating point) arithmetic within numpy, which is currently not supported natively on M1/M2/M3 Macs. However, you can use an x86 version of conda even on an M1/M2/M3 Mac (which will run under Rosetta emulation): see instructions for using Apple Intel packages on Apple silicon. It’s possible to have parallel versions of conda for x86 and ARM.
Installing
PINT is now available via PyPI as the package pint-pulsar, so it is now simple to install via pip. For most users, who don’t want to develop the PINT code, installation should just be a matter of:
$ pip install pint-pulsar
By default this will install in your system site-packages. Depending on your system and preferences, you may want to append --user to install it for just yourself (e.g. if you don’t have permission to write in the system site-packages), or you may want to create a virtualenv to work on PINT (using a virtualenv is highly recommended by the PINT developers).
PINT is also available for Anaconda python under the conda-forge channel:
$ conda install -c conda-forge pint-pulsar
The above two options install the latest released version. If you want access to the latest development version, the source code, example notebooks, and tests, you can install from source, by cloning the source repository from GitHub, then install it, ensuring that all dependencies needed to run PINT are available:
$ git clone https://github.com/nanograv/PINT.git $ cd PINT $ pip install .
Complete installation instructions are available on readthedocs.
Using
See the online documentation. Specifically:
Are you a NANOGrav member? Then join the #pint channel in the NANOGrav slack.
If you have tasks that aren’t covered in the material above, you can email pint@nanograv.org or one of the people below:
Scott Ransom (sransom@nrao.edu)
Paul Ray (paul.s.ray3.civ@us.navy.mil)
David Kaplan (kaplan@uwm.edu)
Abhimanyu Susobhanan (abhimanyu.susobhanan@nanograv.org)
Want to do something new? Submit a github issue.
And for more details, please read and cite(!) the PINT paper_1 and paper_2.
Articles that cite the PINT paper can be found in an ADS Library. A list of software packages that use PINT can be found here.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file pint-pulsar-1.1.tar.gz
.
File metadata
- Download URL: pint-pulsar-1.1.tar.gz
- Upload date:
- Size: 1.5 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9fcd6a6ba767854d099f7798d862ca9810377c22ad5d26ddc023239c22b8ea21 |
|
MD5 | cfa84993fbb1b7f1f3f8ae6b61dbfb8e |
|
BLAKE2b-256 | 85c0884dd905279b4b438273102426ea411f875644a54742e0b4f1b4003a1e82 |
File details
Details for the file pint_pulsar-1.1-py3-none-any.whl
.
File metadata
- Download URL: pint_pulsar-1.1-py3-none-any.whl
- Upload date:
- Size: 1.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cfabdbe855c48108c2d6bdebbb23534cefa9307c77e09f5ed16d23efeb393b24 |
|
MD5 | e38c2d2a7a60b3abec43e4d46c9ae953 |
|
BLAKE2b-256 | 239c08a8635d5ae27d009bb9bdde8046bbafa557910a188beba0e73107e45a2a |