CAESAR
A Python package for generating and analyzing galaxy and halo catalogs from cosmological simulation snapshots.

What it is
CAESAR is a specialized Python package and yt extension designed for astrophysicists and researchers working with cosmological simulation data. It processes a single simulation snapshot to produce a compact, portable HDF5 catalog containing detailed properties of galaxies and halos. This catalog can be analyzed without requiring access to the original, often massive, simulation binary files.
The tool identifies halos, computes their physical properties, and within each halo, uses a 6-D friends-of-friends algorithm to identify galaxies. It then calculates various galaxy properties, optionally generates photometry including line-of-sight extinction, and creates particle lists for each object. The final output is a standalone HDF5 file that is typically less than 1% the size of the original snapshot.
CAESAR is built for performance, featuring OpenMP parallelization with cython-parallel and joblib for decent scaling across multiple cores. However, catalog generation has substantial memory requirements, scaling with the number of particles in the simulation. It supports several major simulation codes and formats, including GADGET, GIZMO, TIPSY, ENZO, ART, and RAMSES, and has been tested on outputs from Mufasa, Simba, Illustris/TNG, and EAGLE.
The resulting catalogs are designed for easy exploration and analysis. All meaningful quantities stored within them have units attached, leveraging yt's unit system to reduce ambiguity. This makes CAESAR an invaluable tool for researchers needing to extract, analyze, and share data from large-scale cosmological simulations efficiently.
This description was generated by AI from the site's public content and may contain errors.
What you can do there
- Generate galaxy and halo catalogs from simulation snapshots
- Compute physical properties for identified halos and galaxies
- Generate FSPS photometry and spectra for galaxies
- Create particle ID lists for each galaxy and halo
- Link galaxies and halos across multiple snapshots for progenitor/descendant analysis
Who it's for
Astrophysicists and researchers analyzing outputs from cosmological simulations
Frequently asked questions about caesar.readthedocs.io
›What simulation codes does CAESAR support?
CAESAR supports GADGET, GIZMO, TIPSY, ENZO, ART, and RAMSES formats. It has been tested on snapshots from Mufasa, Simba, Illustris/TNG, and EAGLE.
›How does CAESAR identify galaxies within halos?
It uses a 6-D friends-of-friends algorithm to identify galaxies within each identified halo from the cosmological simulation snapshot.
›What are the memory requirements for running CAESAR?
Catalog generation is memory intensive, scaling with particle count. For example, a run with two billion particles requires a machine with approximately 512 GB of RAM.
›What is the output format of a CAESAR catalog?
The output is a portable and compact HDF5 file containing galaxy and halo properties, particle ID lists, and other analyzed data.
›Does CAESAR provide units for the calculated quantities?
Yes, all meaningful quantities in the catalog have units attached, leveraging the yt project's unit system to ensure clarity and reduce ambiguity.
›Can I compute photometry for galaxies with CAESAR?
Yes, CAESAR offers optional functionality to generate FSPS photometry and spectra for galaxies, including line-of-sight extinction calculations.
›How is CAESAR parallelized?
It is OpenMP-parallelized using cython-parallel and joblib, allowing it to scale its performance across multiple user-specified cores.
