Skip to content

casangi/vidavis

Repository files navigation

vidavis - VIsibility DAta VISualization

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 for Linux only:

  • pip install "xradio[python-casacore]"

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

  • conda install -c conda-forge python-casacore

Simple MsRaster Usage Example

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

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

About

VIsibility DAta VISualization

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 7

Languages