Skip to main content

A python package that can create a human readable summary of a pulsar based on information for the ANTF pulsar catalogue

Project description

pulsar_paragraph

A python package that can create a human readable summary of a pulsar based on information for the ANTF pulsar catalogue

Installation

To install this package run:

pip install pulsar_paragraph

Or clone the git repository and run:

pip install .

Usage

To output a summary of a pulsar, use the following command:

pulsar_paragraph -p <pulsar_jname>

Where pulsar's PSRJ name such as:

pulsar_paragraph -p J0437−4715

which will output:

PSR J0437-4715 is a millisecond pulsar with a period of 5.76 milliseconds and has an extremely low dispersion measure of 2.645 pc/cm^3. It is a very bright pulsar with a 1400 MHz catalogue flux density of 1.502e+05 mJy. PSR J0437-4715 is a Southern Hemisphere pulsar. This pulsar has a period derivative of 5.73e-20. PSR J0437-4715 has a fairly typical orbital period of 5.741 days and a very mildly eccentric orbit with an eccentricity of 0.00002. It is an ancient pulsar with an age of 1.592 Gyr. PSR J0437-4715 has a low magnetic field strength of 5.81e+08 G. It has a high transverse velocity of 104.7 km/s. The estimated distance to J0437-4715 is 156 pc. This pulsar has a low-mass companion with a minimum mass of 0.140 solar masses.

If you don't include a pulsar, it will create a summary for each pulsar on the ATNF catalogue.

You can also output the paragraphs to a text file with the -f option:

pulsar_paragraph -o <output_file_name>

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

pulsar_paragraph-1.0.1.tar.gz (60.0 kB view details)

Uploaded Source

Built Distribution

pulsar_paragraph-1.0.1-py3-none-any.whl (60.8 kB view details)

Uploaded Python 3

File details

Details for the file pulsar_paragraph-1.0.1.tar.gz.

File metadata

  • Download URL: pulsar_paragraph-1.0.1.tar.gz
  • Upload date:
  • Size: 60.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.10 Linux/5.15.0-82-generic

File hashes

Hashes for pulsar_paragraph-1.0.1.tar.gz
Algorithm Hash digest
SHA256 5b7975b6bb9324674a8f0a9b689e4e199126d895135154f37b14adeb58fd1df7
MD5 3d8bc670b05051508c73d79b9c5dd524
BLAKE2b-256 542ae75231c39d82deccc763ba9f9e53517e0781eb1f54132f207a2aba15c525

See more details on using hashes here.

File details

Details for the file pulsar_paragraph-1.0.1-py3-none-any.whl.

File metadata

  • Download URL: pulsar_paragraph-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 60.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.2 CPython/3.10.10 Linux/5.15.0-82-generic

File hashes

Hashes for pulsar_paragraph-1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 138bac01bf57650bf58a366a5128857269d59a7338bbcf99bfe1adf734014d32
MD5 c78c9b7aa482df76b03640000e573f64
BLAKE2b-256 bdd079f404fc7566ae990918ddc94a54cf75e3d674171e2e71338f10703e1822

See more details on using hashes here.

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