Skip to main content

A Pulsar Timing Package, written in Python from scratch

Project description

PINT Logo

PINT

Actions Status Coverage Documentation Status PINT Paper on arXiv PINT on ASCL License:BSD Code of Conduct

PINT is not TEMPO3

PINT is a project to develop a new pulsar timing solution based on python and modern libraries. It is still in active development, but it can already 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 we are developing PINT are:

  • To have a robust system to check 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 arithmetic within numpy, which is currently not supported natively on M1 Macs (e.g., with the ARM64 conda build). So it may be better to install the standard osx-64 build and rely on Rosetta.

Installing

Conda Version PyPI PyVersions

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:

Want to do something new? Submit a github issue.

And for more details, please read and cite(!) the PINT paper.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pint-pulsar-0.9.5.tar.gz (11.6 MB view details)

Uploaded Source

Built Distribution

pint_pulsar-0.9.5-py3-none-any.whl (11.7 MB view details)

Uploaded Python 3

File details

Details for the file pint-pulsar-0.9.5.tar.gz.

File metadata

  • Download URL: pint-pulsar-0.9.5.tar.gz
  • Upload date:
  • Size: 11.6 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for pint-pulsar-0.9.5.tar.gz
Algorithm Hash digest
SHA256 9207ee2d7ec3ae007b7f638d119e101e5f0043c238737127950a106ecafc979b
MD5 d92b36b16012c909136af7ff22cee5fa
BLAKE2b-256 6ce4616402d924bf0cea2159f54a2c35d0fe0692af08fd67822311f33f62d78b

See more details on using hashes here.

Provenance

File details

Details for the file pint_pulsar-0.9.5-py3-none-any.whl.

File metadata

  • Download URL: pint_pulsar-0.9.5-py3-none-any.whl
  • Upload date:
  • Size: 11.7 MB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.9.15

File hashes

Hashes for pint_pulsar-0.9.5-py3-none-any.whl
Algorithm Hash digest
SHA256 d15b644a403d4ed43ae5ebb17e717ef199c7776c45f0ffb3e7cbf0f8bd4e10b6
MD5 e5b5146209f02cba01ee5593c89f2cb6
BLAKE2b-256 478709e6b7e73eff17420baf6d48ee372644dc67b9ef6b7a758d93c5ddea8682

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page