Skip to main content

Discrete Sky Operator (DiSkO) Synthesis Imaging

Build Status

Author: Tim Molteno tim@elec.ac.nz

Its so cool its POINTLESS. Image by using the telescope operator keeping track of the telescope null-space and range-space. DiSkO uses a discrete representation of the field of view (as a healpix grid, or unstructured mesh) in the sky space. This means we can image arbitratily wide fields of view (including the full sphere), as well as arbitrarily shaped fields (circles are preferred).

DiSkO can perform sparsity reduction by regularization and controls the volume of the sky solution. The result is an imaging algorithm that is sensitive to diffuse broad sources, and does not require restoration like CLEAN. Publications to appear :)

Howto

disko picks sensible defaults (issue #12): with no --mesh/--healpix it images on a healpix grid, and with no algorithm flag it uses Tikhonov regularization with --alpha 0.02. So the shortest command that images a measurement set is

disko --ms test_data/test.ms --nside 32 --HDF fov.h5

Write the field of view to HDF, then draw it with disko_draw (which also does the source overplotting, --show-sources):

disko_draw fov.h5 --show-sources --SVG draw.svg --PNG draw.png

Spelled out in full, that first command's defaults are

disko --ms test_data/test.ms --healpix --tikhonov --alpha 0.02 --nside 32 --HDF fov.h5

To load a data from a measurement set

disko --ms test_data/test.ms --nside 32 --PDF

Other solvers: --lasso (L1), --matrix-free with one of --lsqr, --lsmr or --fista, or --no-regularization to solve the visibilities directly (that unregularized solve is what you used to get by default, which is why the images were poor).

VLA imaging with DiSkO

Download the VLA 5GHZ continuum survey measurement set. AG733_A061209.xp1 from the NRAO site.

Calibrate and then split the measurement set, following the CASA tutorial [https://casaguides.nrao.edu/index.php/VLA_5_GHz_continuum_survey_of_Seyfert_galaxies]

disko --fov 0.01deg --ms NGC1194.split.ms --SVG --res 0.15arcsec --tikhonov

More challenging

This tutorial should generate a file with lots of diffuse radiation. [https://casaguides.nrao.edu/index.php/VLA_Continuum_Tutorial_3C391-CASA5.5.0]

wget http://casa.nrao.edu/Data/EVLA/3C391/3c391_ctm_mosaic_10s_spw0.ms.tgz
wget https://github.com/jaredcrossley/CASA-Guides-Script-Extractor/blob/master/extractCASAscript.py

python extractCASAscript.py 'https://casaguides.nrao.edu/index.php?title=VLA_Continuum_Tutorial_3C391-CASA5.5.0'

Then in CASA

execfile("VLAContinuumTutorial3C391-CASA5.5.0.py")

This should generate a suitable measurement set to image.

Releasing

Releases are cut with uv run invoke release: exhaustive tests on every supported Python, a version bump, publication to PyPI through CI, and then the downstream tools image and tart_cargo releases in the same chain. See RELEASE.md for the process, and the matching documents in tools and tart_cargo.

TODO

  • Add a --full-sphere option which fixes the sphere in celestial coordinates, and then points the phase center of an observation correctly. Requires a beam pattern to be specified (or at least a hemispherical beam). A beam is a sky vector mask. I.e., should fall to zero 'outside' the beam.
  • Deal with flagging, output residuals in a way that can be used to flag in the measurement set. This means some casa expression that changes the MS.

Metadata

Release files for disko 1.5.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 disko 1.5.1
File Size Uploaded Provenance Actions
disko-1.5.1.tar.gz 238.1 kB Without provenance Details for disko-1.5.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for disko 1.5.1
File Interpreter ABI Platform Actions
disko-1.5.1-py3-none-any.whl Python 3 none any Details for disko-1.5.1-py3-none-any.whl

Total release size: 384.6 kB

Release files / disko-1.5.1.tar.gz

Download URL disko-1.5.1.tar.gz
Size 238.1 kB
Tags Source
SHA-256 checksum
How to use checksums
20f63ffa855f4d0b949fa8ef495dd01610e5e9a1db3bc52824ab86f28d593be1
BLAKE2b-256 checksum
How to use checksums
171ae5b1c99707df42fd6e25bcdfa236ef5482d5ca164ed8cfc083160d6e6b5b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / disko-1.5.1-py3-none-any.whl

Download URL disko-1.5.1-py3-none-any.whl
Size 146.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
499646f7dc1e51eac2e3e70305643445b9e323f73af40e086cb23ceb116284bb
BLAKE2b-256 checksum
How to use checksums
425296f67667a352bfe9bc27627236a6c78f173206d8995cb14e9ac433943d26
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for disko 1.5.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.

No provenance found

None of the files in this release were uploaded with provenance metadata.

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

1.5.1 This release

2 release files No 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