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.4.tar.gz (60.3 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.4-py3-none-any.whl (75.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vidavis-0.0.4.tar.gz
  • Upload date:
  • Size: 60.3 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.4.tar.gz
Algorithm Hash digest
SHA256 1ecb2f26798e12f06e79a91432d471553cbf230b33ae9731e507d02903f473bc
MD5 a19c24b6e1e871ab15f6097070e78260
BLAKE2b-256 908c894852f70160d56d774532d9298a87765ff57986d528969c444b94ceb7d1

See more details on using hashes here.

Provenance

The following attestation bundles were made for vidavis-0.0.4.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.4-py3-none-any.whl.

File metadata

  • Download URL: vidavis-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 75.6 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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 c097b2f0437483b51443008a62f09ee4afdb8c5572fec049fb3eff5275c128a3
MD5 7c6fa4bf2ad09c5852a3e15761e7ba9b
BLAKE2b-256 28fc0c78414c2df9c3b3805d8d8b2749eb03980903d3d76d96a7196b0d4a5d92

See more details on using hashes here.

Provenance

The following attestation bundles were made for vidavis-0.0.4-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