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.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

auto_selfcal-2.1.tar.gz (117.7 kB view details)

Uploaded Source

Built Distribution

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

auto_selfcal-2.1-py3-none-any.whl (123.4 kB view details)

Uploaded Python 3

File details

Details for the file auto_selfcal-2.1.tar.gz.

File metadata

  • Download URL: auto_selfcal-2.1.tar.gz
  • Upload date:
  • Size: 117.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for auto_selfcal-2.1.tar.gz
Algorithm Hash digest
SHA256 f558701086206bdd71f588228ea3faea45adf4506b63663d9f32d49718b01886
MD5 dd7fc661df5921a017736a93d82f43a0
BLAKE2b-256 fa2e96ff7ec98ad880f1e8bf673d500658bd9d7a16a2cd0ad6829650186a60c9

See more details on using hashes here.

Provenance

The following attestation bundles were made for auto_selfcal-2.1.tar.gz:

Publisher: publish-to-pypi.yml on jjtobin/auto_selfcal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file auto_selfcal-2.1-py3-none-any.whl.

File metadata

  • Download URL: auto_selfcal-2.1-py3-none-any.whl
  • Upload date:
  • Size: 123.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for auto_selfcal-2.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3407f6e382fa9876d950696e3ce86e13f0da49192989323327d2db45f9b7bd9e
MD5 c2b827a5cd5d93dda8ca8e7dd6f3a216
BLAKE2b-256 e0971e9dba7bd36208e507693263de120aeddd1e4d5bd5d7b95ff5923b8f7fb0

See more details on using hashes here.

Provenance

The following attestation bundles were made for auto_selfcal-2.1-py3-none-any.whl:

Publisher: publish-to-pypi.yml on jjtobin/auto_selfcal

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

2.1 This release

2 files

2.0

2 files

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