Pollux documentation¶
DESC package to create weak lensing and large-scale structure simulations from N-body simulations for the Higher-Order Statistics Topical Team.
Authors: Cyrille Doux and Juan Mena-Fernández
Features¶
Construction of particle and halo lightcones with replicated boxes and random isometries (translations, rotations and flips), typically identical for groups of shells of width given by the box size, on the full sky or any footprint (optionally padded and apodized for harmonic transforms).
Three ways of building the shells from particles: from the snapshot of each shell, replicated over the shell (
SnapshotShellBuilder), by slicing the lightcone outputs of the simulation (LightconeShellBuilder), or by interpolating the particle trajectories between consecutive snapshots to where they cross the lightcone (SnapshotInterpShellBuilder).Lensing in the Born approximation (
BornLensingBuilder), including tomography from user-defined redshift distributions, with shear and tidal fields from spherical harmonics.Baryonification of the shells with BaryonForge (
BaryonifiedShellBuilder), with the matching correction of the matter power spectrum.Generation of tomographic galaxy catalogs using uniform sampling (
CatalogUniform) or clustered sampling via (linearly biased) sampling of the density field with Multinomial (CatalogClusteredMultinomial, fixed total number of galaxies) or Poisson (CatalogClusteredPoisson, fixed density) samplings, with an optional Gaussian smoothing of the density chosen per shell.Intrinsic alignments, reduced shear and observed shapes in the catalogs.
Catalog statistics (Cls with NaMaster, 2pt functions with TreeCorr, including those of the intrinsic alignments) and theory predictions with CCL.
Efficient parallel computation using the Parsl framework to distribute tasks over computing resources (
pollux.pipeline), with a record of the code and environment of each run.Use of DESC tools: CCL, healsparse and NaMaster.
Citing pollux¶
If you use pollux, please cite Mena-Fernández et al. (2026) for now:
@misc{MenaFernandez2026,
title={Optimization of Weak Lensing Lightcone Simulations for Higher-Order Statistics in the LSST era},
author={J. Mena-Fernández and C. Doux and J. Harnois-Déraps and K. Heitmann and C. Combet and P. Larsen and N. Frontiere and A. Bera and S. Samario-Nava and L. Castiblanco and C. Uhlemann and the LSST Dark Energy Science Collaboration},
year={2026},
eprint={2605.00821},
archivePrefix={arXiv},
primaryClass={astro-ph.CO},
url={https://arxiv.org/abs/2605.00821},
}
and the software by its DOI, 10.5281/zenodo.24586235 (all versions; version 0.2: 10.5281/zenodo.24586236):
@software{pollux,
title={pollux},
author={Doux, Cyrille and Mena-Fernández, Juan},
year={2026},
publisher={Zenodo},
doi={10.5281/zenodo.24586235},
url={https://doi.org/10.5281/zenodo.24586235},
}
Papers¶
Mena-Fernández et al. (2026): optimization of weak lensing lightcone simulations for higher-order statistics in LSST, using lightcones created from HACC simulations with pollux.
Bera et al. (2026): impact of baryonic feedback on two- and three-point correlation functions of galaxies and shear, from these same lightcones baryonified.
Contents¶
Getting started installs pollux and goes from a simulation to a catalog in a few lines. The next pages describe each step and its options, Running the pipeline runs them at scale, and Outputs reads the products.
User guide
Reference