WorksPhysics and Astronomy
Baryonification V: Thermal Sunyaev-Zel'dovich maps from dark-matter-only lightcones
Abstract
Baryonic feedback is a major theoretical uncertainty for Stage-IV weak lensing (WL) surveys. The thermal Sunyaev-Zel'dovich (tSZ) effect traces the hot gas redistributed by feedback, so combining it with WL can calibrate feedback and improve cosmological constraints. Doing so with simulation-based inference requires correlated lensing and Compton- maps across many cosmologies and feedback scenarios. We present two methods to generate Compton- maps from dark-matter-only -body light cones using the component-wise baryonification (BFC) model, which produces separate gas and stellar fields and computes the gas pressure from hydrostatic equilibrium. The two methods, painting pressure profiles onto halos or redistributing the signal along the baryonified gas, agree to within a few per cent. We calibrate the model to the fiducial and strongest AGN feedback FLAMINGO simulations by jointly fitting gas mass fractions and thermal pressure profiles, measuring the non-thermal pressure from the simulated gas velocities rather than treating it as a free parameter. The predicted Compton- profiles match FLAMINGO within halo-to-halo scatter, and when painted onto the FLAMINGO halos we reproduce the tSZ power spectrum of both feedback models to for . Applied to a CosmoGridV1-like -body simulation, our maps agree with FLAMINGO within for ; the remaining differences come from the few hundred most massive clusters, and removing them from both halo catalogs brings the two into agreement. Our method thus enables accurate and efficient tSZ forward models from -body simulation suites such as CosmoGridV1, an important step towards joint WL and tSZ simulation-based inference for Euclid, LSST, and the Simons Observatory.
Prepared for submission to JCAP
Introduction
Energetic feedback from active galactic nuclei (AGN) and supernovae redistributes gas within and around halos and suppresses the matter power spectrum on non-linear scales [1, 2, 3, 4]. Since these scales carry much of the lensing signal, the strength of baryonic feedback is one of the leading theoretical uncertainties [5, 6] for Stage-IV weak-lensing (WL) surveys such as Euclid1, the Rubin Observatory Legacy Survey of Space and Time (LSST)2, and the Roman Space Telescope3. Observables that trace the baryons directly, in particular the hot, ionized gas, probe this redistribution and can therefore constrain the feedback that WL analyses would otherwise have to marginalize over.
The thermal Sunyaev-Zel’dovich (tSZ) effect is especially well suited to constrain feedback. It arises from inverse Compton scattering of Cosmic Microwave Background photons off hot electrons, and its amplitude, the Compton- parameter, is the line-of-sight integral of the thermal electron pressure . The signal therefore depends both on where the gas is located and on how much thermal energy has been injected by feedback. Compton- maps have been produced by Planck, the Atacama Cosmology Telescope (ACT), and the South Pole Telescope (SPT), with deeper maps expected from the Simons Observatory (SO), and the angular power spectrum has been measured over a wide range of scales [7, 8, 9, 10]. Its amplitude scales steeply with the matter fluctuations, [11], while its shape at traces the same feedback that suppresses the matter power spectrum [12]. Hydrodynamical simulations generally overpredict the measured unless a low- cosmology is adopted [13, 14, 15], illustrating how closely cosmology and feedback are intertwined in this observable. Moreover, since the integrated Compton- signal of a halo scales roughly as , at is dominated by a few massive, low-redshift clusters, making the field strongly non-Gaussian and subject to large sample variance. Some analyses therefore treat the brightest clusters separately [16].
Simulation-based inference (SBI), which learns the likelihood from forward-simulated maps [17, 18, 19], instead accounts for this non-Gaussianity directly and can exploit map-level and higher-order statistics. SBI also provides a natural framework for combining probes. Combining the tSZ effect with WL can calibrate feedback while tightening cosmological constraints [20, 21, 22, 23, 24, 25]: the two probes respond differently to and feedback, and overlap only partially in the halos they are most sensitive to [26]. A joint SBI analysis of tSZ, WL, and their cross-correlations with upcoming data from SO and Stage-IV lensing surveys therefore requires thousands of mocks of all probes, generated consistently from the same underlying large-scale structure while varying both cosmology and feedback.
Cosmological hydrodynamical simulations [4, 27, 28, 29, 30, 31] provide such correlated predictions, but their cost restricts them to one or a few cosmologies and limited volumes, far from the simulations of suites such as CosmoGridV1 [32]. Moreover, their subgrid models, although calibrated to similar data, still disagree on the matter power spectrum suppression at the tens-of-percent level [e.g. [3, 33]], so no single simulation can serve as ground truth, and cosmology and feedback must be varied simultaneously.
Baryonification (BFC), first introduced in Ref. [34], provides an efficient alternative to hydrodynamical simulations. BFC models displace particles in a dark-matter-only (DMO) -body simulation according to physically motivated parametric gas, stellar, and dark matter density profiles, with several variants that share this principle but differ in their profiles and parametrisation [35, 36, 37, 38, 39]. Because BFC only post-processes a DMO simulation, it adds little to the cost of the -body run and can be used with existing simulation suites. The model parameters control the radial shapes of the gas and matter profiles, which in turn set physically meaningful quantities such as the halo gas fraction. This allows for retuning the model to different feedback scenarios and to sample its parameters alongside the cosmological parameters, rather than fixing them to a single subgrid model. BFC reproduces the suppression of the matter power spectrum found in a wide variety of hydrodynamical simulations to within a 1–2% [39, 40, 41] and has been applied in various combinations to cosmological and astrophysical inference using WL, X-ray gas fractions, and kinetic SZ data [42, 43, 44, 45, 46, 47].
While standard BFC relies on snapshots, large simulation suites usually keep only projected lightcone shells. BFC has therefore been modified to act directly on these shells [17, 38], and in this form it has been used to baryonify entire simulation suites designed for SBI, such as CosmoGridV1 [17, 32]. However, these shell-based implementations rely on earlier or different BFC models that displace the total matter and do not provide separate gas and stellar fields. In these implementations, the gas enters only through the analytic profiles used to compute the displacement.
Assuming hydrostatic equilibrium (HSE), the gas pressure and temperature follow directly from BFC, because the gas profile of each halo is linked to its total mass profile. Ref. [48] combined this approach with the baryonic correction model (BCM) of Ref. [36] and fitted it to the pressure power spectra of the BAHAMAS simulations [14, 29], recovering their tSZ and WL power spectra to within and , respectively. Ref. [38] applied BFC at the map level using BaryonForge, which baryonifies lightcone shells and paints pressure profiles onto halos, enabling efficient modeling of higher-order correlations in the WL and tSZ fields. Both BaryonForge and the BCM of Ref. [36] build on earlier versions of the BFC model [34, 35]. A related approach, baryon pasting, assigns gas directly to the halos or particles of an -body simulation using analytic HSE models, where the gas density and pressure follow a polytropic equation of state [49]. Without a separate gas field, however, shell-based methods can assign the pressure only as spherically symmetric profiles at halo positions, rather than following the displaced gas.
Using the tSZ effect in SBI requires Compton- maps that are fast to generate for entire simulation suites and validated against hydrodynamical simulations. Existing BFC-based tSZ maps have not been validated against a modern hydrodynamical suite at the level of both Compton- profiles and for different feedback strengths, the BFC parameters have been calibrated to mass fractions, mass-ratio profiles, or power spectra rather than to pressure profiles, and the non-thermal pressure is at least partly fixed to generic prescriptions. In this work, we address these points using the component-wise BFC model of Ref. [39] (hereafter S25), which splits each -body particle into a dark-matter and a baryon component and displaces them separately, yielding individual dark-matter, gas, and stellar density fields together with a pressure field from HSE. To obtain accurate tSZ predictions, we calibrate the model to the fiducial (L1_m9) and strongest AGN feedback () FLAMINGO simulations [4, 50] by jointly fitting the halo gas mass-fraction profiles and the pressure profiles. Additionally, we measure the non-thermal pressure from gas velocities in the FLAMINGO simulations rather than treating it as a free parameter. We then adapt the existing shell-BFC method [17, 38] by implementing the new S25 model, with a full description and validation presented in a companion paper (Schneider, Bucko, Kovač et al. in prep.). We build Compton- maps with two methods: painting spherically symmetric pressure profiles at halo positions, and a gas-weighted method that weights the pressure profile using the baryonified gas maps from shell-BFC. The two methods yield consistent power spectra. We compare our maps to FLAMINGO at the level of both Compton- profiles and power spectra, and show that we reproduce their results.
This paper is structured as follows. Sec. 2 summarizes the tSZ effect, its halo-model power spectrum, and the BFC model; Sec. 3 describes the FLAMINGO simulations used for comparison and how the BFC model is calibrated to them; Sec. 4 presents the framework used to generate our simulations and how they are baryonified; Sec. 5 presents the two tSZ map-making methods; Sec. 6 describes our pipeline validation; Sec. 7 compares our generated tSZ maps against the FLAMINGO simulations; and Sec. 8 discusses the application to the CosmoGridV1 suite and concludes.
Modeling the tSZ signal
In this section, we will first review the thermal Sunyaev-Zel’dovich (tSZ) effect [51], in particular the modeling of the Compton- signal and the halo-model calculation of its angular power spectrum in § 2.1 and § 2.2. Both take the thermal electron pressure profile of a halo, as a function of halo mass and redshift, as their central input. We then summarize the BFC model in § 2.3, using the thermal electron pressure profile from the BFC model of S25, and we summarize the components relevant to the tSZ signal, especially the electron pressure profile.
Thermal Sunyaev-Zel'dovich effect
The thermal Sunyaev-Zel’dovich (tSZ) effect is a secondary cosmic microwave background (CMB) anisotropy caused by the inverse Compton scattering of CMB photons off hot, free electrons primarily located in the intracluster medium (ICM) of galaxy clusters. Because the tSZ spectral modification follows a known, universal frequency dependence, multi-frequency observations allow us to isolate this component and extract the line-of-sight integrated thermal electron pressure, parameterized directly by the dimensionless Compton- signal as a function of angular position from the center of the cluster :
where is the Thomson cross-section, the electron rest-mass energy, the thermal electron pressure, and the angular diameter distance at redshift . Since traces the integrated thermal electron pressure of the gas, which baryonic feedback processes such as AGN heating and gas expulsion strongly shape, the tSZ effect is a sensitive probe of both the distribution of hot gas around halos and feedback strength.
In this work, we obtain directly from the BFC model described in § 2.3, which provides the thermal electron pressure profile of each halo as a function of mass and redshift. To avoid double-counting gas between adjacent shells, we set the line-of-sight integration range in Eq. (1) to the shell thickness .
tSZ power spectrum
While the spatial Compton- map traces the line-of-sight integrated thermal pressure, the angular auto-power spectrum efficiently captures its statistical properties, . Measuring provides a dual probe of cosmological parameters and baryonic astrophysics. Since the Compton- signal is dominated by massive clusters, its overall normalization is strongly sensitive to [11], while its small-scale shape () traces the gas pressure profile and hence baryonic feedback. Compton- maps are built from multi-frequency CMB data (e.g., Planck, ACT, SPT) using component separation methods [52], which make use of the distinctive tSZ spectrum: a decrement below GHz and an increment above it. is then measured from these maps with pseudo- estimators that correct for masking, beam smoothing, and partial sky coverage.
Since the tSZ signal is contained almost completely by gas bound in dark matter halos, can be predicted well through the halo model [53, 54, 55]. Within the halo model, the power spectrum of two fields and can be described as the sum of a one-halo term, from the correlations within the halo, and a two-halo term, from correlations between surrounding halos:
with
where we have defined the bias-weighted profile integral
and analogously for . is the halo mass function, the linear halo bias, the linear matter power spectrum, and and the Fourier-space profiles of and for a halo with mass . For the tSZ auto-power spectrum, , the Fourier transform of the isotropic electron pressure profile,
The angular power spectrum is obtained from the standard power spectrum via the Limber-approximated projection
where is the comoving distance and the Compton- radial kernel is
We estimate the theoretical uncertainty of the halo-model prediction from the covariance of , the sum of a Gaussian and a connected non-Gaussian term [11, 56],
with being the sky fraction and the one-halo term of the trispectrum. Since is dominated by rare, massive clusters [11] we keep only the one-halo term of the trispectrum,
The theoretical uncertainty on is the square root of the diagonal of Eq. (2.9),
where is the second term of Eq. (9) and as we assume a full-sky map.
Baryonification
From a dark-matter-only input, the BFC model of S25 predicts the dark-matter, gas, and stellar density fields of each halo, together with its thermal pressure profile. In the following, we outline the method (§ 2.3.1) and then give the gas density and pressure profiles that source the tSZ signal (§ 2.3.2). For the dark-matter and stellar profiles and the complete parameter set, we refer the reader to S25.
Overview of the Baryonification method
The BFC model modifies gravity-only -body simulations so that the matter distribution in and around haloes resembles that of a hydrodynamical simulation, without explicitly following gas physics. Each halo is described by spherically symmetric density profiles for the initial gravity-only and final baryonified state. The latter accounts for gas expelled by AGN feedback, gas that cooled to form galaxies, and the dark-matter back-reaction due to changes in the gravitational potential. The BFC parameters control all final-state profiles. Around each halo, we then move particles radially so their distribution changes from the former gravity-only profile to the baryonified profile described by . Throughout this paper, we define the halo mass, , as the mass enclosed within a radius centered on the group or cluster where the mean density equals 200 times the critical density of the Universe, unless stated otherwise.
Following the component-wise displacement from S25, each particle in the gravity-only output is first replaced by a dark matter and baryon particle, which share the same initial position but will be displaced differently. The masses are renormalized to match the cosmic dark matter and baryon fractions. The radial displacement for each host halo center is then defined by
and thus depends on the initial radius of the particle, the halo mass , the halo concentration , and the BFC parameters . The functions are the inverse cumulative mass profiles of the initial gravity-only and final baryonified states,
where is the distance to the halo center, and are the individual initial and final density profiles described in the next § 2.3.2.
Density Profiles
The initial density profiles of dark matter and baryons share the same functional form and differ only by their cosmic fraction. The profile combines a one-halo term, described by a truncated NFW profile [57, 58, 59], and a two-halo contribution representing the large-scale environment.
where the cosmic dark matter and baryon fractions are defined by and . The final state profiles of the gas and stellar components are further divided into and , where hga, iga, cga, and sga represent the diluted hot gas, the central cold gas (i.e., ISM), central galaxies, and satellite galaxies, respectively.
Since the tSZ signal is primarily sensitive to the hot ionized gas, we focus on this component below. In the BFC model, the hot gas is modeled as
where and . The core radius is defined as , the truncation radius as with , with , , and being the peak height of the halo with . , and regulate the inner and outer parts of the hot gas profile, while the mass-dependent slope of the profile is defined through
The parameters and control the pivot mass and mass dependence of the gas profile. Lower-mass halos generally have flatter gas density profiles (lower ) because AGN-driven gas expulsion is stronger.
The hot gas fraction is determined from the cosmic baryon fraction after subtracting the stellar and cold gas contributions,
For a detailed description of the dark matter, stellar, and cold gas parametrization, we refer the reader to Ref. [39].
Pressure Profile
Assuming that galaxy clusters and groups are in HSE, we can obtain the total pressure profile through the thermal (hot) gas density profile and the enclosed total mass profile
HSE holds only for spherically symmetric, virialized, stable halos that are not undergoing mergers or residing in turbulent regions, and it is less reliable for low-mass halos (see, e.g., Ref. [60, 61]). Furthermore, non-thermal pressure from effects such as bulk motions and turbulence due to gas accretion or mergers on the outskirts contributes to the total pressure. This becomes particularly pronounced at large halo radii [62, 63, 64]. We therefore define the total pressure as the sum of thermal and non-thermal components: . Since the tSZ effect arises exclusively from thermal electron pressure, we must subtract this non-thermal contribution from Eq. (18) to isolate the thermal contribution. Following the work of Ref. [62], the fraction of non-thermal to total pressure can be modeled as
with defining the slope of the non-thermal pressure and being the redshift dependent amplitude, with being the amplitude at redshift . is an increasing or decreasing function of redshift given by:
with and a free parameter regulating the evolution rate. While Ref. [62] originally calibrated , , and against a fixed set of hydrodynamical simulations (values that were also adopted in S25), the amount of non-thermal pressure support in halos is expected to depend on the underlying feedback physics, since stronger (or more recent) energy injection alters the dynamical state of the gas. We therefore do not adopt these values as universal, but instead re-calibrate , , and separately for each feedback model considered in this work, such that the resulting thermal pressure profiles agree with the non-thermal pressure fraction measured directly in the corresponding FLAMINGO simulations [4] (see § 3.1); the resulting values of , , and are given in Table 1. Appendix § 12 describes this calibration procedure in detail. We note that Eq. (19) can become larger than one, i.e., the thermal pressure negative, in the far outskirts of the halo, well beyond , where the non-thermal correction formally exceeds the total pressure; in this regime we set , consistent with the expectation that thermal pressure support vanishes before non-thermal support does.
| Parameter | Description | L1_m9 | |
| Fitted to the FLAMINGO gas mass-fraction and pressure profiles | |||
| Core radius of the gas profile relative to (Eq. (15)) | 0.276 | 0.351 | |
| Pivot mass for the mass-dependent slope of the gas profile (Eq. (15) & Eq. (16)) | 13.153 | 13.660 | |
| Transition steepness of mass-dependent gas parameter (Eq. (15) & Eq. (16)) | 0.899 | 0.922 | |
| Characterizes the transition from the inner to the outer part of the gas profile (Eq. (15)) | 4.574 | 4.830 | |
| Total stellar fraction within a halo (Eq. (21) in [39]) | 0.066 | 0.073 | |
| Fraction of central galaxies with respect to the total stellar fraction (Eq. (21) in [39]) | 0.215 | 0.226 | |
| Stellar fraction amplitude (Eq. (21) in [39]) | 0.026 | 0.028 | |
| Cold gas fraction (Eq. 2.23 in [39]) | 0.122 | 0.107 | |
| Fixed: measured from the FLAMINGO gas velocities | |||
| Non-thermal pressure amplitude at (Eq. (19)) | 0.135 | 0.107 | |
| Slope of the non-thermal pressure (see Eq. (19)) | 0.80 | 0.54 | |
| Redshift evolution for the non-thermal pressure amplitude (see Eq. (20)) | 1.575 | 0.938 |
Table 1. Summary of the BFC model parameters, with a brief description, and the best-fit parameters for the fiducial L1_m9 and strongest feedback FLAMINGO simulations (§ 3.2) at redshift .
Finally, by assuming a fully ionized medium with primordial abundances, the electron pressure can then be estimated with
where is the hydrogen mass fraction from primordial abundances (see e.g. [65]). All BFC model parameters, including their values, are shown in Table 1.
For all halo model calculations, we use PyCCL [66] together with our implementation of the BFC profiles.
Hydrodynamical Simulations
Our comparison is based on the FLAMINGO simulation suite, which we briefly describe below, with emphasis on the lightcone shell output that we use for our comparisons.
The FLAMINGO simulations
The FLAMINGO suite (Ref. [4, 50, 67]) consists of more than 20 cosmological hydrodynamical simulations run with the SWIFT code [68], covering two main box sizes (1 Gpc and 2.8 Gpc) and three mass resolutions (gas particle masses of , , and ). The simulations explore multiple astrophysical feedback models and different cosmologies to robustly test baryonic effects on large-scale structure. In this work, we use four simulations from the FLAMINGO suite: the fiducial DMO run (L1_m9 DMO), the fiducial (L1_m9) run, the strongest-feedback () hydrodynamical run, and the fiducial run in the larger 2.8 Gpc box (L2p8_m9), which we use to estimate the sample variance of the tSZ power spectrum in a 1 Gpc volume. We adopt the L1_m9 resolution for the fiducial case because all of the FLAMINGO feedback-strength variations, including , were run only at this resolution. The halos were identified using HBT-HERONS [69], which builds on friends-of-friends (FoF) groups [70] and tracks their bound substructures through time. The resulting catalogues were analyzed with SOAP [71].
The hydrodynamical simulations feature dark matter and baryonic particles and neutrino particles, with , , a comoving gravitational softening length of , and a physical softening length of with a comoving box of side length . The DMO simulation uses dark matter particles with mass , while all other parameters remain the same. L2p8_m9 has the same resolution but dark matter and baryon particles and neutrino particles in a box of side length . All simulations are run at the D3A fiducial cosmology (Table 2), which is the same cosmology adopted for our CosmoGridV1-like dark-matter-only simulation (§ 4.1).
All simulations incorporate advanced subgrid models for baryonic physics, including stellar and AGN feedback. The L1_m9 model is calibrated to match observed gas mass fractions in low-redshift clusters and the galaxy stellar mass function at (see Ref. [50]), while the simulation with the strongest feedback is calibrated to the same low-redshift galaxy stellar mass function but with gas fractions lower by as compared to the fiducial run.
For our comparisons, we primarily use the publicly available FLAMINGO lightcone shell maps rather than the full particle snapshots, since these directly match the shell-based output of our pipeline (§ 5). FLAMINGO provides these shells as HEALPix maps at two resolutions, and ; throughout this work we use the maps for consistency with the resolution of our own simulated maps.
Calibrating BFC to FLAMINGO
To test the model’s self-consistency, we fit the 3D gas mass-fraction and thermal pressure profiles and then use them to predict the Compton- profiles and the tSZ power spectrum. Since the non-thermal pressure and the hot gas density profile affect the thermal pressure similarly, we measure the non-thermal pressure through the velocity dispersion (Ref. [63]) from the hydrodynamical simulations directly instead of letting it free. Because a simultaneous fit across mass bins with the parametric form of Ref. [62] is not possible, we fix the parameters to the most relevant mass bin (highest mass with enough halos across multiple redshifts, –). After fixing the non-thermal pressure parameters, we fit the gas mass-fraction profiles together with the 3D thermal pressure profiles of each feedback model with the BFC model4 to get the best-fit parameters for the BFC model. We find that the resulting parameter constraints are considerably tighter than those of S25, owing to the additional constraining power of the pressure profiles around and beyond , while remaining fully consistent with the S25 posteriors. Likewise, the corresponding matter power spectrum suppression lies within the uncertainty band of S25. This step is necessary as the tSZ power spectrum is very sensitive to all scales of the electron pressure profile. In contrast, the mass-fraction profiles are mainly sensitive to the central part, and the error bars increase strongly at larger radii (see Figure 6 in S25), while the error bars for the pressure profile remain tighter at these larger radii (see Figure 12 in S25). All parameters are listed in Table 1. For the stellar parameters, which have very little effect on the pressure profile, we adopt the best-fit parameters from S25.
Figure 6. Same as Figure 5, but painted onto the HBT-HERONS halos of our CosmoGridV1-like simulation.
Figure 12. Same as Figure 5, but painted onto the AHF halos of the CosmoGridV1-like simulation and without the L2p8_m9 line. The dashed line is the halo model with the one-halo term summed over the AHF catalog and the Bocquet20 two-halo term.
Baryonified -body simulations
Validating our pipeline and testing it against the FLAMINGO simulations requires a DMO -body simulation with the same underlying cosmology, which serves as the input for baryonification and for constructing Compton- maps. We use a dedicated PKDGRAV3 run, built with the CosmoGridV1 pipeline using the same cosmology as the fiducial FLAMINGO simulations (D3A; see Tab. 2), and HBT-HERONS [69] to identify halos in our simulation. Since we use this simulation also for internal consistency tests of the pipeline, comparing snapshot- and shell-based BFC (§ 6), we need it both as three-dimensional snapshots and as projected lightcone shells.
CosmoGridV1-like simulation
The CosmoGridV1 suite [32] is a large set of DMO -body simulations (with and ) designed for map-level cosmological inference. It combines a grid of cosmologies sampled across the CDM parameter space (, , , , , sampled on a Sobol sequence) with multiple random phase realizations at fixed cosmology, each evolved with PKDGRAV3 [72], which also identifies halos on the fly with a FoF algorithm [70], and post-processed into past-lightcone shells suitable for producing full-sky or partial-sky observable maps (e.g. weak-lensing convergence). This combination of broad cosmology coverage and realization statistics, with a total of simulations, makes CosmoGridV1 well suited for SBI, as shown for WL and galaxy clustering in Ref. [17, 19]. In future work, we plan to use the full suite to generate large numbers of mock tSZ maps spanning the CosmoGridV1 cosmology grid.
Before that production stage, however, we first need to validate our baryonification and map-making pipeline against a hydrodynamical simulation. None of the CosmoGridV1 grid points coincide with the FLAMINGO fiducial cosmology, so for this comparison we instead generate a single dedicated DMO simulation, run with the identical CosmoGridV1 pipeline and numerical setup, but at the FLAMINGO fiducial cosmology. We refer to this as our CosmoGridV1-like simulation; it uses the same machinery we will later apply across the full CosmoGridV1 grid, so the validation presented here also serves as a check of that pipeline ahead of the production run. Note that, unlike FLAMINGO, whose initial conditions fix the amplitudes of the largest-scale modes to the mean of the power spectrum [4], our CosmoGridV1-like simulation uses standard Gaussian random initial conditions, so its large-scale modes are subject to the full cosmic variance.
We run the simulation at the D3A cosmology (see Table 2), matching the cosmological parameters of the FLAMINGO hydrodynamical simulations described in § 3. The simulation follows particles in a periodic box of comoving side length . As in CosmoGridV1, the massive neutrinos (a single species with , ) are not followed as particles but are included as a linear species in PKDGRAV3, following Ref. [73]. This differs from FLAMINGO, which evolves the neutrinos as particles (§ 3.1). The particle mass is
where . To identify halos in our CosmoGridV1-like simulation, we used HBT-HERONS with a minimal particle Number of , which leads to a minimal halo mass of .
| Name | ||||||||
| D3A | 0.681 | 0.306 | 0.0486 | 0.06 eV | 0.967 | 0.807 | 0.815 |
caption: Cosmological parameters of the D3A cosmology used for the CosmoGridV1-like validation simulation, matched to the fiducial FLAMINGO cosmology.
:::
Lightcone construction
We build the past lightcone from our snapshot sequence by using periodic copies of the simulation box. We place the observer at the origin of the box at , redshift , and place identical copies of the box side by side along the three-dimensional grid. Each snapshot provides a spherical shell of particles between an inner and outer comoving distance, , corresponding to the redshift interval. Because distant shells grow larger than a single box, multiple replicated boxes are needed to fill a single shell. To do this, we process each shell in two steps. First, we select candidate boxes by checking the observer’s distance to their eight corners. If a box lies entirely inside the inner radius or entirely outside the outer radius, we reject it. We keep any other box that intersects the shell or is completely enclosed by it. Second, we select the particles within the kept boxes that fall into the shell by calculating their exact distance to the observer. Combining the selected particles from all retained boxes fills the spherical shell. Replication starts at , i.e. at for the CosmoGridV1-like box () and for FLAMINGO L1 (). Up to (), the box is replicated about four and five times along the line of sight, respectively. We then project these particles onto a two-dimensional HEALPix map along the line of sight. This pipeline generates all lightcone products, i.e., the particle and halo lightcones. This lightcone generation method differs from the CosmoGridV1 pipeline but matches the map products used in the FLAMINGO simulation suite.
Snapshot-BFC
In the standard snapshot-based approach (Snapshot-BFC), the BFC model (§ 2.3) is applied directly in three dimensions. For each snapshot of our CosmoGridV1-like simulation, the particles around each halo are displaced according to the analytic profiles described in § 2.3, producing new snapshots containing dark-matter, gas, and star particles. We then construct the past lightcone from these baryonified snapshots using the lightcone-construction pipeline (§ 4.2).
Shell-BFC
For a single simulation, we can apply snapshot-BFC and construct a past lightcone from it. But for a large simulation suite, such as CosmoGridV1, storing all redshift snapshots is not feasible; therefore, we need a method that can be applied directly to shells, which are usually stored. The shell-BFC method uses DMO maps and the halo lightcone directly as input. Therefore, we first build the particles’ and halos’ past lightcone before applying the shell-BFC method at the 2D level. Conceptually, shell-BFC applies the same displacement as the snapshot-based method, but in projection. It maps gravity-only halo profiles to their baryonified states through displacements along the shell surface. The approach was introduced for application on the CosmoGridV1 suite in [17] and extended in the BARYONFORGE package by Ref. [38]. We build on these approaches but implement the new component-wise S25 model that displaces baryons and DM individually. With this, we can generate correlated shells of DM, gas, and stars from a DMO -body simulation. Here we summarize the method, while a detailed description and validation of Shell-BFC will be presented in a forthcoming paper (Schneider, Bucko, Kovač et al. in prep.). To validate it for the purpose of this work, we will apply both shell-BFC and snapshot-BFC to the same DMO simulation and compare the resulting (§ 6).
In shell-BFC, each halo is first moved to the center of the shell, and the mass profile is integrated along the line of sight over a depth set by the shell thickness ,
Unlike methods that use a fixed multiple of the halo size, as in Ref. [17], we tie the projection depth to the shell to prevent double counting between adjacent slices.
Since a displacement using pixels is not possible on fixed HEALPix grids where pixels are larger than the scales over which feedback redistributes matter, we represent every non-empty pixel with tracer particles. To restore the necessary sub-pixel resolution, we apply adaptive sampling according to how close the pixels are to the centers of haloes, with the pixels that contain a halo center being divided into 16 tracers, the neighboring pixels into 4, and all the others into 1. The mass is distributed among these tracers in accordance with the projected NFW profile of the nearby halo so that the discrete field matches the continuous profile before the displacement takes place. This method directs the majority of the computational work to the pixels closest to the halo center that are modified the most while keeping the larger, low-density regions at their native resolution.
The use of a thin, curved shell leads to edge effects which are missing in conventional 3D methods. Since the halo profiles are projected assuming the halo to be located on the mid-plane of the shell, a halo whose actual position is close to the edge of the shell has only a portion of its profile within the shell. In order to make up for this, the displacement function is multiplied by a correction factor, .
where refers to the one-halo profile for dark matter or baryons, and is the fraction of a sphere of radius (with the center at the halo’s true comoving position) that falls within the range of the shell. As a result, tends towards 1 when the haloes are far from boundaries and decreases to about in the case of haloes which are situated directly on an edge. Since each halo is only treated within its own shell, any part of an edge halo that ends up in a neighboring shell remains in place, an effect that affects only a small percentage of the haloes located within roughly a virial radius of an edge.
We then collect the displaced tracers onto separate output maps. To preserve the sub-pixel resolution of the displacements, which a nearest-pixel assignment would discard, we distribute each tracer’s mass over the four neighbouring pixels using bilinear weights.
Constructing Compton- maps
In the present section we explain how the theoretical BFC pressure profiles from § 2 are combined with the output of the simulations in § 4 in order to produce full-sky Compton- maps. We implement two map-generating methods of increasing complexity: painting, in which the spherically symmetric theoretical profiles are placed directly at the positions of the halos using only the halo catalog, and the second is referred to as gas-weighted, in which the same theoretical profiles are locally rescaled using the gas distribution of the baryonified shells. We will now describe each of these in turn.
Painted Compton-y maps
In the painting method, which has also been used to construct tSZ maps in [38, 49], we assign to each halo in the lightcone halo catalog (§ 4.1) a spherically symmetric electron pressure profile , which has been calculated using the BFC model (§ 2.3.3) at the halo’s given , concentration , and redshift . Each profile is then projected along the line of sight,
is the projected comoving distance from the halo center and is the comoving shell thickness of the shell the halo sits in. This effectively moves the halo to the center of the shell and ensures that the projection does not double-count contributions from adjacent shells. The projected profile is converted to a dimensionless Compton- profile through
We paint onto every HEALPix pixel within an angular radius of the halo, with the comoving distance and , beyond which we find the tSZ power spectrum to be converged. A pixel at angular separation from the halo center samples the profile at . To obtain the pixel-averaged signal, we subdivide each pixel into 16 sub-pixels, evaluate at each sub-pixel center, and assign the mean value to the parent pixel. This is especially necessary for low-mass and/or high-redshift halos, where a halo only subtends a few pixels.
After painting all halos into their respective shells, we co-add the shells to form the final Compton- map.
Gas-weighted Compton-y maps
The painting method described in the previous section assigns each halo a spherically symmetric Compton- profile based on halo mass and redshift. Real halos are not spherical: their gas is stretched along the local filament, disturbed by recent mergers, and clumped around substructure. The baryonified gas shell (§ 4), produced by shell-BFC, carries this anisotropic gas distribution. With the gas-weighted method, we include the effect of asphericity of gas shells on the Compton- profiles.
In angular annuli, we weight the painted profile in each pixel by the gas profile at that pixel , i.e.
where is the mean gas profile across all pixels in a given annulus. Since the weight has a mean of unity in each annulus, Equation (27) redistributes the total Compton- budget fixed by the painted maps among the pixels according to the simulated gas. The rescaled map thus preserves the mean BFC radial Compton- profile while reproducing the halo’s asphericity and the effects of substructure within its area of coverage. As in the case of the painting method, the map is constructed shell by shell, and the shells are co-added to produce the final Compton- map.
Pipeline validation
Before comparing our Compton- maps to FLAMINGO, we test the two map-level steps of our pipeline on the CosmoGridV1-like simulation: the shell-BFC gas shells that enter the gas-weighted method, and the gas-weighted method itself against the simpler painting. All maps in this section use the HBT-HERONS halo lightcone and the L1_m9 best-fit parameters of Table 1. They are made at , the resolution of CosmoGridV1.
The shell-BFC in this work is validated on the Compton- power spectrum. We generate two gas-weighted maps (§ 5.2) that differ only in the gas shells used for the weighting. One uses the shell-BFC shells (§ 4.4), where we construct the past lightcone from the DMO snapshots and then baryonify the shells; the other uses snapshot-BFC, where we baryonify the DMO snapshots first and then build the past lightcone and project them onto shells (§ 4.3 and § 4.2). This comparison tests if the two BFC methods distribute the gas around halos in the same way, which is exactly the information used in the gas-weighted method. We show the results of the first test in Figure 1 and find that the two spectra agree to better than 0.2% over , so for constructing Compton- maps, shell-BFC gas shells (blue squares) are equivalent to those from snapshot-BFC (orange dots). A more detailed validation of shell-BFC, including the suppression of the matter power spectrum, halo density profiles, and weak-lensing statistics, will be presented in a companion paper (Schneider, Bucko, Kovač et al., in prep.).
Figure 1. Compton- power spectrum of two gas-weighted maps from the CosmoGridV1-like simulation (, L1_m9 best-fit parameters), using gas shells from shell-BFC (blue squares) and snapshot-BFC (orange dots). The solid line shows the BFC halo-model prediction using the Despali16 [74] HMF. The lower panel shows the ratio of the maps to the halo model, with the grey band marking . Error bars show the standard deviation of the individual within each bin. The two gas-weighted spectra agree to better than over .
We next compare the gas-weighted method with the shell-BFC gas shells against the painting method (§ 5.1) to generate Compton- maps. The top row of Figure 2 shows both maps in a field around a massive cluster (, ). The painted cluster is spherically symmetric by construction, while the gas-weighted map follows the anisotropic gas of the baryonified shell. As the difference map shows, signal moves out of regions where the gas density is below its annulus average and into a filament to the lower right, as well as into substructure within .
Figure 2. Comparison of the two map-making methods using the HBT-HERONS halo lightcone of our CosmoGridV1-like simulation with the fiducial L1_m9 parameters at . Left: gas-weighted spectra using the shell-BFC (blue squares) and painting (black) with their ratio (grey band: ). Right: gnomonic cut-outs centred on an HBT-HERONS cluster: the painted map (top), the gas-weighted map using the shell-BFC gas shells (middle) and their difference (bottom). The dashed circle marks . Gas weighting moves signal along the anisotropic gas distribution, here towards a filament to the lower right.
The bottom of Figure 2 compares the painting (black) and gas-weighted (blue) methods at the power spectrum level. The two approaches agree within 2%, with differences being smallest at large scales and flattening around at the 2% level. Furthermore, the gas-weighted method yields a systematically higher tSZ power spectrum compared to the painting method. This systematic offset arises because the gas-weighted method scales the smooth pressure profile with the local density in each annulus. While this preserves the average pressure profile per halo, local density fluctuations add spatial variance, which can boost power across all resolved scales compared to purely smooth painted profiles.
Neither approach can be seen as the ground truth, and the comparison above does not by itself establish which is more accurate. The painting method assumes smooth, spherically symmetric profiles and therefore neglects halo asphericity and substructure. The gas-weighted method captures these effects to some extent, since it modulates the pressure profile by the local gas density of the baryonified shells, and is therefore expected to provide a more realistic description of the small-scale gas distribution. For the purposes of this paper, the difference between the two methods is well below the precision of current tSZ power spectrum measurements [10]. We therefore adopt the painting method for the remainder of this work, as it is computationally cheaper, easily adapted to different resolutions, and does not require full baryonified lightcones.
Comparison to Hydrodynamical Simulations
We will now test the ability of our model to reproduce the Compton- profiles and the tSZ power spectrum from two different FLAMINGO simulations, corresponding to the fiducial feedback and strong feedback regimes (L1_m9 and ). First, in § 7.1 we check the agreement of Compton- profiles across halo mass and redshift bins. Second, in § 7.2 we compare the tSZ power spectra and show that our model reproduces the FLAMINGO results for both feedback models.
Compton- profiles
To validate our pressure modeling, we compare our painted Compton- maps to the FLAMINGO Compton- maps with the same pixel resolution of . We use the best-fit parameters for each feedback model from the fitted 3D gas mass-fraction and thermal pressure profiles, as described in § 3.2 and shown in Table 1, to generate our Compton- maps using the painting method described in § 5.1. We then use the resulting Compton- maps to measure halo Compton- profiles in different mass and redshift bins. In the FLAMINGO simulations, we randomly select halos for each mass bin and redshift shell. If there are fewer than halos, we use all halos in that bin. We then stack the halos in each redshift and mass bin and calculate the mean Compton- profile and its 68% uncertainty. Since the
Compton- scales strongly with mass, , it is essential that the measured halos in our generated maps have the same mean mass as the measured FLAMINGO sample. To achieve this, we assign a weight to each halo . For every bin, we solve for via a 1D root-finding algorithm such that the weighted mean mass matches the FLAMINGO mean mass. We then apply these weights consistently across all subsequent stacking calculations, error estimates, and effective sample sizes.
Figure 3 shows the resulting comparison of Compton- profiles for the fiducial L1_m9 feedback scenario, on a grid of four redshift bins (columns) in the range and four halo mass bins (rows) spanning . The solid green line shows the mean Compton- profile measured in the L1_m9 simulation, with the shaded region indicating the 68% scatter across the sample. Black points show the corresponding measurement from our painted maps. The red dashed line shows the theoretical BFC prediction evaluated at the mean mass of the measured L1_m9 halos and convolved with the pixel window function. The Compton- profiles of our generated maps lie well within the scatter of the measured L1_m9 simulation but tend to underpredict the hydrodynamical profile around for all mass bins and redshifts. The number of high-mass halos decreases at higher redshift, and we use the best-fit parameters from for all redshifts, which drive the slightly larger disagreement in the high-mass, high-redshift bins. The gray shaded region marks the map pixel scale, below which resolution effects dominate, and the recovered profiles can no longer be trusted.
Figure 3. Stacked Compton- profiles as a function of projected radius for the fiducial L1_m9 simulation (green) and for our painted map of the CosmoGridV1-like simulation (black points). Columns show four redshift slices between and and rows show four bins of between 13 and 15. The green line is the mean profile of up to 1000 randomly selected FLAMINGO halos per mass bin and lightcone shell, and the shaded band is their 16th-84th percentile halo-to-halo scatter. The painted halos are weighted so that their mean mass matches the FLAMINGO sample in each bin (Sec. 7.1); error bars show the standard error of the weighted mean. The red dashed line is the BFC prediction at the FLAMINGO mean mass, convolved with the pixel window of the map. All curves use the best-fit parameters of Table 1. The gray region marks radii smaller than one pixel.
Figure 4 shows the same comparison for the simulation. The Compton- profiles in this stronger-feedback scenario are considerably more extended and have a lower central amplitude than their fiducial counterparts, consistent with AGN feedback pushing gas out to larger radii and suppressing the central pressure. As in the fiducial case, the painted measurements lie within the scatter of the measured Compton- profiles but are also low around . This confirms that our pressure modeling approach captures both qualitatively different feedback regimes just as well. As in the L1_m9 simulation, we find that agreement between our generated maps and the simulation is best in the high-mass, low-redshift regime. This is also the regime most relevant for the tSZ power spectrum (see App. § 11.§ 1).
Figure 4. Same as Figure 3, but for the simulation (blue), using the best-fit parameters of Table 1.
tSZ power spectrum
Having validated the painted Compton- profiles against the L1_m9 and measured Compton- profiles, we now turn to the angular power spectrum , which is one of the statistics employed for cosmological inference with observational data. As before, we test our pipeline for both the L1_m9 and scenarios. All measured and theoretically calculated tSZ power spectra span redshifts from to and are calculated using maps. We chose the lower redshift cut because the closest shells inherit very few halos, which appear large on the sky due to the close distance and vary strongly between simulations.
Since depends on both the pressure model and the halo population, we separate the two effects in three steps. We first paint the halos of FLAMINGO itself, which tests the pressure model at a fixed halo population. We then paint the halos of our CosmoGridV1-like simulation. Finally, we remove the most massive halos from both lightcones to isolate the difference between the two halo populations for the largest scales.
We construct a halo lightcone from the HBT-HERONS halos of FLAMINGO L1_m9 DMO using the procedure described in § 4.2 and paint the BFC pressure profiles of each feedback model onto it. The painted maps thus share their halo population and their realization of the large-scale structure with the FLAMINGO maps, so their differences test the pressure model and the painting rather than the halo population. The left panel of Figure 5 shows the comparison to the L1_m9 simulation and the right panel the comparison to . The difference to the measured angular tSZ power spectrum falls below 10% for (and below 5% for ) for the L1_m9 simulation and below 10% for (below 5% for ) for the simulation. Over these ranges, the differences are smaller than the uncertainties of the tSZ power spectrum reconstructions from Planck, ACT, and SPT [10], shown as purple data points. This comparison tests how well BFC reproduces the simulations; it is not a comparison to the data. The measurements are shown for reference only: for , FLAMINGO itself lies a factor of (L1_m9) and () above them, and the painted maps inherit this offset because BFC is calibrated on the FLAMINGO profiles. We discuss the comparison with observations in App. § 11.§ 4. Since BFC is fitted only to the 3D gas mass-fraction and pressure profiles, and neither the Compton- profiles nor enter the fit, the agreement
Figure 5. tSZ angular power spectrum over from FLAMINGO and from BFC profiles painted onto the HBT-HERONS halos of the FLAMINGO L1_m9 DMO simulation, for the L1_m9 (left) and (right) models. Top: FLAMINGO lightcone spectrum (green/blue thick line); painted map (open squares); BFC halo model with the Bocquet20 HMF [75] (solid red line), with the 16-84% uncertainty from BFC parameters (dark band) and the Gaussian plus one-halo trispectrum uncertainty of a full-sky map (light band, Eq. (11)); and the measurements by Ref. [10] (filled circles). The dashed green line in the left panels is the mean of the eight L2p8_m9 lightcones, which use the same model and resolution as L1_m9 in a box with 2.8 times the side length; its offset from L1_m9 reflects sample variance of the most massive clusters in the 1 Gpc volume (§ 7.2). The gray band shows the fractional scatter between these eight lightcones, applied to both models because no strong-feedback run exists in that volume; since all eight are drawn from the same box, it does not include the variance between independent boxes. Bottom: ratio to FLAMINGO. All model curves use the painting parameters (Table 1) and include the pixel window.
with FLAMINGO is a genuine prediction.
Figure 6 shows the same comparison for the HBT-HERONS halos of our CosmoGridV1-like simulation, run with the same cosmology as the FLAMINGO simulations (see § 4.1). The painted maps lie within 10% of FLAMINGO for (within 5% for ) for L1_m9 and for (within 5% for ) for . Since the pressure model is the same as in Figure 5, any additional differences come from the halo population. We use the same halo finder as FLAMINGO to remove the finder as a source of these differences; a different halo finder can raise the power by up to on all scales (App. § 10.§ 3).
The two simulations differ in their -body code, initial conditions, neutrino treatment, and box size, so their halo populations are not identical, especially at the rare high-mass end. Even with identical physics, a single 1 Gpc lightcone is subject to large sample variance from these rare clusters. The mean of the eight L2p8_m9 lightcones lies above L1_m9 at (Figure 5, see also Ref. [76]). Because the tSZ signal scales steeply with halo mass (, Ref. [11]), a handful of the most massive clusters can dominate the power on large and intermediate scales. Similar to Ref. [16], we therefore remove all halos with from both lightcones, i.e. 320 halos from the CosmoGridV1-like and 277 from the FLAMINGO lightcone ( of all painted halos). As the FLAMINGO maps contain these clusters, we compare the two painted lightcones with each other instead (Figure 7). With the cut, their difference drops from 25% at to a few per cent up to , showing that most of the remaining difference between the two simulations is driven by the most massive halos. At higher , where these halos contribute little, the cut has no effect and the residual difference of up to 6% reflects the abundance of lower-mass halos at higher redshift. The same sensitivity to the high-mass tail enters the halo-model prediction: the choice of HMF alone changes by up to (App. § 10.§ 2), comparable to the differences discussed here. This does not preclude precision cosmology with , but it requires the HMF to be calibrated on the same halo finder and mass definition as the pressure model, as done here with Bocquet20 and HBT-HERONS, and any residual HMF uncertainty to be marginalised over jointly with the gas parameters, with which it is degenerate. Since , a 20% shift corresponds to only – in , which sets the required calibration accuracy for future emulators.
Figure 7. Effect of removing the most massive halos. Both lightcones are painted with the (left) and (right) parameters after removing all halos with (320 halos in the CosmoGridV1-like and 277 in the FLAMINGO lightcone). Top: painted spectra with the cut for the CosmoGridV1-like halos (yellow squares) and the FLAMINGO HBT-HERONS halos (blue circles), the same paintings without the cut (dashed), and the Bocquet20 halo model with the same upper mass limit (solid). Bottom: ratio of the CosmoGridV1-like to the FLAMINGO painting with (squares) and without (dashed) the cut; the gray band marks . With the cut, the two halo populations agree within a few per cent up to . The remaining difference at higher reflects the lower abundance of CosmoGridV1-like halos at higher redshift (App. § 10.§ 2).
For the largest scales , we see for all cases (Figure 6 and Figure 5) that the halo model and also the painted results systematically underpredict the power compared to the results coming from the hydrodynamical simulations, while still being inside the cosmic-variance error band. We suspect that this difference comes from the halo model itself and our pressure modeling, especially on large scales. At , the two-halo term starts to contribute non-negligibly to the tSZ power spectrum, and around we enter the transition region between the one- and two-halo regimes. In the halo model, this regime is the hardest to model because of halo exclusion and non-linear bias [77, 78]. On the other hand, pressure modeling itself introduces several potential sources of discrepancy, most prominent on large scales. Specifically, the assumption of HSE likely breaks down toward halo outskirts where turbulent gas motions dominate, while our use of smooth, spherical profiles neglects halo-to-halo scatter and triaxiality. Furthermore, the hydrodynamical maps capture unmodeled pressure from diffuse gas in filaments and warm-hot intergalactic gas expelled beyond halo boundaries, which our painted maps miss by construction. In summary, the large-scale deficit lies within cosmic variance and most likely reflects the limits of a spherical, halo-bound pressure model in the one-to-two-halo transition rather than the BFC calibration or the painting itself; a dedicated investigation is left for future work.
Conclusions
The joint analysis of Stage-IV surveys like Euclid, LSST, Roman and SO requires analysis methods such as SBI in order to account for systematic uncertainties, which limit these experiments. One of the main challenges with SBI analyses for multi-probe cosmology is that these methods require large simulation suites providing correlated realizations of different cosmological probes across cosmologies and baryonic feedback models. In this paper, we address this challenge by developing an efficient and accurate method to generate tSZ maps from -body simulations based on the component-wise BFC model from S25.
Specifically, we use a CosmoGridV1-like -body simulation, run with the FLAMINGO cosmological parameters, and generate tSZ maps in two different ways: first, by painting spherically symmetric BFC pressure profiles at the positions of halos, which requires only the halo catalog; and second, with a gas-weighted method that redistributes the painted signal according to the baryonified gas density, so that the maps follow halo asphericity and substructure. The required gas shells can be obtained either from baryonified snapshots or directly with shell-BFC, which agree to within 0.2%.
Moving on to two-point statistics, we first compare the tSZ power spectrum from the painting and gas-weighted methods. The two map-making techniques agree within 2 − 3%, with the gas-weighted maps showing slightly higher power due to the increased variance of the gas field. These differences are below current observational uncertainties [10], and thus we conclude that the painting method is sufficient for generating accurate tSZ simulations. We then compare the BFC-painted tSZ maps to FLAMINGO. Painted onto the halos of the FLAMINGO dark-matter-only run, so that both share the same halo population, our maps reproduce the FLAMINGO tSZ power spectrum to within 5% for 500 ≤ ≤ 3000 in both feedback models. Painted onto the halos of our CosmoGridV1-like simulation, they agree with FLAMINGO within ∼ 10% for ≥ 300. At larger scales they give up to ∼ 25% more power than the painting of the FLAMINGO halos. This excess comes from the few most massive clusters, which dominate the tSZ signal: removing all halos with , only ∼ of all painted halos, brings the two paintings into agreement to within 5% up to .
These results show that our tSZ simulations based on -body simulations and BFC are able to self-consistently match hydrodynamical simulations from FLAMINGO across different feedback models. Calibrated only at the level of 3D profiles, we are able to match matter power spectrum suppression, 2D Compton- profiles, and tSZ power spectra, with maximal differences to within 5% for 500 ≤ ≤ 3000 once the halo populations are matched. Since the painting requires only a halo catalog, a full-sky Compton- map of the halos of the FLAMINGO halo lightcone takes only CPU hours on top of the -body run. This therefore lays the groundwork for efficient generation of multiwavelength simulation suites starting from -body simulations, and our pipeline can readily be applied to CosmoGridV1, thus allowing for joint SBI analyses of WL and tSZ. Looking ahead, this paves the way towards multi-probe SBI analyses for Stage-IV surveys such as Euclid, LSST, Roman, and SO.
Acknowledgments
We would like to thank Jens Chluba, Richard Battye, and David Alonso for numerous insightful conversations about this project and the tSZ in general. This work made use of several open-source tools, including NumPy [79], SciPy [80], MATPLOTLIB [81], HEALPix [82]. JC and AN acknowledge support from the European Research Council (ERC) under the European Union’s Horizon 2020 research and innovation program with Grant agreement No. 101163128. JB acknowledge support by a grant from the Swiss National Supercomputing Centre (CSCS) under project ID 990 on Alps.
PKDGRAV3 CosmoGridV1-like vs FLAMINGO L1_m9 DMO
The two simulations share the D3A cosmology (Table 2) but differ in -body code, initial conditions, box size, neutrino treatment, and particle mass, which is times larger in the CosmoGridV1-like run. Here we compare their matter power spectra and halo mass functions (HMFs), and test the effect of the halo finder.
Matter power spectrum
Figure 8 compares the matter power spectra of the two runs. At , PKDGRAV3 lies – above FLAMINGO for . This offset builds up at late times: it falls to at and is consistent with zero within the scatter at . At the ratio scatters by several per cent because the two runs have independent initial phases. Differences of this size are expected between -body codes [85], and we do not attempt to separate them further. They are small compared with the effect of the halo population on .
Figure 8. Comparison of the total matter power spectrum between our PKDGRAV3 dark-matter-only simulation and the FLAMINGO fiducial dark-matter-only simulation, both run with the same cosmological parameters. Top row: measured from PKDGRAV3 (light blue, dash-dotted) and from FLAMINGO (dark blue, dotted), together with the linear (yellow, dashed) and non-linear (orange, solid) matter power spectrum from CCL, computed with CLASS [83, 84] for the transfer function, at redshifts , , , and (left to right). Bottom row: ratio of the PKDGRAV3 to the FLAMINGO measurements. The two simulations agree within a few percent across the full -range shown: the scatter at reflects sample variance from the independent (unmatched) phases of the two sets of initial conditions, while the 2-3% offset seen at intermediate is consistent with the level of agreement expected between different N-body codes [85] combined with differences between the two power-spectrum measurement pipelines and potential small differences in the neutrino treatment. The dashed and dotted horizontal grey lines mark unity and a 2.5% offset, respectively.
Halo mass function
Figs. 9 and Figure 10 compare the host-halo HMFs of the two runs, both identified with HBT-HERONS [69], with analytic HMFs. Both are described best by Bocquet20 [75]: for , the CosmoGridV1-like run lies within of it at all redshifts shown, and FLAMINGO within up to . Tinker08 [86] and Despali16 [74] are within , while both runs lie – below Tinker10 [87] and Bocquet16 [88] at .
Figure 10. Same as Fig. 9, but for the FLAMINGO L1_m9 dark-matter-only run with HBT-HERONS halos (circles), at –. Bocquet20 again gives the best description, to within 2% up to . Like the CosmoGridV1-like run, FLAMINGO lies – below Tinker10 and Bocquet16 at .
At fixed mass, the CosmoGridV1-like run contains fewer halos than FLAMINGO. For , the deficit grows from at to at . Its coarser mass resolution may contribute, but we have not isolated the cause. This deficit sets the high- residual in Figure 7.
Halo finder: AHF and HBT-HERONS
The main text uses HBT-HERONS for both simulations, as this is the finder of the FLAMINGO catalogues. To quantify the impact of this choice, we also identify halos in the CosmoGridV1-like simulation with AHF [89]. Because HBT-HERONS requires particle IDs, it was run on a rerun with the same initial conditions, code, and settings.
At fixed mass, AHF finds more halos than HBT-HERONS (Figure 11): 8–11% more for and 5–18% more for , increasing with redshift. Painted onto the AHF halos, the same profiles give a that is 17–22% above L1_m9 and 10–16% above for (Figure 12). The HBT-HERONS painting of the same simulation is lower on all scales and in both feedback models. A one-halo sum over the AHF catalog plus a Bocquet20 two-halo term reproduces the painted maps to , so this shift comes from the halo catalog rather than from the painting or the pressure
Figure 11. Same as Fig. 9, but with the halos of the CosmoGridV1-like simulation identified with AHF (diamonds) instead of HBT-HERONS. Because AHF assigns slightly higher masses to matched hosts, it finds 5–18% more halos at fixed mass than HBT-HERONS, with the excess growing with redshift. As a result, moves downwards relative to Fig. 9, and the AHF HMF lies above Bocquet20 at .
Vector (PDF)
caption: Host-halo mass function of the CosmoGridV1-like PKDGRAV3 simulation, identified with HBT-HERONS (squares), at six redshifts between and . The lines show the analytic HMFs of Tinker08 (dash-dotted), Tinker10 (dotted), Bocquet16 (dashed), Bocquet20 (solid) and Despali16 (dash-dot-dotted), evaluated in the D3A cosmology. Lower panels: fractional difference between the measured and each analytic HMF. Positive values mean the simulation has fewer halos than the prediction. Error bars are Poisson. Bocquet20 matches the measurement to within 4% for at all redshifts shown.
:::
model.
Sensitivity of the tSZ power spectrum
All spectra in this appendix are BFC halo-model predictions with the Bocquet20 HMF and the L1_m9 parameters of Table 1, integrated over and . We vary one quantity at a time.
Convergence of the tSZ power spectrum with mass and redshift cuts
In Figure 13 we show the convergence of the tSZ power spectrum with respect to the lower and upper mass and redshift limits used in the halo-model integration. In each panel, we fix all limits to their fiducial values except the one being varied.
Figure 13. This figure shows how the tSZ power spectrum changes if we change the boundary conditions of the simulation and the theoretical modeling. As shown in previous work, the lower-mass boundary is mostly irrelevant as long as the largest halos are included in the analysis. For the redshift cuts, we see that the lower redshift cut has a very big influence on the power spectrum, while the becomes important for cuts below .
The top row shows the dependence on the halo mass range. Increasing has almost no effect on the power spectrum, indicating that low-mass halos contribute negligibly to the tSZ signal. In contrast, the amplitude is highly sensitive to : increasing the upper mass limit from to increases the power by more than an order of magnitude, reflecting the steep mass dependence of the electron pressure (and hence Compton-) profile; the tSZ signal is dominated by the most massive halos in the sample. We accordingly extend the mass integration to the highest halo masses resolved by the simulation, to avoid artificially truncating this dominant contribution.
The bottom row shows the corresponding dependence on the redshift integration range. The signal is dominated by lower redshifts: raising progressively removes the low- contribution and substantially suppresses the power spectrum by more than an order of magnitude in the range of –. On the other hand, the result is largely converged with respect to already by –, with only a small residual contribution from higher redshifts. Based on this behavior, we adopt , excluding the lowest-redshift shell where the signal is most affected by large-scale sample variance, and , since the power spectrum is essentially converged by this point and extending further increases computational cost with negligible gain.
BFC parameter dependence of the tSZ power spectrum
In Figure 14 we show the dependence of the tSZ power spectrum on the BFC parameters. We vary one parameter at a time, keeping the others fixed at the best-fit values from the fiducial FLAMINGO simulation. The lowest value of each parameter is shown in red, the highest in dark blue.

Figure 14. In this figure, we see the influence of each BFC parameter on the tSZ power spectrum. The biggest influence comes from the parameters, which are the most flexible part in the calculation of the pressure in the BFC model.
The top row shows the hot gas parameters , , , and , which together set the shape of the hot gas density profile (Eq. (15) and (16)). sets the characteristic halo mass at which the profile slope transitions from shallow to steep (Eq. (16)); lower steepens the profile at fixed halo mass, concentrating more gas, hence more pressure, in the inner regions. controls how fast this transition is. sets the core radius, and the sharpness of the outer truncation; both therefore redistribute gas between the core and the outskirts. Because the tSZ signal is weighted by pressure (), we see the influence of the gas profile directly in the tSZ power spectrum.
The second row shows the stellar parameters , , and , and the cold gas parameter . sets the high-mass slope of the total stellar fraction, sets the slope of the fraction of the central galaxies, and the overall normalization; all of them regulate how much of the baryonic budget is locked into the stars rather than hot gas. similarly removes a fraction of the central gas into a cold, non-ionized phase. Although , , and act in the same way on the tSZ signal, reducing the amount of gas and thus changing the gas amplitude, we only see an influence from the stellar parameters. This comes from the fact that the amount of cold gas in halos with masses is negligible.
The bottom row shows the non-thermal pressure parameters , , and . Their effect on the tSZ power spectrum is the smallest of the three groups, but not negligible: unlike a simple amplitude rescaling, they can independently vary the overall normalization (), its slope of the mass/radial dependence (), and its redshift evolution (), which changes the shape of the tSZ spectrum rather than just its amplitude. This makes them relevant when aiming for percent-level agreement, even though their overall impact is subdominant to the gas and stellar parameters.
Difference in halo mass functions
Figure 15 shows how strongly the predicted depends on the HMF. Relative to Bocquet20, Tinker08 stays within 3%, Tinker10 and Bocquet16 are 14–24% higher, and Despali16 falls from +25% at to +4% at . Because is dominated by the exponential tail of the HMF, small differences in the abundance of massive clusters are strongly amplified. The spread largely reflects the different simulations, halo finders, and mass definitions on which these fits were calibrated, rather than a fundamental uncertainty in the abundance of halos. Some fits, such as Despali16, also require a concentration-dependent conversion to . Our simulations show the same effect directly: painting the halos of the same matter field identified with different finders, the FLAMINGO HBT-HERONS halos lie 0–6% above the Bocquet20 prediction and the AHF halos 16–31% above it. We therefore use Bocquet20 throughout, as it matches the measured HBT-HERONS HMFs (App. § 10.§ 2).
Figure 15. Dependence of the BFC halo-model tSZ power spectrum on the choice of HMF. Top: for with the L1_m9 parameters, computed with the Tinker08 (dash-dotted), Tinker10 (dotted), Bocquet16 (dashed), Bocquet20 (solid) and Despali16 (dash-dot-dotted) HMFs. For comparison, the symbols show BFC profiles painted onto the AHF halos of the CosmoGridV1-like simulation (squares) and onto the FLAMINGO HBT-HERONS halos (circles). Bottom: ratio to the Bocquet20 prediction. The HMF alone changes by up to . The FLAMINGO painting lies 0–6% above Bocquet20, and the AHF painting lies 16–31% above it.
For cosmological inference, the HMF therefore has to be calibrated on the same halo definition as the pressure model, with any remaining uncertainty treated as a systematic. This is the approach of current cluster analyses, which use emulators calibrated on large simulation suites [e.g. 75, 90] and marginalise over residual HMF parameters. Forward-modelling approaches that paint profiles directly onto simulated halos, such as the one presented here, avoid an analytic HMF altogether. They move the systematic to the simulation volume, resolution, and halo finder, which can be tested explicitly, as in § 7.2.
Comparison to additional observational data
Figure 16 compares our spectra with two observational estimates of : the spectrum inferred from the Planck Compton- map [56], and the reconstruction of Ref. [10] from Planck, ACT, and SPT temperature power spectra, which extends to . At both simulations agree with the data. At , the -map spectrum lies a factor of below the simulations, while the reconstruction of Ref. [10] is consistent with them up to . The two measurements disagree by a similar factor, which points to foreground removal in -map-based spectra as a major systematic [10]. At , the data lie a factor of – below both simulations. This deficit relative to Planck-like CDM simulations is well established [10, 13]. It may indicate stronger feedback or residual CIB and kSZ contamination at high . Since BFC is calibrated on FLAMINGO, the painted map reproduces the simulation, not the data, and our spectra omit the contribution at the lowest multipoles.
Figure 16. over from FLAMINGO L1_m9 (dashed green) and the BFC-painted -like map (solid black), compared with the -map spectrum of Ref. [56] (red diamonds) and the +ACT+SPT reconstruction of Ref. [10] (blue circles). Error bars are .
Non-thermal pressure in FLAMINGO
We measure the non-thermal pressure in the L1_m9 and runs at , , and . In each of four -dex bins of between and , we select 100 random central halos and bin their gas into 30 logarithmic shells out to . In each shell, follows from the mass-weighted temperature and mean gas density, and , where is the mass-weighted mean gas velocity of the shell [12, 63, 91]. We then fit Eq. (19) to the median , jointly over the three redshifts and over . Table 3 lists the results, and our fiducial model uses the – bin.
| Run | bin | |||
| Fiducial | – | 0.169 | 0.66 | 0.24 |
| – | 0.111 | 0.97 | 0.65 | |
| – | 0.136 | 1.58 | 0.79 | |
| – | 0.204 | 1.82 | 0.88 | |
| Strongest AGN | – | 0.231 | 0.60 | 0.28 |
| – | 0.166 | 0.66 | 0.28 | |
| – | 0.107 | 0.94 | 0.54 | |
| – | 0.148 | 4.21 | 1.10 |
Table 3. Best-fit [62] non-thermal pressure parameters (Eq. (19)), fitted to the halo-median over and .
The power law describes well inside the fit range (–). Beyond the measured fraction rises more steeply (Figure 17), and extending the fit to () raises to – (–). The best-fit parameters also vary with halo mass and feedback strength (Table 3), so a single parameter set is an approximation that is least reliable in the halo outskirts.
Figure 17. Non-thermal pressure fraction as a function of for central halos with (left) and (right) in the L1_m9 run. Thin grey lines show individual halos. Filled circles show the median at (blue), (yellow) and (red). The lines show the joint best fit of Eq. (19) (Table 3): solid inside the fit range (shaded) and dotted outside it. Beyond the measured fraction rises more steeply than the power law.
Painting/theory Poisson catalog
To test the painting method independently of any simulation, we paint BFC profiles onto seven Poisson-sampled halo catalogs drawn from the Tinker08 HMF. Because the positions are random, the maps contain only the one-halo term and their HMF is known exactly, so any difference from the halo model comes from the painting. Figure 18 shows that the mean of the maps agrees with the prediction to within a few per cent up to when the gas is normalized with the truncated-NFW total mass , as in our halo-model code. Normalizing with instead overpredicts the power by 5–7%.
Figure 18. Test of the painting on random halo positions. BFC profiles with the L1_m9 parameters are painted onto seven Poisson-sampled halo catalogs drawn from the Tinker08 HMF (). These maps contain only the one-halo term. Top: tSZ power spectra of the individual maps (thin grey lines) and their mean (light blue). The light and dark grey bands show the scatter between maps and the uncertainty on the mean, . These are compared with the one-halo BFC prediction for the same HMF, with the gas normalized by the truncated-NFW total mass (orange dashed) or by (dark red dotted). Bottom: fractional difference between the mean painted spectrum and each prediction, with the same uncertainty bands. The grey dashed lines mark , and the vertical dotted line marks . With the normalization, which our halo-model code uses, the maps match the prediction to within a few per cent up to . With the normalization, the prediction is 5–7% too high.
The same holds for the simulated halos: a one-halo sum over the painted catalogs plus a Bocquet20 two-halo term reproduces the painted maps to within for . Differences between the painted maps and the analytic halo model in § 7.2 therefore reflect the halo catalogs rather than the painting.
References
- [1]M.P. van Daalen, J. Schaye, C.M. Booth and C. Dalla Vecchia, The effects of galaxy formation on the matter power spectrum: a challenge for precision cosmology, MNRAS 415 (2011) 3649 [1104.1174].
- [2]N.E. Chisari, A.J. Mead, S. Joudaki, P.G. Ferreira, A. Schneider, J. Mohr et al., Modelling baryonic feedback for survey cosmology, The Open Journal of Astrophysics 2 (2019) 4 [1905.06082].DOI
- [3]M.P. van Daalen, I.G. McCarthy and J. Schaye, Exploring the effects of galaxy formation on matter clustering through a library of simulation power spectra, MNRAS 491 (2020) 2424 [1906.00968].DOI
- [4]J. Schaye, R. Kugel, M. Schaller, J.C. Helly, J. Braspenning, W. Elbers et al., The FLAMINGO project: cosmological hydrodynamical simulations for large-scale structure and galaxy cluster surveys, MNRAS 526 (2023) 4978 [2306.04024].DOI
- [5]E. Semboloni, H. Hoekstra, J. Schaye, M.P. van Daalen and I.G. McCarthy, Quantifying the effect of baryon physics on weak lensing tomography, MNRAS 417 (2011) 2020 [1105.1075].DOI
- [6]A. Schneider, A. Refregier, S. Grandis, D. Eckert, N. Stoira, T. Kacprzak et al., Baryonic effects for weak lensing. Part II. Combination with X-ray data and extended cosmologies, J. Cosmology Astropart. Phys. 2020 (2020) 020 [1911.08849].DOI
- [7]Planck Collaboration, N. Aghanim, M. Arnaud, M. Ashdown, J. Aumont, C. Baccigalupi et al., Planck 2015 results. XXII. A map of the thermal Sunyaev-Zeldovich effect, A&A 594 (2016) A22 [1502.01596].DOI
- [8]S.K. Choi, M. Hasselfield, S.-P.P. Ho, B. Koopman, M. Lungu, M.H. Abitbol et al., The Atacama Cosmology Telescope: a measurement of the Cosmic Microwave Background power spectra at 98 and 150 GHz, J. Cosmology Astropart. Phys. 2020 (2020) 045 [2007.07289].DOI
- [9]C.L. Reichardt, S. Patil, P.A.R. Ade, A.J. Anderson, J.E. Austermann, J.S. Avva et al., An Improved Measurement of the Secondary Cosmic Microwave Background Anisotropies from the SPT-SZ + SPTpol Surveys, ApJ 908 (2021) 199 [2002.06197].DOI
- [10]G. Efstathiou and F. McCarthy, The power spectrum of the thermal Sunyaev-Zeldovich effect, MNRAS 540 (2025) 1055 [2502.10232].arxiv.org/abs/2502.10232
- [11]E. Komatsu and U. Seljak, The Sunyaev-Zel’dovich angular power spectrum as a probe of cosmological parameters, MNRAS 336 (2002) 1256 [astro-ph/0205468].DOI
- [12]N. Battaglia, J.R. Bond, C. Pfrommer and J.L. Sievers, On the Cluster Physics of Sunyaev-Zel’dovich and X-Ray Surveys. I. The Influence of Feedback, Non-thermal Pressure, and Cluster Shapes on Y-M Scaling Relations, ApJ 758 (2012) 74 [1109.3709].
- [13]I.G. McCarthy, A.M.C. Le Brun, J. Schaye and G.P. Holder, The thermal Sunyaev-Zel’dovich effect power spectrum in light of Planck, MNRAS 440 (2014) 3645 [1312.5341].DOI
- [14]I.G. McCarthy, S. Bird, J. Schaye, J. Harnois-Déraps, A.S. Font and L. Van Waerbeke, The BAHAMAS project: the CMB–large-scale structure tension and the roles of massive neutrinos and galaxy formation, Mon. Not. Roy. Astron. Soc. 476 (2018) 2999 [1712.02411].DOI
- [15]I.G. McCarthy, A. Amon, J. Schaye, E. Schaan, R.E. Angulo, J. Salcido et al., FLAMINGO: combining kinetic SZ effect and galaxy-galaxy lensing measurements to gauge the impact of feedback on large-scale structure, MNRAS 540 (2025) 143 [2410.19905].arxiv.org/abs/2410.19905
- [16]A. Rotti, B. Bolliet, J. Chluba and M. Remazeilles, Removing the giants and learning from the crowd: A new SZ power spectrum method and revised Compton y-map analysis, MNRAS 503 (2021) 5310 [2010.07797].DOI
- [17]J. Fluri, T. Kacprzak, A. Lucchi, A. Schneider, A. Refregier and T. Hofmann, Full w CDM analysis of KiDS-1000 weak lensing maps using deep learning, Phys. Rev. D 105 (2022) 083518 [2201.07771].DOI
- [18]N. Jeffrey, L. Whiteway, M. Gatti, J. Williamson, J. Alsing, A. Porredon et al., Dark energy survey year 3 results: likelihood-free, simulation-based wCDM inference with neural compression of weak-lensing map statistics, MNRAS 536 (2025) 1303 [2403.02314].DOI
- [19]A. Thomsen, J. Bucko, T. Kacprzak, V. Ajani, J. Fluri, A. Refregier et al., Dark Energy Survey Year 3 results: Simulation-based wCDM inference from weak lensing and galaxy clustering maps with deep learning: Analysis design, Phys. Rev. D 113 (2026) 083501 [2511.04681].DOI
- [20]A. Hojjati, T. Tröster, J. Harnois-Déraps, I.G. McCarthy, L. van Waerbeke, A. Choi et al., Cross-correlating Planck tSZ with RCSLenS weak lensing: implications for cosmology and AGN feedback, MNRAS 471 (2017) 1565 [1608.07581].DOI
- [21]K. Osato, M. Shirasaki, H. Miyatake, D. Nagai, N. Yoshida, M. Oguri et al., Cross-correlation of the thermal Sunyaev-Zel’dovich effect and weak gravitational lensing: Planck and Subaru Hyper Suprime-Cam first-year data, MNRAS 492 (2020) 4780 [1910.07526].DOI
- [22]T. Tröster, A.J. Mead, C. Heymans, Z. Yan, D. Alonso, M. Asgari et al., Joint constraints on cosmology and the impact of baryon feedback: Combining KiDS-1000 lensing with the thermal Sunyaev-Zeldovich effect from Planck and ACT, A&A 660 (2022) A27 [2109.04458].DOI
- [23]M. Gatti, S. Pandey, E. Baxter, J.C. Hill, E. Moser, M. Raveri et al., Cross-correlation of Dark Energy Survey Year 3 lensing data with ACT and Planck thermal Sunyaev-Zel’dovich effect observations. I. Measurements, systematics tests, and feedback model constraints, Phys. Rev. D 105 (2022) 123525 [2108.01600].
- [24]S. Pandey, J.C. Hill, A. Alarcon, O. Alves, A. Amon, D. Anbajagane et al., Constraints on cosmology and baryonic feedback with joint analysis of Dark Energy Survey Year 3 lensing data and ACT DR6 thermal Sunyaev-Zel’dovich effect observations, arXiv e-prints (2025) arXiv:2506.07432 [2506.07432].arxiv.org/abs/2506.07432
- [25]F. McCarthy and J.C. Hill, Cross-correlation of the thermal Sunyaev-Zel’dovich and CMB lensing signals in Planck PR4 data with robust CIB decontamination, Phys. Rev. D 109 (2024) 023529 [2308.16260].arxiv.org/abs/2308.16260
- [26]L. Lucie-Smith, H.V. Peiris, A. Pontzen, A. Halder, J. Schaye, M. Schaller et al., Cosmological feedback from a halo assembly perspective, Phys. Rev. D 112 (2025) 063541 [2505.18258].
- [27]Y. Dubois, C. Pichon, C. Welker, D. Le Borgne, J. Devriendt, C. Laigle et al., Dancing in the dark: galactic properties trace spin swings along the cosmic web, MNRAS 444 (2014) 1453 [1402.1165].DOI
- [28]A.M.C. Le Brun, I.G. McCarthy, J. Schaye and T.J. Ponman, Towards a realistic population of simulated galaxy groups and clusters, Mon. Not. Roy. Astron. Soc. 441 (2014) 1270 [1312.5462].DOI
- [29]I.G. McCarthy, J. Schaye, S. Bird and A.M.C. Le Brun, The BAHAMAS project: Calibrated hydrodynamical simulations for large-scale structure cosmology, Mon. Not. Roy. Astron. Soc. 465 (2017) 2936 [1603.02702].DOI
- [30]V. Springel et al., First results from the IllustrisTNG simulations: matter and galaxy clustering, Mon. Not. Roy. Astron. Soc. 475 (2018) 676 [1707.03397].DOI
- [31]K. Dolag, E. Komatsu and R. Sunyaev, SZ effects in the Magneticum Pathfinder Simulation: Comparison with the Planck, SPT, and ACT results, Mon. Not. Roy. Astron. Soc. 463 (2016) 1797 [1509.05134].DOI
- [32]T. Kacprzak, J. Fluri, A. Schneider, A. Refregier and J. Stadel, CosmoGrid V1: a simulated ΛCDM theory prediction for map-level cosmological inference, J. Cosmology Astropart. Phys. 2023 (2023) 050 [2209.04662].DOI
- [33]M. Schaller, J. Schaye, R. Kugel, J.C. Broxterman and M.P. van Daalen, The FLAMINGO project: baryon effects on the matter power spectrum, MNRAS 539 (2025) 1337 [2410.17109].DOI
- [34]A. Schneider and R. Teyssier, A new method to quantify the effects of baryons on the matter power spectrum, J. Cosmology Astropart. Phys. 2015 (2015) 049 [1510.06034].DOI
- [35]A. Schneider, R. Teyssier, J. Stadel, N.E. Chisari, A.M.C. Le Brun, A. Amara et al., Quantifying baryon effects on the matter power spectrum and the weak lensing shear correlation, J. Cosmology Astropart. Phys. 2019 (2019) 020 [1810.08629].DOI
- [36]G. Aricò, R.E. Angulo, C. Hernández-Monteagudo, S. Contreras and M. Zennaro, Simultaneous modelling of matter power spectrum and bispectrum in the presence of baryons, Mon. Not. Roy. Astron. Soc. 503 (2021) 3596 [2009.14225].DOI
- [37]G. Aricò, R.E. Angulo, S. Contreras, L. Ondaro-Mallea, M. Pellejero-Ibañez and M. Zennaro, The BACCO simulation project: a baryonification emulator with neural networks, Mon. Not. Roy. Astron. Soc. 506 (2021) 4070 [2011.15018].DOI
- [38]D. Anbajagane, S. Pandey and C. Chang, Map-level baryonification: Efficient modelling of higher-order correlations in the weak lensing and thermal Sunyaev-Zeldovich fields, The Open Journal of Astrophysics 7 (2024) 108 [2409.03822].DOI
- [39]A. Schneider, M. Kovač, J. Bucko, A. Nicola, R. Reischke, S.K. Giri et al., Baryonification: an alternative to hydrodynamical simulations for cosmological studies, J. Cosmology Astropart. Phys. 2025 (2025) 043 [2507.07892].arxiv.org/abs/2507.07892
- [40]S.K. Giri and A. Schneider, Emulation of baryonic effects on the matter power spectrum and constraints from galaxy cluster data, J. Cosmology Astropart. Phys. 2021 (2021) 046 [2108.08863].DOI
- [41]A.J. Zhou, M. Gatti, D. Anbajagane, S. Dodelson, M. Schaller and J. Schaye, Map-level baryonification: unified treatment of weak lensing two-point and higher-order statistics, J. Cosmology Astropart. Phys. 2025 (2025) 073 [2505.07949].DOI
- [42]A. Schneider, S.K. Giri, S. Amodeo and A. Refregier, Constraining baryonic feedback and cosmology with weak-lensing, X-ray, and kinematic Sunyaev-Zeldovich observations, MNRAS 514 (2022) 3802 [2110.02228].DOI
- [43]S. Grandis, G. Aricò, A. Schneider and L. Linke, Determining the baryon impact on the matter power spectrum with galaxy clusters, MNRAS 528 (2024) 4379 [2309.02920].arxiv.org/abs/2309.02920
- [44]L. Bigwood, A. Amon, A. Schneider, J. Salcido, I.G. McCarthy, C. Preston et al., Weak lensing combined with the kinetic Sunyaev-Zel’dovich effect: a study of baryonic feedback, MNRAS 534 (2024) 655 [2404.06098].arxiv.org/abs/2404.06098
- [45]M. Kovač, A. Nicola, J. Bucko, A. Schneider, R. Reischke, S.K. Giri et al., Baryonification II: constraining feedback with X-ray and kinematic Sunyaev-Zel’dovich observations, J. Cosmology Astropart. Phys. 2025 (2025) 046 [2507.07991].DOI
- [46]J. Siegel, L. Bigwood, A. Amon, J. McCullough, M. Yamamoto, I.G. McCarthy et al., The suppression of the matter power spectrum: strong feedback from X-ray gas mass fractions, kSZ effect profiles, and galaxy-galaxy lensing, MNRAS 549 (2026) stag993 [2512.02954].DOI
- [47]J. Bucko, A. Nicola, A. Schneider, M. Kovač, S.K. Giri, R. Reischke et al., Baryonification IV: Constraining baryonic feedback with X-ray gas fractions, arXiv e-prints (2026) arXiv:2609.09144 [2609.09144].arxiv.org/abs/2609.09144
- [48]G. Aricò and R.E. Angulo, Baryonification extended to thermal Sunyaev Zel’dovich, A&A 690 (2024) A188 [2406.01672].DOI
- [49]K. Osato and D. Nagai, Baryon pasting algorithm: halo-based and particle-based pasting methods, MNRAS 519 (2023) 2069 [2201.02632].DOI
- [50]R. Kugel, J. Schaye, M. Schaller, J.C. Helly, J. Braspenning, W. Elbers et al., FLAMINGO: calibrating large cosmological hydrodynamical simulations with machine learning, MNRAS 526 (2023) 6103 [2306.05492].arxiv.org/abs/2306.05492
- [51]R.A. Sunyaev and Y.B. Zeldovich, Small-Scale Fluctuations of Relic Radiation, Ap&SS 7 (1970) 3.DOI
- [52]J. Delabrouille, J.-F. Cardoso, M. Le Jeune, M. Betoule, G. Fay and F. Guilloux, A full sky, low foreground, high resolution CMB map from WMAP, A&A 493 (2009) 835 [0807.0773].DOI
- [53]U. Seljak, Analytic model for galaxy and dark matter clustering, MNRAS 318 (2000) 203 [astro-ph/0001493].DOI
- [54]J.A. Peacock and R.E. Smith, Halo occupation numbers and galaxy bias, MNRAS 318 (2000) 1144 [astro-ph/0005010].DOI
- [55]A. Cooray and R. Sheth, Halo models of large scale structure, Phys. Rep. 372 (2002) 1 [astro-ph/0206508].DOI
- [56]B. Bolliet, B. Comis, E. Komatsu and J.F. Macías-Pérez, Dark energy constraints from the thermal Sunyaev-Zeldovich power spectrum, MNRAS 477 (2018) 4957 [1712.00788].DOI
- [57]J.F. Navarro, C.S. Frenk and S.D.M. White, The Structure of Cold Dark Matter Halos, ApJ 462 (1996) 563 [astro-ph/9508025].DOI
- [58]J.F. Navarro, C.S. Frenk and S.D.M. White, A Universal Density Profile from Hierarchical Clustering, ApJ 490 (1997) 493 [astro-ph/9611107].DOI
- [59]E.A. Baltz, P. Marshall and M. Oguri, Analytic models of plausible gravitational lens potentials, J. Cosmology Astropart. Phys. 2009 (2009) 015 [0705.0682].DOI
- [60]B.D. Oppenheimer, Deviations from hydrostatic equilibrium in the circumgalactic medium: spinning hot haloes and accelerating flows, MNRAS 480 (2018) 2963 [1801.00788].DOI
- [61]J. Braspennning, J. Schaye, M. Schaller, R. Kugel and S.T. Kay, Hydrostatic mass bias for galaxy groups and clusters in the FLAMINGO simulations, MNRAS 536 (2025) 3784 [2409.07849].arxiv.org/abs/2409.07849
- [62]L.D. Shaw, D. Nagai, S. Bhattacharya and E.T. Lau, Impact of Cluster Physics on the Sunyaev-Zel’dovich Power Spectrum, ApJ 725 (2010) 1452 [1006.1945].DOI
- [63]K. Nelson, E.T. Lau and D. Nagai, Hydrodynamic Simulation of Non-thermal Pressure Profiles of Galaxy Clusters, ApJ 792 (2014) 25 [1404.4636].DOI
- [64]M. Angelinelli, F. Vazza, C. Giocoli, S. Ettori, T.W. Jones, G. Brunetti et al., Turbulent pressure support and hydrostatic mass bias in the intracluster medium, MNRAS 495 (2020) 864 [1905.04896].DOI
- [65]S. Dodelson, Modern Cosmology (2003), 10.1016/B978-0-12-219141-1.X5019-0.
- [66]N.E. Chisari, D. Alonso, E. Krause, C.D. Leonard, P. Bull, J. Neveu et al., Core Cosmology Library: Precision Cosmological Predictions for LSST, ApJS 242 (2019) 2 [1812.05995].DOI
- [67]J.C. Helly, R.J. McGibbon, J. Schaye, M. Schaller, W. McDonald, J. Braspennning et al., The FLAMINGO simulations data release, Astronomy and Computing 57 (2026) 101159 [2604.24234].DOI
- [68]M. Schaller, J. Borrow, P.W. Draper, M. Ivkovic, S. McAlpine, B. Vandenbroucke et al., SWIFT: A modern highly-parallel gravity and smoothed particle hydrodynamics solver for astrophysical and cosmological applications, MNRAS 530 (2024) 2378 [2305.13380].DOI
- [69]V.J. Forouhar Moreno, J. Helly, R. McGibbon, J. Schaye, M. Schaller, J. Han et al., Assessing subhalo finders in cosmological hydrodynamical simulations, MNRAS 543 (2025) 1339 [2502.06932].arxiv.org/abs/2502.06932
- [70]M. Davis, G. Efstathiou, C.S. Frenk and S.D.M. White, The evolution of large-scale structure in a universe dominated by cold dark matter, ApJ 292 (1985) 371.DOI
- [71]R. McGibbon, J. Helly, J. Schaye, M. Schaller and B. Vandenbroucke, SOAP: A Python Package for Calculating the Properties of Galaxies and Halos Formed in Cosmological Simulations, The Journal of Open Source Software 10 (2025) 852 [2507.22669].DOI
- [72]D. Potter, J. Stadel and R. Teyssier, PKDGRAV3: beyond trillion particle cosmological simulations for the next era of galaxy surveys, Computational Astrophysics and Cosmology 4 (2017) 2 [1609.08621].arxiv.org/abs/1609.08621
- [73]T. Tram, J. Brandbyge, J. Dakin and S. Hannestad, Fully relativistic treatment of light neutrinos in N-body simulations, J. Cosmology Astropart. Phys. 2019 (2019) 022 [1811.00904].DOI
- [74]G. Despali, C. Giocoli, R.E. Angulo, G. Tormen, R.K. Sheth, G. Baso et al., The universality of the virial halo mass function and models for non-universality of other halo definitions, MNRAS 456 (2016) 2486 [1507.05627].DOI
- [75]S. Bocquet, K. Heitmann, S. Habib, E. Lawrence, T. Uram, N. Frontiere et al., The Mira-Titan Universe. III. Emulation of the Halo Mass Function, ApJ 901 (2020) 5 [2003.12116].arxiv.org/abs/2003.12116
- [76]I.G. McCarthy, J. Salcido, J. Schaye, J. Kwan, W. Elbers, R. Kugel et al., The FLAMINGO project: revisiting the S8 tension and the role of baryonic physics, MNRAS 526 (2023) 5494 [2309.07959].arxiv.org/abs/2309.07959
- [77]A.J. Mead and L. Verde, Including beyond-linear halo bias in halo models, MNRAS 503 (2021) 3095 [2011.08858].DOI
- [78]M. Asgari, A.J. Mead and C. Heymans, The halo model for cosmology: a pedagogical review, The Open Journal of Astrophysics 6 (2023) 39 [2303.08752].DOI
- [79]C.R. Harris, K.J. Millman, S.J. van der Walt, R. Gommers, P. Virtanen, D. Cournapeau et al., Array programming with numpy, Nature 585 (2020) 357.DOI
- [80]P. Virtanen, R. Gommers, T.E. Oliphant, M. Haberland, T. Reddy, D. Cournapeau et al., SciPy 1.0: fundamental algorithms for scientific computing in Python, Nature Methods 17 (2020) 261 [1907.10121].DOI
- [81]J.D. Hunter, Matplotlib: A 2d graphics environment, Computing in Science & Engineering 9 (2007) 90.DOI
- [82]K.M. Górski, E. Hivon, A.J. Banday, B.D. Wandelt, F.K. Hansen, M. Reinecke et al., HEALPix: A Framework for High-Resolution Discretization and Fast Analysis of Data Distributed on the Sphere, ApJ 622 (2005) 759 [astro-ph/0409513].DOI
- [83]D. Blas, J. Lesgourgues and T. Tram, The Cosmic Linear Anisotropy Solving System (CLASS). Part II: Approximation schemes, J. Cosmology Astropart. Phys. 2011 (2011) 034 [1104.2933].DOI
- [84]J. Lesgourgues, The Cosmic Linear Anisotropy Solving System (CLASS) I: Overview, arXiv e-prints (2011) arXiv:1104.2932 [1104.2932].arxiv.org/abs/1104.2932
- [85]A. Schneider, R. Teyssier, D. Potter, J. Stadel, J. Onions, D.S. Reed et al., Matter power spectrum and the challenge of percent accuracy, JCAP 04 (2016) 047 [1503.05920].DOI
- [86]J. Tinker, A.V. Kravtsov, A. Klypin, K. Abazajian, M. Warren, G. Yepes et al., Toward a Halo Mass Function for Precision Cosmology: The Limits of Universality, ApJ 688 (2008) 709 [0803.2706].DOI
- [87]J.L. Tinker, B.E. Robertson, A.V. Kravtsov, A. Klypin, M.S. Warren, G. Yepes et al., The Large-scale Bias of Dark Matter Halos: Numerical Calibration and Model Tests, ApJ 724 (2010) 878 [1001.3162].DOI
- [88]S. Bocquet, A. Saro, K. Dolag and J.J. Mohr, Halo mass function: baryon impact, fitting formulae, and implications for cluster cosmology, MNRAS 456 (2016) 2361 [1502.07357].DOI
- [89]S.R. Knollmann and A. Knebe, AHF: Amiga's Halo Finder, ApJS 182 (2009) 608 [0904.3662].DOI
- [91]E.T. Lau, A.V. Kravtsov and D. Nagai, Residual Gas Motions in the Intracluster Medium and Bias in Hydrostatic Measurements of Mass Profiles of Clusters, ApJ 705 (2009) 1129 [0903.4895].DOI















