AstroVIPER (Visibility and Image Parallel Execution Reduction) is in development.
Create a virtual environment using any tool of your choice (venv, uv, mamba, conda etc.)
and run
pip install astroviper
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-casacoreThen install astroviper:
pip install astrovipergit 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-casacoredoes not work on macOS:This is only needed if you will be converting MSv2s to MSv4s or opening CASA images.conda install -c conda-forge python-casacore
- After editing any
.cpp/.hpp/CMakeLists.txtyou must rebuild for the change to take effect (the C++ is compiled at install time):pip install -e '.[all]' # or: pip install .
scikit-build-corecaches inbuild/{wheel_tag}/; if a build behaves oddly, deletebuild/and reinstall. The -e creates an editable Python installation.