Skip to content

Repository files navigation

AstroVIPER

AstroVIPER (Visibility and Image Parallel Execution Reduction) is in development.

Python 3.11 3.12 3.13 Linux Tests macOS Tests ipynb Tests Coverage

Version Status

Installation

Linux

Create a virtual environment using any tool of your choice (venv, uv, mamba, conda etc.) and run

pip install astroviper

Mac

On macOS, pip install python-casacore does not work. Install it via conda-forge first (this requires an active conda/mamba environment)

conda install -c conda-forge python-casacore

Then install astroviper:

pip install astroviper

Developer Setup

git clone git@github.com:casangi/astroviper.git
cd astroviper
pip install -e '.[all]'     # builds the C++ extensions; '[all]' adds test/docs/interactive deps
pre-commit install          # installs ruff + nbstripout git hooks
  • macOS: install casacore via conda first, because pip install python-casacore does not work on macOS:
    conda install -c conda-forge python-casacore
    This is only needed if you will be converting MSv2s to MSv4s or opening CASA images.
  • After editing any .cpp / .hpp / CMakeLists.txt you must rebuild for the change to take effect (the C++ is compiled at install time):
    pip install -e '.[all]'   # or: pip install .
    scikit-build-core caches in build/{wheel_tag}/; if a build behaves oddly, delete build/ and reinstall. The -e creates an editable Python installation.

About

Radio Interferometry Data Processing

Topics

Resources

Stars

Watchers

Forks

Releases

Packages

Used by

Contributors

Languages