Skip to main content

Radio astronomy visibility data visualization

Project description

This is a pre-alpha package. All applications are currently 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 MsRaster application creates raster plots of visibility data. See example below.

Installation

vidavis is available from PyPI.

Requirements

Install

  • pip install vidavis

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

To enable exporting plots to file 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.2.tar.gz (59.6 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.2-py3-none-any.whl (74.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: vidavis-0.0.2.tar.gz
  • Upload date:
  • Size: 59.6 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.2.tar.gz
Algorithm Hash digest
SHA256 c0b36de70b83ba16aac0c55d75209dbb7e75e2632ace153d30a68abca679c0ea
MD5 29640b88bbd1f618c6aea876da53e43a
BLAKE2b-256 0207403abed6a3466e3adfe9485ded4797762b1a34a659356ee43ae8b52e4f75

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: vidavis-0.0.2-py3-none-any.whl
  • Upload date:
  • Size: 74.8 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.2-py3-none-any.whl
Algorithm Hash digest
SHA256 63268814d0ae1c28e2757bae0baa0792e5ceb00fc750b218b1cbf377e41f40ff
MD5 55bc66f78d01d1b2771178afe79cb8c8
BLAKE2b-256 67046c82f22da9f5f515815dfb7252d64fbb75b86af54e68dc7f0486950fee18

See more details on using hashes here.

Provenance

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