Welcome to Pyralysis’s documentation#
PYthon Radio Astronomy anaLYSis and Image Synthesis
Simulate, optimize, and image — with a Python toolkit built for modern interferometry.
Tip
First visit? Follow Installation, skim Context: Why Pyralysis? if you want the big picture, then try Quickstart Guide or the hands-on Repository Examples. Prefer not to install yet? Use Binder (launch in JupyterLab) — same environment as the Binder badge above; good for tutorials, not large production runs.
Note
Imaging vs reconstruction. Radio astronomers usually say imaging (or image synthesis / image formation). Pyralysis also says reconstruction and image optimization for the same task family — forming an image from visibilities. See Glossary.
See also
Elsewhere on the web PyPI releases · Source & issues (GitLab) · Repository README
Pyralysis is an open-source Python library for radio astronomy imaging, simulation, and optimization.
Note
These pages are built with Sphinx and sphinx-book-theme. Use the left sidebar to browse and the search box in the header (on wide screens). Code blocks support one-click copy (hover the copy icon).
Choose your path#
Pip with the SKA extra index, optional extras (CuPy, SLURM), conda, and Docker pointers.
Load data, simulate, and run a minimal imaging-style workflow with copy-paste examples.
Components vs pipelines, notebooks, and Binder — the hands-on view of flexibility.
Motivation, modularity, and architecture. For a quick flexible / composable / extensible map, see the GitLab README.
Answers to common setup and usage questions.
Auto-generated module and class reference for the public Python API.
Pyralysis provides:
Advanced simulation: radio interferometry with custom arrays and sky models
High performance: Dask-based parallel processing for scalable computation
Flexible optimization: modular objective functions and regularization
SKA-ready tooling: subarray simulation and phased-array style configurations
Dynamic workflows: array updates with baseline recalculation where applicable
Scientific Python stack: NumPy, Dask, Xarray, Astropy, and related ecosystems
Research-grade quality: tests, coverage, and documented APIs
📖 Full documentation is in the sections below.
Contents:#
Introduction
- Context: Why Pyralysis?
- The Radio Interferometry Inverse Problem
- Signs and Conventions
- Image Pixel Size Convention (
cellsize) - Direction Cosines Convention (l, m, n)
- UV Cell Size and Axis Mapping
- Nyquist Limits (Useful Rules of Thumb)
- FFT/IDFT Sign Convention
- Phase-Shift Convention (Grid and Visibilities)
- IDFT for Visibility to Image
- Hermitian Symmetry Convention
- Sky-Model Source Placement Factor
- Image Pixel Size Convention (
Getting Started
Core Capabilities
Advanced Optimization
- Optimization in Pyralysis
- Optimizers
- Line Searchers
- Step Size Seeders
- Compressed Sensing & Proximal Methods
- Introduction
- Mathematical Foundation of Compressed Sensing
- From Theory to Optimization
- Theoretical Guarantees
- Proximal Operators: The Key to Practical Implementation
- Proximal Optimization Algorithms
- FISTA (Fast Iterative Shrinkage-Thresholding Algorithm)
- SDMM (Simultaneous Direction Method of Multipliers)
- Regularizers with Proximal Operators
- Complete Example: Sparse Reconstruction
- Conclusion
- References
- See Also
- Regularization Methods
- Objective Function Framework
Data Management
Development & Support