Skip to main content

build and test codecov DOI

auto_selfcal: Self-calibration, without the hassle!

auto_selfcal does automatic self-calibration of ALMA and VLA with (almost) no effort from you. It can handle most forms of data, including single pointing and ALMA mosaics (VLA mosaics coming soon), ephemeris data, spectral scans, and more. See below to give it a try, or check out our more extensive documentation at https://auto-selfcal.readthedocs.io.

Quickstart

To use auto_selfcal with an existing monolithic CASA distribution:

git clone https://github.com/jjtobin/auto_selfcal.git

cd </path/to/pipeline/calibrated/*_targets.ms/files>

casa -c </path/to/auto_selfcal>/bin/auto_selfcal.py

Or to install into an existing Python environment (note that a Python version for which CASA is available is required) and run from a directory where pipeline-calibrated *_targets.ms files exist:

pip install auto-selfcal

cd </path/to/pipeline/calibrated/*_targets.ms/files>

auto_selfcal

Acknowledging auto_selfcal

Love auto_selfcal and want to cite it? Please use:

@software{auto_selfcal,
    author       = {John J. Tobin and Patrick Sheehan and Rui Xue and Ryan Loomis and Austen Fourkas and Samuel Fielder},
    title        = {jjtobin/auto\_selfcal: v2.1.0},
    month        = apr,
    year         = 2026,
    publisher    = {Zenodo},
    version      = {v2.1.0},
    doi          = {10.5281/zenodo.17871742},
    url          = {https://doi.org/10.5281/zenodo.17871742},
}

Acknowledgements:

Certain functions to convert from LSRK to channel, S/N estimates, and tclean wrapper have their origins from the ALMA DSHARP large program reduction scripts.

The functions to parse the cont.dat file and convert to channel ranges (used the routine from above) was adapted from a function written by Patrick Sheehan for the ALMA eDisk large program

The EB-alignment functionality is based off of scripts kindly donated by the exoALMA Large Program, described in exoALMA II: Data Calibration and Imaging Pipeline.

Metadata

Release files for auto-selfcal 2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for auto-selfcal 2.1
File Size Uploaded Provenance Actions
auto_selfcal-2.1.tar.gz 117.7 kB With provenance Details for auto_selfcal-2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for auto-selfcal 2.1
File Interpreter ABI Platform Actions
auto_selfcal-2.1-py3-none-any.whl Python 3 none any Details for auto_selfcal-2.1-py3-none-any.whl

Total release size: 241.1 kB

Release files / auto_selfcal-2.1.tar.gz

Download URL auto_selfcal-2.1.tar.gz
Size 117.7 kB
Tags Source
SHA-256 checksum
How to use checksums
f558701086206bdd71f588228ea3faea45adf4506b63663d9f32d49718b01886
BLAKE2b-256 checksum
How to use checksums
fa2e96ff7ec98ad880f1e8bf673d500658bd9d7a16a2cd0ad6829650186a60c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.

Transparency log

Release files / auto_selfcal-2.1-py3-none-any.whl

Download URL auto_selfcal-2.1-py3-none-any.whl
Size 123.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3407f6e382fa9876d950696e3ce86e13f0da49192989323327d2db45f9b7bd9e
BLAKE2b-256 checksum
How to use checksums
e0971e9dba7bd36208e507693263de120aeddd1e4d5bd5d7b95ff5923b8f7fb0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.

Transparency log

Security for auto-selfcal 2.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for auto_selfcal-2.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 8, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.1 This release

2 release files Full provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page