Skip to content

AlecThomson/rm-lite

Repository files navigation

RM-lite

Actions Status Codecov Status Documentation Status

PyPI version

PyPI platforms

A mini fork of RM-Tools - RM-synthesis and RM-clean on polarised radio spectra, for both 1D spectra and 3D cubes (the latter via dask).

This just exposes a Python API. No plotting, I/O utilities, or CLI are provided. See the main fork of RM-Tools for that functionality.

The goal of this project is to provide low code surface area with high reliability, performance, and developer ergonomics.

Warning: This is very much a work-in-progress. Do not expect stability for a while.

Installation

PyPI release:

pip install rm-lite

Current GitHub main commit:

pip install git+https://github.com/AlecThomson/rm-lite.git

Usage

Docs: rm-lite.readthedocs.io

This is a library, by design - no CLI is provided. Import the API and call it from your own Python code; see the docs for usage examples.

Citing

If you use this package in a publication, please cite main fork's ASCL entry for the time being.

License

MIT

Contributing

Contributions are welcome. Questions, bug reports, and feature requests can be posted to the GitHub issues page.

The development dependencies can be installed via pip from PyPI:

pip install "rm-lite[dev]"

or for a local clone:

cd rm-lite
pip install ".[dev]"

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

cd rm-lite
prek install

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages