Freedom251 › Physics Simulation Software
pyuvsim

What pyuvsim is
pyuvsim is a free Python package for simulating radio interferometers, emphasizing accuracy and extensibility for research. Its stated target is precision suitable for 21 cm cosmology. Simulations can use observation times, frequencies, array configurations, source positions and brightnesses, and direction-dependent primary beams. The package models polarized instrument responses, full-sky fields, exact antenna positions, diffuse emission, arbitrary spectra, and varied beam models across an array. UVData objects represent arrays and observations, while Source objects describe sources through the pyuvdata and pyradiosky ecosystem. Output can be written in pyuvdata-accessible formats such as uvfits, MIRIAD, and uvh5. MPI supports parallel runs intended for Linux clusters, though it is not enabled by default. Optional extras add HEALPix, CASA measurement-set writing, plotting, and lunar simulations. The project documents validation against analytic calculations and reference simulations, and installation through pip or GitHub.
Who it suits
It suits radio-interferometry researchers needing configurable simulations and high numerical precision. Linux-cluster users can use MPI for multi-CPU workloads.
What it does well
- Free BSD-3-Clause software
- Models polarized, full-sky instrument responses
- Supports multiple beam models
- Writes uvfits, MIRIAD, and uvh5
- Optional HEALPix, CASA, plotting, and lunar features
What to know first
- MPI is not enabled by default
- Casacore and lunarsky unsupported on Windows
- Time-domain sources remain listed as TODO
- Ionospheric scintillation remains listed as TODO
Verdict
pyuvsim provides a broad, research-focused simulation environment with detailed instrument and sky modeling. Its Windows limitations and optional MPI setup matter when planning a workflow.
Facts from pyuvsim's own pages
- Assessment tools
- No · github.com, 24 Sept 2026
- Audience
- The package is presented as a community simulation environment for radio interferometry research, designed to scale across many CPUs and support varied use cases. · pyuvsim.readthedocs.io, 9 Oct 2026
- Authoring tools
- Yes · github.com, 24 Sept 2026
- Beam models
- Primary beams can use UVBeam or AnalyticBeam objects, and multiple beam models can be assigned across an array. · pyuvsim.readthedocs.io, 9 Oct 2026
- Data export
- Yes · github.com, 24 Sept 2026
- Delivery mode
- desktop · github.com, 24 Sept 2026
- Distribution
- The project documents installation using pip or directly from its GitHub repository. · pyuvsim.readthedocs.io, 8 Oct 2026
- Free plan
- Yes · github.com, 24 Sept 2026
- Inputs
- Simulations use observation times, frequencies, array configuration, source positions and brightnesses, and direction-dependent primary beam responses. · pyuvsim.readthedocs.io, 9 Oct 2026
- Installation
- The package can be installed with pip, and simulator and optional features are enabled through install extras such as sim, all, healpix, casa, and moon. · pyuvsim.readthedocs.io, 9 Oct 2026
- Instrument modeling
- It supports fully polarized instrument responses, full-sky fields of view, exact antenna positions, and varied beam models across an array. · pyuvsim.readthedocs.io, 8 Oct 2026
- Integration
- pyuvsim represents array and observation configuration with UVData objects and sources with Source objects from the pyuvdata and pyradiosky ecosystem. · pyuvsim.readthedocs.io, 9 Oct 2026
- Intended science use
- Its primary goal is simulation accuracy at the precision needed for 21 cm cosmology science. · pyuvsim.readthedocs.io, 8 Oct 2026
- Lesson library
- No · github.com, 24 Sept 2026
- License
- GitHub identifies the public pyuvsim repository as BSD-3-Clause licensed. · github.com, 9 Oct 2026
- Maintainers
- The documentation lists the RASG Managers as maintainers and names contributors affiliated with Arizona State University, the University of Washington, UC Berkeley, and Brown University. · pyuvsim.readthedocs.io, 8 Oct 2026
- Optional capabilities
- Optional dependencies enable HEALPix catalogs or beams, CASA measurement set writing, plotting, and simulations of telescopes on the Moon. · pyuvsim.readthedocs.io, 8 Oct 2026
- Output formats
- Simulation output can be written in formats supported by pyuvdata, including uvfits, MIRIAD, and uvh5. · pyuvsim.readthedocs.io, 9 Oct 2026
- Parallel computing
- The simulator is intended to run on Linux clusters and supports MPI; the docs describe testing with Open MPI and MPICH on Linux and macOS, and MS-MPI on Windows. · pyuvsim.readthedocs.io, 9 Oct 2026
- Physical effects
- The documented capabilities include polarized instrument response, full-sky fields of view, diffuse emission, arbitrary spectra, and lunar observatories; time-domain sources and ionospheric scintillation are listed as TODO. · github.com, 9 Oct 2026
- Platform support
- The project says it tests on Linux, macOS, and Windows, but casacore and lunarsky functionality is not supported on Windows. · pyuvsim.readthedocs.io, 8 Oct 2026
- Purpose
- pyuvsim is a Python package for accurate, extensible radio interferometer simulations, with a focus on precision needed for 21 cm cosmology. · pyuvsim.readthedocs.io, 9 Oct 2026
- Related packages
- The documentation identifies pyuvdata, astropy, pyradiosky, and mpi4py among its dependencies, with mpi4py used to run simulations. · pyuvsim.readthedocs.io, 8 Oct 2026
- Support
- Users are directed to the GitHub issue log for questions, bug reports, and feature requests. · pyuvsim.readthedocs.io, 9 Oct 2026
Where pyuvsim stands on Freedom251
- Physics Simulation Software#24 of 89