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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: pulsar_paragraph-1.0.2.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-89-generic

File hashes

Hashes for pulsar_paragraph-1.0.2.tar.gz
Algorithm Hash digest
SHA256 f79cd062fdeaa6df096ea0c9baaee004fe36eb8c5985a82bd773da7b01d374b1
MD5 dd2b266b063a82c571ca99dba1a18947
BLAKE2b-256 6b697854cfaac086af86811ac0de391a2cf13b057277bcf41b24664100c3f676

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pulsar_paragraph-1.0.2-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-89-generic

File hashes

Hashes for pulsar_paragraph-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 ffd8b2d2f928968c44d9805765a9da846594bf800ed514a5c3654af39a93a426
MD5 4b3ee0ca5ce8a9dc48af6d8c962b2e8a
BLAKE2b-256 2ac1953e1da7b2053d8cf59bacc5e5bf1775600483372087e86af8f185c575f9

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