Skip to main content

RM-synthesis, RM-clean and QU-fitting on polarised radio spectra

Project description

Tests pre-commit.ci status

RM-Tools

RM-synthesis, RM-clean and QU-fitting on polarised radio spectra

Python scripts to perform RM-synthesis, RM-clean and QU-fitting on polarised radio spectra.

Initial version by Cormac R. Purcell Currently hosted by CIRADA and maintained by Cameron Van Eck

Installation / Usage

Installation, usage instructions and detailed algorithm information can be found in the wiki.

Structure:

  • RMtools_1D ... Toolkit to produce Faraday spectra of single pixels.
  • RMtools_3D ... Toolkit to produce Faraday depth cubes.
  • RMutils ... Utilities for interacting with polarized data and Faraday depth

RM-Tools component diagram

Five terminal commands are added to invoke the main tools:

  • rmsynth1d
  • rmclean1d
  • rmsynth3d
  • rmclean3d
  • qufit

Use these commands with a -h flag to get information on the usage of each. Full documentation is on the wiki.

The following terminal commands are available to access the additional tools:

  • rmtools_freqfile
  • rmtools_calcRMSF
  • rmtools_testdata1D
  • rmtools_createchunks
  • rmtools_assemblechunks
  • rmtools_fitIcube
  • rmtools_peakfitcube
  • rmtools_testdata3D
  • rmtools_extractregion

Citing

If you use this package in a publication, please cite the RM-Tools paper, and optionally the Zenodo DOI for the specific version (version DOIs can be found here).

More information on the Canadian Initiative for Radio Astronomy Data Analysis (CIRADA) can be found at cirada.ca.

RM-Tools is open source under an MIT License.

Contributing

Contributions are welcome. Questions, bug reports, and feature requests can be posted to the GitHub issues page or sent to Cameron Van Eck, cameron.vaneck (at) anu.edu.au.

The development dependencies can be installed via pip from PyPI:

pip install "RM-Tools[dev]"

or for a local clone:

cd RM-Tools
pip install ".[dev]"

Code formatting and style is handled by black and isort, with tests run by pytest. A pre-commit hook is available to handle the autoformatting. After installing the dev dependencies, you can install the hooks by running:

cd RM-Tools
pre-commit install

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

rm_tools-1.4.11.tar.gz (174.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rm_tools-1.4.11-py3-none-any.whl (206.0 kB view details)

Uploaded Python 3

File details

Details for the file rm_tools-1.4.11.tar.gz.

File metadata

  • Download URL: rm_tools-1.4.11.tar.gz
  • Upload date:
  • Size: 174.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for rm_tools-1.4.11.tar.gz
Algorithm Hash digest
SHA256 f91c59a93cc7ecefcbb33b57e39b54a50a8ea3de9be594daabb73c38331c6ab1
MD5 1822443af77edc89d16ea461146cd38f
BLAKE2b-256 a7394cc6e4d7b2a7f3b80026c98f9ee664f2bec37e1a9d980bc3dfcf0f46a456

See more details on using hashes here.

File details

Details for the file rm_tools-1.4.11-py3-none-any.whl.

File metadata

  • Download URL: rm_tools-1.4.11-py3-none-any.whl
  • Upload date:
  • Size: 206.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.25

File hashes

Hashes for rm_tools-1.4.11-py3-none-any.whl
Algorithm Hash digest
SHA256 a5a7658f8961e3d44f8f713bee9bd7e6aa4a8d0c987ff950440e553e26226563
MD5 25034dc9e7c43f0109e8b135671e87a7
BLAKE2b-256 3023ef95a1070a5dcefac211d3083a90be503fed51b3cad6b279f89626e60987

See more details on using hashes here.

Supported by

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