Search arXivSearch

arXiv · 2111.08744

Magrathea-Pathfinder: A 3D adaptive-mesh code for geodesic ray tracing in $N$-body simulations

Abstract

We introduce Magrathea-Pathfinder, a relativistic ray-tracing framework that can reconstruct the past light cone of observers in cosmological simulations. The code directly computes the 3D trajectory of light rays through the null geodesic equations, with the weak-field limit as its only approximation. This approach offers high levels of versatility while removing the need for many of the standard ray-tracing approximations such as plane-parallel, Born, or multiple-lens. Moreover, the use of adaptive integration steps and interpolation strategies based on adaptive-mesh refinement (AMR) grids allows Magrathea-Pathfinder to accurately account for the non-linear regime of structure formation and fully take advantage of the small-scale gravitational clustering. To handle very large N-body simulations, the framework has been designed as a high-performance computing post-processing tool relying on a hybrid parallelization that combines MPI tasks with C++11 std::threads. In this paper, we describe how realistic cosmological observables can be computed from numerical simulation using ray-tracing techniques. We discuss in particular the production of simulated catalogues and sky maps that account for all the observational effects considering first-order metric perturbations (such as peculiar velocities, gravitational potential, integrated Sachs-Wolfe, time-delay, and gravitational lensing). We perform convergence tests of our gravitational lensing algorithms and conduct performance benchmarks of the null geodesic integration procedures. Magrathea-Pathfinder introduces sophisticated ray-tracing tools to make the link between the space of N-body simulations and light-cone observables. This should provide new ways of exploring existing cosmological probes and building new ones beyond standard assumptions in order to prepare for the next generation of large-scale structure surveys.

Explore related subjects

Keep this discovery

Explore connections, maps & timelines

BibTeXRIS

Michel-Andrès Breton, Vincent Reverdy. 2025-01-23. Magrathea-Pathfinder: A 3D adaptive-mesh code for geodesic ray tracing in $N$-body simulations. https://doi.org/10.1051/0004-6361%2F202142661%2010.1051%2F0004-6361%2F202142661

Cite the original work for its findings. Save a collection to share your selection of sources.

KEEP EXPLORING

Related papers

From quantum fluctuations to galaxy power spectrum multipoles

These notes trace large-scale structure from primordial curvature perturbations generated by inflationary quantum fluctuations to galaxy power-spectrum multipoles. Three core lectures develop the linear matter power spectrum, spherical and anisotropic collapse, galaxy bias, redshift-space distortions, the Kaiser model, and multipole estimators with Gaussian covariance. The extension develops nonlinear bias and the one-loop effective field theory model used in full-shape analyses. Derivations are explicit; appendices collect longer calculations and solutions. The core lectures assume undergraduate-level cosmology; the extension assumes familiarity with perturbation theory.

astro-ph.CO

A universal connection between lens density profiles and low-frequency wave optics in gravitational-wave lensing

We investigate the low-frequency behavior of the amplification factor in gravitational lensing and explore how it encodes information about the density profile of the lensing object. We derive the low-frequency expansion of the amplification factor under the Born approximation for a broad class of projected density profiles. For spherically symmetric profiles that decay faster than any power law at large distances, we derive a systematic expansion of the amplification factor in powers of frequency, with the logarithmic dependence appearing only in the leading term, and show that each expansion coefficient is determined by a finite set of moments of the density profile. We then extend the analysis to profiles with power-law tails and demonstrate that such profiles induce additional non-analytic frequency dependences, including fractional powers and logarithmic terms, which directly reflect the asymptotic behavior of the density distribution. Furthermore, we investigate the effects of non-sphericity and show that contributions from the quadrupole moment appear only as higher-order corrections relative to the spherically symmetric component in the low-frequency regime. Finally, we investigate the validity of the Born approximation in the low-frequency expansion. We derive a criterion for the maximum order of the low-frequency expansion up to which the Born approximation remains dominant over the post-Born corrections.

astro-ph.CO

Initial clustering of primordial black holes: A general formulation for arbitrary local non-Gaussianity

Initial spatial clustering of primordial black holes (PBHs) induced by local-type non-Gaussianity (LNG) can substantially modify cosmological constraints on PBH abundance. Several inflationary scenarios that enhance curvature perturbations at small scales relevant to PBH formation predict LNG that is not necessarily perturbative. Therefore, it is crucial to establish a theoretical framework capable of investigating the initial clustering induced by arbitrary LNG. Here, we present a general analytical formulation for the PBH two-point correlation function applicable to arbitrary LNGs in the alternative approach. Under the assumptions that PBHs form only at the large peaks of perturbations, and that large-scale modes weakly modulate the local variance of small-scale perturbations, we derive an analytic expression for the PBH bias parameter, directly connecting initial clustering to the primordial trispectrum in the collapsed limit. We demonstrate the versatility of our formula by computing the bias parameters in the ultra-slow-roll inflation, curvaton, and modulated reheating scenarios. We also formally generalize the framework to broad power spectra to account for correlations across different PBH mass scales. Because our formulation does not rely on weak or perturbative non-Gaussianity assumptions, our result provides a universal theoretical basis for evaluating initial clustering impact on PBH observables.

astro-ph.CO