Skip to main content

Radio astronomy visibility data visualization

Project description

This is a pre-alpha package. All applications are in various phases of prototyping.

Introduction

This package currently requires the visibility data to conform to the XRADIO MeasurementSet v4.0.0 schema, input as a Zarr file path which is read into an Xarray-based XRADIO ProcessingSet. Input MSv2 file paths will be automatically converted to MSv4 zarr files with default partitioning if the necessary packages are found (see Requirements).

The Bokeh plots are created with hvPlot and optionally shown in a Panel-based GUI.

The first application added to vidavis is MsRaster, which creates raster plots of visibility data. See example below.

Installation

vidavis is available from PyPI.

Requirements

Install

  • pip install vidavis

MSv2 Conversion

To enable conversion from MSv2 to MSv4 with python-casacore use (this only works for Linux):

  • pip install "xradio[python-casacore]"

On macOS it is required to pre-install python-casacore using:

  • conda install -c conda-forge python-casacore

Exporting Plots

To enable exporting plots to file without showing the plot, using preferred web driver:

Selenium with geckodriver and Firefox (to ensure compatible versions):

  • conda install -c conda-forge selenium firefox geckodriver

Selenium with ChromeDriver (Chrome), with the executable chromedriver in your PATH:

  • conda install -c conda-forge selenium python-chromedriver-binary

or:

  • pip install selenium chromedriver-binary

Simple MsRaster Usage Example

A simple example using the MsRaster application to create visibility raster plots:

>>> from vidavis.apps import MsRaster
>>> msr = MsRaster(ms=myms)
>>> msr.plot() # default time vs. baseline plot
>>> msr.show() # open plot in default browser tab

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

vidavis-0.0.5.tar.gz (59.8 kB view details)

Uploaded Source

Built Distribution

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

vidavis-0.0.5-py3-none-any.whl (73.0 kB view details)

Uploaded Python 3

File details

Details for the file vidavis-0.0.5.tar.gz.

File metadata

  • Download URL: vidavis-0.0.5.tar.gz
  • Upload date:
  • Size: 59.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for vidavis-0.0.5.tar.gz
Algorithm Hash digest
SHA256 11e3175bc1500a0e518cbc6b8f2ff9e2d779e46789306b57335d74d1f87cc174
MD5 1e68ee9d3ca3ef31f36d9a8fee1c21ff
BLAKE2b-256 5a8411c5332f85756e979f00e967681911381dd3cd6eca5fd3dd6f604a123993

See more details on using hashes here.

Provenance

The following attestation bundles were made for vidavis-0.0.5.tar.gz:

Publisher: publish.yml on casangi/vidavis

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

File details

Details for the file vidavis-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: vidavis-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 73.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for vidavis-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 6f0a82302b05ca289130b071c7f0d571f5167ad0a612544897a4c728dffb230e
MD5 0edd70770b14c5d04af665f5edc62c41
BLAKE2b-256 fd1883f679a63f9b8c26142661b5f4ecd6e23d2bca3d3f8cb629f8eb0e6b1a7f

See more details on using hashes here.

Provenance

The following attestation bundles were made for vidavis-0.0.5-py3-none-any.whl:

Publisher: publish.yml on casangi/vidavis

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

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