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

Uploaded Python 3

File details

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

File metadata

  • Download URL: vidavis-0.0.3.tar.gz
  • Upload date:
  • Size: 60.2 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.3.tar.gz
Algorithm Hash digest
SHA256 d89e54f9da1ddb604049fe6bdef6c17a4adb63c38580d10467f2cefc10b9ba13
MD5 5f041750d951a5a70a4731a78ac39db8
BLAKE2b-256 92bc66ad7eac244da34cb3e93b7fe5b86f774b5f6e598af125aa34c6d532ae1f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: vidavis-0.0.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 e46e75f8e3934088899ee1515991adeb4bd8df2e21e2633b94e1c66e90e9ddb5
MD5 08019f6a060e0c28880a4eda1eed6f09
BLAKE2b-256 c601f79f17b2ee3f3a6cd44201c3bf0258a5f5dde8aeb9f80ff36d5685baad06

See more details on using hashes here.

Provenance

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