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.0.tar.gz (59.3 kB view details)

Uploaded Source

Built Distribution

pulsar_paragraph-1.0.0-py3-none-any.whl (60.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: pulsar_paragraph-1.0.0.tar.gz
  • Upload date:
  • Size: 59.3 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.0.tar.gz
Algorithm Hash digest
SHA256 eeb2ce6aceb4948b2dc641bb1313bc2b250d0770591f2e0a0c3f1ae88b22afb3
MD5 c2c4db58dd85791a8106baae9465bf12
BLAKE2b-256 d6628c1309a536dda1bf1a4783f41cadb8b6eda775187cec72aff5c230eba685

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pulsar_paragraph-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 60.2 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.0-py3-none-any.whl
Algorithm Hash digest
SHA256 593b3057fa08b7b746b551b43189b163ce9256eac295946a15284cb4f04c9517
MD5 6c47f08d5e7d6a4cea5e90a997d4a705
BLAKE2b-256 933f75c5ee8a2be3c4d7160818ac5da71546f5ee597e56254888b44d259f75de

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