SOAP: A Python Package for Calculating the Properties of Galaxies and Halos Formed in Cosmological Simulations
arXiv:2507.22669 · doi:10.21105/joss.08252
Abstract
Modern large scale cosmological hydrodynamic simulations require robust tools capable of analysing their data outputs in a parallel and efficient manner. We introduce SOAP (Spherical Overdensity and Aperture Processor), a Python package designed to compute halo and galaxy properties from SWIFT simulations after being post-processed with a subhalo finder. SOAP takes a subhalo catalogue as input and calculates a wide array of properties for each object. SOAP offers parallel processing capabilities via mpi4py for efficient handling of large datasets, and allows for consistent property calculation across multiple halo finders. SOAP supports various halo definitions, including spherical overdensities and fixed physical apertures, providing flexibility for diverse observational comparisons. The package is compatible with both dark matter-only and full hydrodynamic simulations, producing HDF5 catalogues that are integrated with the swiftsimio package for seamless unit handling.
Published in JOSS
References in corpus (12)
- Array Programming with NumPy
- The cosmological simulation code GADGET-2
- The EAGLE project: Simulating the evolution and assembly of galaxies and their environments
- Populating a cluster of galaxies - I. Results at z=0
- The Rockstar Phase-Space Temporal Halo Finder and the Velocity Offsets of Cluster Cores
- The FLAMINGO project: cosmological hydrodynamical simulations for large-scale structure and galaxy cluster surveys
- HBT+: an improved code for finding subhalos and building merger trees in cosmological simulations
- SWIFT: A modern highly-parallel gravity and smoothed particle hydrodynamics solver for astrophysical and cosmological applications
- Hunting for Galaxies and Halos in simulations with VELOCIraptor
- Tangos: the agile numerical galaxy organization system
- unyt: Handle, manipulate, and convert data with units in Python
- Assessing subhalo finders in cosmological hydrodynamical simulations
Cited by in corpus (13)
- Modelling the evolution and influence of dust in cosmological simulations that include the cold phase of the interstellar medium
- Cosmological feedback from a halo assembly perspective
- COLIBRE: calibrating subgrid feedback in cosmological simulations that include a cold gas phase
- SWIFTGalaxy: a Python package to work with particle groups from SWIFT simulations
- Kennicutt-Schmidt relation of galaxies over 13 billion years in the COLIBRE hydrodynamical simulations
- The FLAMINGO simulations data release
- Dynamical disequilibrium in dwarf galaxies: rethinking gas dynamics, rotation curves, and dark matter inference
- Gravitational potential drives the concentration dependence of the stellar mass-halo mass relation
- Bound or blown: the fate of hot gas in galaxy groups
- Three-point intrinsic alignments of galaxies and haloes in the FLAMINGO simulations
- The tidal evolution of satellite galaxies in cosmological simulations: insights from COLIBRE
- Ray-traced weak lensing convergence in screened modified gravity theories
- The Manticore Project II: Bayesian digital twins of cosmic structure across the SDSS and BOSS volumes