Skip to main content

Reading, writing, and manipulating radio astronomy polarization (Stokes) spectra.

Project description

PolSpectra

A package for creating and manipulating tables of polarized radio spectra.

Detailed documentation is available on the wiki here.
A full description of the PolSpectra standard is being written up and will be published soon.

This package was motivated for the need for a volume-efficient way of storing the Stokes IQUV spectra of compact sources: avoiding massive duplication of information (in FITS headers) and also avoiding the need for very large numbers of files (potentially half a billion files for the entirety of POSSUM!). The design set out to fulfill these goals: it would be space efficient (minimal duplication), easily readable (without requiring special software), and flexible in terms of combining data from separate instruments and observations into a single file if desired.

This has been implemented using the FITS table and VOTable formats. The use of variable-length array columns allow the spectra to be stored efficiently, even if different rows have different numbers of channels (although this has only limited official support under the FITS standard). The basic unit for a row is a single source-observation (the same source observed multiple times gets a row for each individual observation), with a 'source_number' column that can group together multiple observations under the same source.

The resulting tables should be readable by anything that supports FITS tables (with the variable-length array column standard) or VOTables. This Python package offers a streamlined way to create these tables as objects in Python and read/write them to FITS and VOTable format.

Designed for use by the CIRADA Polarization pipeline, for processing of data for the POSSUM and VLASS radio surveys, and for use in the RM-Tools polarization analysis package (not yet supported).

Cameron Van Eck (cameron.van.eck (at) utoronto.ca)

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

Polspectra-1.1.0.tar.gz (12.4 kB view details)

Uploaded Source

Built Distribution

Polspectra-1.1.0-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file Polspectra-1.1.0.tar.gz.

File metadata

  • Download URL: Polspectra-1.1.0.tar.gz
  • Upload date:
  • Size: 12.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.8

File hashes

Hashes for Polspectra-1.1.0.tar.gz
Algorithm Hash digest
SHA256 d18d695a4f8c64ea40d87329229830e26a29c873544b4cac25417b070f2da0f5
MD5 10f257e9a171046750774ec25d0fc4b6
BLAKE2b-256 753b62ca52a23e098f2e9f0dd825642d23e2f20b2068d3b8a2671ace1b6f21cd

See more details on using hashes here.

File details

Details for the file Polspectra-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: Polspectra-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.8.8

File hashes

Hashes for Polspectra-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0671af3c716eff487e416e5c8aff0d59f9cc6256b8a31435b2749f612cb2e36c
MD5 fc11a92aaefca5ba232150dd79c9f3cb
BLAKE2b-256 acb908e2470d1c153a5c827597275bea7b3ec55b569b93b2512bc6bfc4cac51b

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