This is a pre-alpha package. All applications are in various phases of prototyping.
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.
vidavis is available from PyPI.
- Python 3.11 or greater
- Optionally python-casacore or casatools for MSv2 conversion
pip install vidavis
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
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