betaFeedback

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-yy maps across many cosmologies and feedback scenarios. We present two methods to generate Compton-yy maps from dark-matter-only NN-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-yy 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 ∼5%\sim5\% for 500≲ℓ≲3000500\lesssim\ell\lesssim3000. Applied to a CosmoGridV1-like NN-body simulation, our maps agree with FLAMINGO within ∼10%\sim10\% for 300≲ℓ≲8000300\lesssim\ell\lesssim8000; 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 NN-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-yy parameter, is the line-of-sight integral of the thermal electron pressure Pe∝neTeP_{\mathrm{e}} \propto n_{\mathrm{e}}T_{\mathrm{e}}. The signal therefore depends both on where the gas is located and on how much thermal energy has been injected by feedback. Compton-yy 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 CℓyyC_{\ell}^{yy} has been measured over a wide range of scales [7, 8, 9, 10]. Its amplitude scales steeply with the matter fluctuations, Cℓyy∝σ87C_{\ell}^{yy} \propto\sigma_{8}^{7} [11], while its shape at ℓ≳1000\ell\gtrsim1000 traces the same feedback that suppresses the matter power spectrum [12]. Hydrodynamical simulations generally overpredict the measured CℓyyC_{\ell}^{yy} unless a low-S8S_{8} cosmology is adopted [13, 14, 15], illustrating how closely cosmology and feedback are intertwined in this observable. Moreover, since the integrated Compton-yy signal of a halo scales roughly as M5/3M^{5/3}, CℓyyC_{\ell}^{yy} at ℓ≲1000\ell\lesssim1000 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 σ8\sigma_{8} 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 ∼20,000\sim20{,}000 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) NN-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 NN-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 ∼10%\sim10\% and ∼1%\sim1\%, 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 NN-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-yy 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-yy profiles and CℓyyC_\ell^{yy} 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 NN-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 (fgas−8σf_{\mathrm{gas}} - 8\sigma) 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-yy 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-yy 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-yy 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-yy signal as a function of angular position from the center of the cluster θ\theta:

y(θ)=σTmec2∫losdl Pe(l2+dA(z)2θ2)(1)y(\theta) = \frac{\sigma_{\mathrm{T}}}{m_{\mathrm{e}}c^2}\int_{\mathrm{los}} \mathrm{d}l\,\mathcal{P}_{\mathrm{e}}\left(\sqrt{l^2+d_{\mathrm{A}}(z)^2\theta^2}\right) \tag*{(1)}

where σT\sigma_{\mathrm{T}} is the Thomson cross-section, mec2m_{\mathrm{e}}c^2 the electron rest-mass energy, Pe\mathcal{P}_{\mathrm{e}} the thermal electron pressure, and dA(z)d_{\mathrm{A}}(z) the angular diameter distance at redshift zz. Since yy 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 Pe\mathcal{P}_{\mathrm{e}} 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 LL.

tSZ power spectrum

While the spatial Compton-yy map traces the line-of-sight integrated thermal pressure, the angular auto-power spectrum efficiently captures its statistical properties, CℓyyC_{\ell}^{yy}. Measuring CℓyyC_{\ell}^{yy} provides a dual probe of cosmological parameters and baryonic astrophysics. Since the Compton-yy signal is dominated by massive clusters, its overall normalization is strongly sensitive to σ8\sigma_{8} [11], while its small-scale shape (ℓ≳1000\ell\gtrsim1000) traces the gas pressure profile Pe(r)\mathcal{P}_{e}(r) and hence baryonic feedback. Compton-yy 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 ≈217\approx217 GHz and an increment above it. CℓyyC_{\ell}^{yy} is then measured from these maps with pseudo-CℓC_{\ell} 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, CℓyyC_{\ell}^{yy} can be predicted well through the halo model [53, 54, 55]. Within the halo model, the power spectrum of two fields U(x)U(\mathbf{x}) and V(x)V(\mathbf{x}) 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:

PUV(k,z)=PUV1h(k,z)+PUV2h(k,z),(2)P_{UV}(k,z)=P_{UV}^{1\mathrm{h}}(k,z)+P_{UV}^{2\mathrm{h}}(k,z), \tag*{(2)}

with

PUV1h(k,z)=∫dM dndM(M,z) u(k,z∣M) v(k,z∣M),(3)P_{UV}^{1\mathrm{h}}(k,z)=\int\mathrm{d}M\,\frac{\mathrm{d}n}{\mathrm{d}M}(M,z)\,u(k,z|M)\,v(k,z|M), \tag*{(3)}
PUV2h(k,z)=⟨bu⟩(k,z)⟨bv⟩(k,z)Plin(k,z),(4)P_{UV}^{2\mathrm{h}}(k,z)=\langle bu\rangle(k,z)\langle bv\rangle(k,z)P_{\mathrm{lin}}(k,z), \tag*{(4)}

where we have defined the bias-weighted profile integral

⟨bu⟩(k,z)≡∫dM dndM(M,z)b(M,z)u(k,z∣M),(5)\langle bu\rangle(k,z)\equiv\int\mathrm{d}M\,\frac{\mathrm{d}n}{\mathrm{d}M}(M,z)b(M,z)u(k,z|M), \tag*{(5)}

and analogously for vv. dn/dM\mathrm{d}n/\mathrm{d}M is the halo mass function, b(M,z)b(M,z) the linear halo bias, Plin(k,z)P_{\mathrm{lin}}(k,z) the linear matter power spectrum, and uu and vv the Fourier-space profiles of UU and VV for a halo with mass MM. For the tSZ auto-power spectrum, u=v=P~eu=v=\widetilde{\mathcal{P}}_{e}, the Fourier transform of the isotropic electron pressure profile,

P~e(k,z∣M)=4π∫0∞dr r2sin⁡(kr)krPe(r∣M,z),(6)\widetilde{\mathcal{P}}_{e}(k,z|M)=4\pi\int_{0}^{\infty}\mathrm{d}r\,r^{2}\frac{\sin(kr)}{kr}\mathcal{P}_{e}(r|M,z), \tag*{(6)}

The angular power spectrum CℓyyC_{\ell}^{yy} is obtained from the standard power spectrum Pee(k,a)P_{ee}(k,a) via the Limber-approximated projection

Cℓyy=∫dχ Wy(χ)2χ2Pee(k=ℓ+1/2χ,z(χ)),(7)C_{\ell}^{yy}=\int\mathrm{d}\chi\,\frac{W_{y}(\chi)^{2}}{\chi^{2}}P_{ee}\left(k=\frac{\ell+1/2}{\chi},z(\chi)\right), \tag*{(7)}

where χ\chi is the comoving distance and the Compton-yy radial kernel is

Wy(χ)=σTmec211+z(χ).(8)W_{y}(\chi)=\frac{\sigma_{\mathrm{T}}}{m_{e}c^{2}}\frac{1}{1+z(\chi)}. \tag*{(8)}

We estimate the theoretical uncertainty of the halo-model prediction from the covariance of CℓyyC_{\ell}^{yy}, the sum of a Gaussian and a connected non-Gaussian term [11, 56],

Cov⁡(ℓ,ℓ′)=2(Cℓyy)2(2ℓ+1)fskyδℓℓ′+14πfsky∫dχ Wy(χ)4χ6Tee1h(ℓ+1/2χ,ℓ′+1/2χ,z(χ)),(9)\operatorname{Cov}(\ell,\ell')=\frac{2(C_{\ell}^{yy})^{2}}{(2\ell+1)f_{\mathrm{sky}}}\delta_{\ell\ell'}+\frac{1}{4\pi f_{\mathrm{sky}}}\int\mathrm{d}\chi\,\frac{W_{y}(\chi)^{4}}{\chi^{6}}T_{ee}^{1\mathrm{h}}\left(\frac{\ell+1/2}{\chi},\frac{\ell'+1/2}{\chi},z(\chi)\right), \tag*{(9)}

with fskyf_{\mathrm{sky}} being the sky fraction and Tee1hT_{\mathrm{ee}}^{\mathrm{1h}} the one-halo term of the trispectrum. Since CℓyyC_{\ell}^{yy} is dominated by rare, massive clusters [11] we keep only the one-halo term of the trispectrum,

Tee1h(k,k′,z)=∫dM dndM(M,z) P~e2(k,z∣M) P~e2(k′,z∣M).(10)T_{\mathrm{ee}}^{\mathrm{1h}}(k,k',z)=\int\mathrm{d}M\,\frac{\mathrm{d}n}{\mathrm{d}M}(M,z)\,\widetilde{P}_{\mathrm{e}}^{2}(k,z|M)\,\widetilde{P}_{\mathrm{e}}^{2}(k',z|M). \tag*{(10)}

The theoretical uncertainty on CℓyyC_{\ell}^{yy} is the square root of the diagonal of Eq. (2.9),

σ2(Cℓyy)=2(Cℓyy)2(2ℓ+1)fsky+Cov⁡cNG(ℓ,ℓ),(11)\sigma^{2}\left(C_{\ell}^{yy}\right)=\frac{2\left(C_{\ell}^{yy}\right)^{2}}{(2\ell+1)f_{\mathrm{sky}}}+\operatorname{Cov}^{\mathrm{cNG}}(\ell,\ell), \tag*{(11)}

where Cov⁡cNG\operatorname{Cov}^{\mathrm{cNG}} is the second term of Eq. (9) and fsky=1f_{\mathrm{sky}}=1 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 NN-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 θbfc\boldsymbol{\theta}_{\mathrm{bfc}} 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 θbfc\boldsymbol{\theta}_{\mathrm{bfc}}. Throughout this paper, we define the halo mass, M200M_{200}, as the mass enclosed within a radius r200r_{200} 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

ddm(ri,dm∣M200,c200,θbfc)=rf,dm(Mdm)−ri,dm(Mdm),dbar(ri,bar∣M200,c200,θbfc)=rf,bar(Mbar)−ri,bar(Mbar),(12)\begin{aligned} d_{\mathrm{dm}}(r_{\mathrm{i,dm}}|M_{200},c_{200},\boldsymbol{\theta}_{\mathrm{bfc}})&=r_{\mathrm{f,dm}}(M_{\mathrm{dm}})-r_{\mathrm{i,dm}}(M_{\mathrm{dm}}),\\ d_{\mathrm{bar}}(r_{\mathrm{i,bar}}|M_{200},c_{200},\boldsymbol{\theta}_{\mathrm{bfc}})&=r_{\mathrm{f,bar}}(M_{\mathrm{bar}})-r_{\mathrm{i,bar}}(M_{\mathrm{bar}}), \tag*{(12)} \end{aligned}

and thus depends on the initial radius rir_{\mathrm{i}} of the particle, the halo mass M200M_{200}, the halo concentration c200c_{200}, and the BFC parameters θbfc\boldsymbol{\theta}_{\mathrm{bfc}}. The functions ri,f(M)r_{\mathrm{i,f}}(M) are the inverse cumulative mass profiles of the initial gravity-only and final baryonified states,

Mi,f(r)=4π∫0rds s2ρi,f(s),(13)M_{\mathrm{i,f}}(r)=4\pi\int_{0}^{r}\mathrm{d}s\,s^{2}\rho_{\mathrm{i,f}}(s), \tag*{(13)}

where rr is the distance to the halo center, and ρi,f\rho_{\mathrm{i,f}} 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.

ρdm,i(r)=fdm[ρnfw(r)+ρ2h(r)],ρdm,f(r)=ρdm(r)+fdmρ2h(r),\rho_{\mathrm{dm,i}}(r) = f_{\mathrm{dm}}[\rho_{\mathrm{nfw}}(r) + \rho_{2\mathrm{h}}(r)], \qquad\rho_{\mathrm{dm,f}}(r) = \rho_{\mathrm{dm}}(r) + f_{\mathrm{dm}}\rho_{2\mathrm{h}}(r),
ρbar,i(r)=fbar[ρnfw(r)+ρ2h(r)],ρbar,f(r)=ρgas(r)+ρstars(r)+fbarρ2h(r),(14)\rho_{\mathrm{bar,i}}(r) = f_{\mathrm{bar}}[\rho_{\mathrm{nfw}}(r) + \rho_{2\mathrm{h}}(r)], \qquad\rho_{\mathrm{bar,f}}(r) = \rho_{\mathrm{gas}}(r) + \rho_{\mathrm{stars}}(r) + f_{\mathrm{bar}}\rho_{2\mathrm{h}}(r), \tag*{(14)}

where the cosmic dark matter and baryon fractions are defined by fdm=Ωdm/Ωmf_{\mathrm{dm}} = \Omega_{\mathrm{dm}}/\Omega_{\mathrm{m}} and fbar=Ωb/Ωmf_{\mathrm{bar}} = \Omega_{\mathrm{b}}/\Omega_{\mathrm{m}}. The final state profiles of the gas and stellar components are further divided into ρgas=ρhga+ρiga\rho_{\mathrm{gas}} = \rho_{\mathrm{hga}}+\rho_{\mathrm{iga}} and ρstars=ρcga+ρsga\rho_{\mathrm{stars}} = \rho_{\mathrm{cga}}+\rho_{\mathrm{sga}}, 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

ρhga(r)=ρhga,0[1+xcα]−β(M200)/α[1+xtγ]−δ/γ,(15)\rho_{\mathrm{hga}}(r) = \rho_{\mathrm{hga},0} [1 + x_{\mathrm{c}}^{\alpha}]^{-\beta(M_{200})/\alpha} [1 + x_{\mathrm{t}}^{\gamma}]^{-\delta/\gamma}, \tag*{(15)}

where xc=r/rcx_{\mathrm{c}} = r/r_{\mathrm{c}} and xt=r/rtx_{\mathrm{t}} = r/r_{\mathrm{t}}. The core radius is defined as rc=θcor200r_{\mathrm{c}} = \theta_{\mathrm{co}}r_{200}, the truncation radius as rt=εr200r_{\mathrm{t}} = \varepsilon r_{200} with ε=ε0−ε1ν\varepsilon= \varepsilon_{0} - \varepsilon_{1}\nu, with ε0=4.0\varepsilon_{0} = 4.0, ε1=0.5\varepsilon_{1} = 0.5, and ν=δc/σ(M)\nu= \delta_{\mathrm{c}}/\sigma(M) being the peak height of the halo with δc=1.686\delta_{\mathrm{c}} = 1.686. θco\theta_{\mathrm{co}}, and δ\delta regulate the inner and outer parts of the hot gas profile, while the mass-dependent slope β\beta of the profile is defined through

β(M200)=3(M200/Mc)μ1+(M200/Mc)μ.(16)\beta(M_{200}) = \frac{3(M_{200}/M_{\mathrm{c}})^{\mu}}{1 + (M_{200}/M_{\mathrm{c}})^{\mu}}. \tag*{(16)}

The parameters McM_{\mathrm{c}} and μ\mu control the pivot mass and mass dependence of the gas profile. Lower-mass halos generally have flatter gas density profiles (lower β\beta) 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,

fgas=fbar−fstar−figa.(17)f_{\mathrm{gas}} = f_{\mathrm{bar}} - f_{\mathrm{star}} - f_{\mathrm{iga}}. \tag*{(17)}

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

dPtotdr=−ρhga(r)GMtot(r)r2,(18)\frac{\mathrm{d}\mathcal{P}_{\mathrm{tot}}}{\mathrm{d}r} = -\rho_{\mathrm{hga}}(r)\frac{GM_{\mathrm{tot}}(r)}{r^{2}}, \tag*{(18)}

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: Ptot=Pth+Pnth\mathcal{P}_{\mathrm{tot}} = \mathcal{P}_{\mathrm{th}} + \mathcal{P}_{\mathrm{nth}}. 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

PnthPtot(z)=αnth(z)(rR200)nnth,(19)\frac{\mathcal{P}_{\mathrm{nth}}}{\mathcal{P}_{\mathrm{tot}}}(z) = \alpha_{\mathrm{nth}}(z) \left(\frac{r}{R_{200}}\right)^{n_{\mathrm{nth}}}, \tag*{(19)}

with nnthn_{\mathrm{nth}} defining the slope of the non-thermal pressure and αnth(z)=αnth,0f(z)\alpha_{\mathrm{nth}}(z) = \alpha_{\mathrm{nth},0}f(z) being the redshift dependent amplitude, with αnth,0\alpha_{\mathrm{nth},0} being the amplitude at redshift z=0z = 0. f(z)f(z) is an increasing or decreasing function of redshift given by:

f(z)=min⁡[(1+z)βnth,(fmax⁡−1)tanh⁡(βnthz)+1],(20)f(z) = \min\left[(1+z)^{\beta_{\mathrm{nth}}}, (f_{\max} - 1)\tanh(\beta_{\mathrm{nth}}z) + 1\right], \tag*{(20)}

with fmax⁡=4−nnth/αnth,0f_{\max} = 4^{-n_{\mathrm{nth}}/\alpha_{\mathrm{nth},0}} and βnth\beta_{\mathrm{nth}} a free parameter regulating the evolution rate. While Ref. [62] originally calibrated αnth,0=0.18\alpha_{\mathrm{nth},0} = 0.18, βnth=0.5\beta_{\mathrm{nth}} = 0.5, and nnth=0.8n_{\mathrm{nth}} = 0.8 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 αnth,0\alpha_{\mathrm{nth},0}, βnth\beta_{\mathrm{nth}}, and nnthn_{\mathrm{nth}} 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 αnth,0\alpha_{\mathrm{nth},0}, βnth\beta_{\mathrm{nth}}, and nnthn_{\mathrm{nth}} 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 r200r_{200}, where the non-thermal correction formally exceeds the total pressure; in this regime we set Pth(r)=0\mathcal{P}_{\mathrm{th}}(r) = 0, consistent with the expectation that thermal pressure support vanishes before non-thermal support does.

ParameterDescriptionL1_m9fgas−8σf_{\mathrm{gas}} - 8\sigma
Fitted to the FLAMINGO gas mass-fraction and pressure profiles
θco\theta_{\mathrm{co}}Core radius of the gas profile relative to r200r_{200} (Eq. (15))0.2760.351
log⁡10Mc[M⊙/h]\log_{10} M_{\mathrm{c}}[\mathrm{M}_{\odot}/h]Pivot mass for the mass-dependent slope of the gas profile (Eq. (15) & Eq. (16))13.15313.660
μ\muTransition steepness of mass-dependent gas parameter (Eq. (15) & Eq. (16))0.8990.922
δ\deltaCharacterizes the transition from the inner to the outer part of the gas profile (Eq. (15))4.5744.830
η\etaTotal stellar fraction within a halo (Eq. (21) in [39])0.0660.073
dηd\etaFraction of central galaxies with respect to the total stellar fraction (Eq. (21) in [39])0.2150.226
NstarN_{\mathrm{star}}Stellar fraction amplitude (Eq. (21) in [39])0.0260.028
cigac_{\mathrm{iga}}Cold gas fraction (Eq. 2.23 in [39])0.1220.107
Fixed: measured from the FLAMINGO gas velocities
αnth,0\alpha_{\mathrm{nth},0}Non-thermal pressure amplitude at z=0z = 0 (Eq. (19))0.1350.107
nnthn_{\mathrm{nth}}Slope of the non-thermal pressure (see Eq. (19))0.800.54
βnth\beta_{\mathrm{nth}}Redshift evolution for the non-thermal pressure amplitude (see Eq. (20))1.5750.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 fgas−8σf_{\mathrm{gas}} - 8\sigma FLAMINGO simulations (§ 3.2) at redshift z=0z = 0.

Finally, by assuming a fully ionized medium with primordial abundances, the electron pressure can then be estimated with

Pe=(2+2XH3+5XH)Pth,(21)\mathcal{P}_{\mathrm{e}} = \left(\frac{2 + 2X_{\mathrm{H}}}{3 + 5X_{\mathrm{H}}}\right)\mathcal{P}_{\mathrm{th}}, \tag*{(21)}

where XH=0.76X_{\mathrm{H}} = 0.76 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 1.34×1081.34 \times10^{8}, 1.07×1091.07 \times10^{9}, and 8.56×1098.56 \times10^{9} M⊙\mathrm{M}_{\odot}). 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 (fgas−8σf_{\mathrm{gas}} - 8\sigma) 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 fgas−8σf_{\mathrm{gas}} - 8\sigma, 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 N=18003N = 1800^{3} dark matter and baryonic particles and 100031000^{3} neutrino particles, with mgas=1.07×109 M⊙m_{\mathrm{gas}} = 1.07 \times10^{9}\,\mathrm{M}_{\odot}, mCDM=5.65×109 M⊙m_{\mathrm{CDM}} = 5.65 \times10^{9}\,\mathrm{M}_{\odot}, a comoving gravitational softening length of ϵcom=22.3 ckpc\epsilon_{\mathrm{com}} = 22.3\,\mathrm{ckpc}, and a physical softening length of ϵmax⁡=5.7 kpc\epsilon_{\max} = 5.7\,\mathrm{kpc} with a comoving box of side length L=1 GpcL = 1\,\mathrm{Gpc}. The DMO simulation uses N=18003N = 1800^{3} dark matter particles with mass mCDM=6.72×109 M⊙m_{\mathrm{CDM}} = 6.72 \times10^{9}\,\mathrm{M}_{\odot}, while all other parameters remain the same. L2p8_m9 has the same resolution but N=50403N = 5040^{3} dark matter and baryon particles and 280032800^{3} neutrino particles in a box of side length L=2.8 GpcL = 2.8\,\mathrm{Gpc}. 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 z=0.0z = 0.0 (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 8σ8\sigma 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, Nside=4096N_{\mathrm{side}} = 4096 and Nside=4×4096=16384N_{\mathrm{side}} = 4 \times4096 = 16384; throughout this work we use the Nside=4096N_{\mathrm{side}} = 4096 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-yy 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, 1014.010^{14.0}–1014.5 M⊙10^{14.5}\,\mathrm{M}_{\odot}). 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 r200r_{200}, 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 NN-body simulations

Validating our pipeline and testing it against the FLAMINGO simulations requires a DMO NN-body simulation with the same underlying cosmology, which serves as the input for baryonification and for constructing Compton-yy 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 NN-body simulations (with Lbox=900 h−1MpcL_{\mathrm{box}} = 900\,h^{-1}\mathrm{Mpc} and Npart=8323N_{\mathrm{part}} = 832^3) designed for map-level cosmological inference. It combines a grid of ∼2500\sim2500 cosmologies sampled across the wwCDM parameter space (Ωm\Omega_{\mathrm{m}}, σ8\sigma_8, H0H_0, w0w_0, nsn_{\mathrm{s}}, Ωb\Omega_{\mathrm{b}} 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 ∼20,000\sim20{,}000 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 Np=8323≈5.76×108N_{\mathrm{p}} = 832^3 \approx5.76 \times10^8 particles in a periodic box of comoving side length Lbox=900 h−1MpcL_{\mathrm{box}} = 900\,h^{-1}\mathrm{Mpc}. As in CosmoGridV1, the massive neutrinos (a single species with mν=0.06 eVm_\nu= 0.06\,\mathrm{eV}, Ων=0.0014\Omega_\nu= 0.0014) 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

mp=ρcrit,0ΩcbLbox3Np≈1.07×1011 h−1M⊙,(22)m_{\mathrm{p}} = \rho_{\mathrm{crit},0}\Omega_{\mathrm{cb}}\frac{L_{\mathrm{box}}^3}{N_{\mathrm{p}}} \approx1.07 \times10^{11}\,h^{-1}M_{\odot}, \tag*{(22)}

where ρcrit,0=2.775×1011 h2M⊙ Mpc−3\rho_{\mathrm{crit},0} = 2.775 \times10^{11}\,h^2 M_{\odot}\,\mathrm{Mpc}^{-3}. To identify halos in our CosmoGridV1-like simulation, we used HBT-HERONS with a minimal particle Number of Nmin⁡=100N_{\min} = 100, which leads to a minimal halo mass of Mh,min≈1013 M⊙/hM_{\mathrm{h,min}} \approx10^{13}\,M_{\odot}/h.

NamehhΩm\Omega_{\mathrm{m}}Ωb\Omega_{\mathrm{b}}∑mνc2\sum m_{\nu}c^{2}nsn_{\mathrm{s}}AsA_{\mathrm{s}}σ8\sigma_{8}S8S_{8}
D3A0.6810.3060.04860.06 eV0.9672.099×10−92.099 \times10^{-9}0.8070.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 (0,0,0)(0,0,0), redshift z=0z = 0, 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, [χin,χout][\chi_{\mathrm{in}}, \chi_{\mathrm{out}}], 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 χ=Lbox\chi= L_{\mathrm{box}}, i.e. at z≈0.33z \approx0.33 for the CosmoGridV1-like box (Lbox=900 h−1MpcL_{\mathrm{box}} = 900\,h^{-1}\mathrm{Mpc}) and z≈0.24z \approx0.24 for FLAMINGO L1 (Lbox=681 h−1MpcL_{\mathrm{box}} = 681\,h^{-1}\mathrm{Mpc}). Up to z=2z = 2 (χ≈3.6 h−1Gpc\chi\approx3.6\,h^{-1}\mathrm{Gpc}), 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 NN-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 CyyC^{yy} (§ 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 LL,

MAp(R)=2∫0R2πR′ dR′∫0L/2ds ρA(s2+R′2),A={dm,bar}.(23)M_A^{\mathrm{p}}(R) = 2 \int_0^R 2\pi R'\,\mathrm{d}R' \int_0^{L/2} \mathrm{d}s\,\rho_A\left(\sqrt{s^2+R'^{2}}\right), \qquad A = \{\mathrm{dm},\mathrm{bar}\}. \tag*{(23)}

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, IAI_A.

IA=∫dr r2ρA(r)fshell(r)∫dr r2ρA(r).(24)I_A = \frac{\int\mathrm{d}r\,r^2\rho_A(r)f_{\mathrm{shell}}(r)}{\int\mathrm{d}r\,r^2\rho_A(r)}. \tag*{(24)}

where ρA\rho_A refers to the one-halo profile for dark matter or baryons, and fshell(r)f_{\mathrm{shell}}(r) is the fraction of a sphere of radius rr (with the center at the halo’s true comoving position) that falls within the range of the shell. As a result, IAI_A tends towards 1 when the haloes are far from boundaries and decreases to about 1/21/2 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-yy 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-yy 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 Pe(r)\mathcal{P}_{e}(r), which has been calculated using the BFC model (§ 2.3.3) at the halo’s given M200M_{200}, concentration c200c_{200}, and redshift zz. Each profile is then projected along the line of sight,

Pe2D(R)=2∫0L/2Pe(R2+x2) dx.(25)\mathcal{P}_{e}^{2\mathrm{D}}(R) = 2 \int_{0}^{L/2} \mathcal{P}_{e}\left(\sqrt{R^{2}+x^{2}}\right)\,\mathrm{d}x . \tag*{(25)}

RR is the projected comoving distance from the halo center and LL 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-yy profile through

y(θ)=σTmec2Pe2D(R=χθ),(26)y(\theta) = \frac{\sigma_{\mathrm{T}}}{m_{\mathrm{e}}c^{2}}\mathcal{P}_{e}^{2\mathrm{D}}(R=\chi\theta), \tag*{(26)}

We paint y(θ)y(\theta) onto every HEALPix pixel within an angular radius θmax⁡=f200 r200/χ\theta_{\max}=f_{200}\,r_{200}/\chi of the halo, with χ\chi the comoving distance and f200=5f_{200}=5, beyond which we find the tSZ power spectrum to be converged. A pixel at angular separation θp\theta_{p} from the halo center samples the profile at y(θp)y(\theta_{p}). To obtain the pixel-averaged signal, we subdivide each pixel into 16 sub-pixels, evaluate yy 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-yy map.

Gas-weighted Compton-y maps

The painting method described in the previous section assigns each halo a spherically symmetric Compton-yy 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-yy profiles.

In angular annuli, we weight the painted profile in each pixel y(p)y^{(p)} by the gas profile at that pixel g(p)g^{(p)}, i.e.

y(p)⟶y(p)g(p)gˉb,(27)y^{(p)} \longrightarrow y^{(p)}\frac{g^{(p)}}{\bar{g}_{b}}, \tag*{(27)}

where gˉb\bar{g}_{b} is the mean gas profile across all pixels in a given annulus. Since the weight g(p)/gˉbg^{(p)}/\bar{g}_{b} has a mean of unity in each annulus, Equation (27) redistributes the total Compton-yy budget fixed by the painted maps among the pixels according to the simulated gas. The rescaled map thus preserves the mean BFC radial Compton-yy 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-yy map.

Pipeline validation

Before comparing our Compton-yy 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 Nside=2048N_{\mathrm{side}} = 2048, the resolution of CosmoGridV1.

The shell-BFC in this work is validated on the Compton-yy 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 90≤ℓ≤409690 \le\ell\le4096, so for constructing Compton-yy 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-yy power spectrum of two gas-weighted maps from the CosmoGridV1-like simulation (Nside=2048N_{\mathrm{side}} = 2048, 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 ±5%\pm5\%. Error bars show the standard deviation of the individual CℓC_\ell within each ℓ\ell bin. The two gas-weighted spectra agree to better than 0.2%0.2\% over 90≤ℓ≤409690 \le\ell\le4096.

We next compare the gas-weighted method with the shell-BFC gas shells against the painting method (§ 5.1) to generate Compton-yy maps. The top row of Figure 2 shows both maps in a 3∘×3∘3^\circ\times3^\circ field around a massive cluster (M200c=1.8×1015 h−1M⊙M_{200\mathrm{c}} = 1.8 \times10^{15}\ h^{-1}M_\odot, z=0.086z = 0.086). 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 r200r_{200}.

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 Nside=2048N_{\rm side}=2048. Left: gas-weighted spectra using the shell-BFC (blue squares) and painting (black) with their ratio (grey band: ±1%\pm1\%). Right: 3∘×3∘3^\circ\times3^\circ 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 r200r_{200}. 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 ℓ∼1000\ell\sim1000 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 ∼2%\sim2\% 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-yy profiles and the tSZ power spectrum from two different FLAMINGO simulations, corresponding to the fiducial feedback and strong feedback regimes (L1_m9 and fgas−8σf_{\mathrm{gas}} - 8\sigma). First, in § 7.1 we check the agreement of Compton-yy 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-yy profiles

To validate our pressure modeling, we compare our painted Compton-yy maps to the FLAMINGO Compton-yy maps with the same pixel resolution of Nside=4096N_{\mathrm{side}} = 4096. 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-yy maps using the painting method described in § 5.1. We then use the resulting Compton-yy maps to measure halo Compton-yy profiles in different mass and redshift bins. In the FLAMINGO simulations, we randomly select N=1000N = 1000 halos for each mass bin and redshift shell. If there are fewer than NN halos, we use all halos in that bin. We then stack the halos in each redshift and mass bin and calculate the mean Compton-yy profile and its 68% uncertainty. Since the

Compton-yy scales strongly with mass, ∝M5/3\propto M^{5/3}, 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 wi=Miθw_i=M_i^\theta to each halo ii. For every (z,M)(z,M) bin, we solve for θ\theta 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-yy profiles for the fiducial L1_m9 feedback scenario, on a grid of four redshift bins (columns) in the range z=[0.05,0.80]z=[0.05, 0.80] and four halo mass bins (rows) spanning M200c=[1013,1015] M⊙M_{200\mathrm{c}}=[10^{13},10^{15}]\,M_\odot. The solid green line shows the mean Compton-yy 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-yy profiles of our generated maps lie well within the scatter of the measured L1_m9 simulation but tend to underpredict the hydrodynamical profile around r200r_{200} for all mass bins and redshifts. The number of high-mass halos decreases at higher redshift, and we use the best-fit parameters from z=0z=0 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-yy profiles as a function of projected radius R/R200cR/R_{200c} 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 z=0.05z = 0.05 and 0.800.80 and rows show four bins of log⁡10(M200c/M⊙)\log_{10}(M_{200c}/M_\odot) 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 z=0z = 0 best-fit parameters of Table 1. The gray region marks radii smaller than one Nside=4096N_{\mathrm{side}} = 4096 pixel.

Figure 4 shows the same comparison for the fgas−8σf_{\mathrm{gas}} - 8\sigma simulation. The Compton-yy 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 fgas−8σf_{\mathrm{gas}} - 8\sigma Compton-yy profiles but are also low around r200r_{200}. 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 fgas−8σf_{\mathrm{gas}} - 8\sigma 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 fgas−8σf_{\rm gas}-8\sigma simulation (blue), using the fgas−8σf_{\rm gas}-8\sigma best-fit parameters of Table 1.

tSZ power spectrum

Having validated the painted Compton-yy profiles against the L1_m9 and fgas−8σf_{\rm gas}-8\sigma measured Compton-yy profiles, we now turn to the angular power spectrum CℓyyC_\ell^{yy}, 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 fgas−8σf_{\rm gas}-8\sigma scenarios. All measured and theoretically calculated tSZ power spectra span redshifts from zmin⁡=0.05z_{\min}=0.05 to zmax⁡=2.00z_{\max}=2.00 and are calculated using Nside=4096N_{\rm side}=4096 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 CℓyyC_\ell^{yy} 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 fgas−8σf_{\rm gas}-8\sigma. The difference to the measured angular tSZ power spectrum falls below 10% for 250≲ℓ≲5000250 \lesssim\ell\lesssim5000 (and below 5% for 300≲ℓ≲3000300 \lesssim\ell\lesssim3000) for the L1_m9 simulation and below 10% for 360≲ℓ≲7600360 \lesssim\ell\lesssim7600 (below 5% for 500<ℓ<5700500 < \ell< 5700) for the fgas−8σf_{\rm gas} - 8\sigma 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 2500≲ℓ≲50002500 \lesssim\ell\lesssim5000, FLAMINGO itself lies a factor of ∼2.5\sim2.5 (L1_m9) and ∼1.8\sim1.8 (fgas−8σf_{\rm gas} - 8\sigma) 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-yy profiles nor CℓyyC_\ell^{yy} enter the fit, the agreement

Figure 5. tSZ angular power spectrum Dℓyy=ℓ(ℓ+1)Cℓyy/(2π)D_\ell^{yy} = \ell(\ell+ 1)C_\ell^{yy}/(2\pi) over 0.05<z<20.05 < z < 2 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 fgas−8σf_{\rm gas} - 8\sigma (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 Nside=4096N_{\rm side} = 4096 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 150<ℓ<7000150 < \ell< 7000 (within 5% for 1500<ℓ<50001500 < \ell< 5000) for L1_m9 and for 200<ℓ<7600200 < \ell< 7600 (within 5% for 250<ℓ<6000250 < \ell< 6000) for fgas−8σf_{\mathrm{gas}} - 8\sigma. 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 ∼10%\sim10\% on all scales (App. § 10.§ 3).

The two simulations differ in their NN-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 ∼10%\sim10\% above L1_m9 at ℓ≈1000\ell\approx1000 (Figure 5, see also Ref. [76]). Because the tSZ signal scales steeply with halo mass (Cℓyy∝M10/3C_{\ell}^{yy} \propto M^{10/3}, 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 M200c≥9×1014 h−1M⊙M_{200\mathrm{c}} \ge9 \times10^{14}\,h^{-1}M_{\odot} from both lightcones, i.e. 320 halos from the CosmoGridV1-like and 277 from the FLAMINGO lightcone (∼10−5\sim10^{-5} 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 ℓ∼100\ell\sim100 to a few per cent up to ℓ≈2000\ell\approx2000, showing that most of the remaining difference between the two simulations is driven by the most massive halos. At higher ℓ\ell, 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 CℓyyC_{\ell}^{yy} by up to ∼25%\sim25\% (App. § 10.§ 2), comparable to the differences discussed here. This does not preclude precision cosmology with CℓyyC_{\ell}^{yy}, 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 Cℓyy∝σ87C_{\ell}^{yy} \propto\sigma_{8}^{7}, a 20% shift corresponds to only ∼2\sim2–3%3\% in σ8\sigma_{8}, which sets the required calibration accuracy for future emulators.

Figure 7. Effect of removing the most massive halos. Both lightcones are painted with the L1m9L1_{\mathrm{m9}} (left) and fgas−8σf_{\mathrm{gas}} - 8\sigma (right) parameters after removing all halos with M200c≥9×1014 h−1M⊙M_{200c} \ge9 \times10^{14}\,h^{-1}M_{\odot} (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 ±5%\pm5\%. With the cut, the two halo populations agree within a few per cent up to ℓ≈2000\ell\approx2000. The remaining difference at higher ℓ\ell reflects the lower abundance of CosmoGridV1-like halos at higher redshift (App. § 10.§ 2).

For the largest scales ℓ≲200−300\ell\lesssim200 - 300, 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 ℓ≲200\ell\lesssim200, the two-halo term starts to contribute non-negligibly to the tSZ power spectrum, and around ℓ≈100\ell\approx100 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 NN-body simulations based on the component-wise BFC model from S25.

Specifically, we use a CosmoGridV1-like NN-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 ≤ ℓ\ell ≤ 3000 in both feedback models. Painted onto the halos of our CosmoGridV1-like simulation, they agree with FLAMINGO within ∼ 10% for ℓ\ell ≥ 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 M200c≥9×1014 h−1M⊙M_{200c} \ge9 \times10^{14}\ h^{-1}M_{\odot}, only ∼ 10−510^{-5} of all painted halos, brings the two paintings into agreement to within 5% up to ℓ∼2000\ell\sim2000.

These results show that our tSZ simulations based on NN-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-yy profiles, and tSZ power spectra, with maximal differences to within 5% for 500 ≤ ℓ\ell ≤ 3000 once the halo populations are matched. Since the painting requires only a halo catalog, a full-sky Nside=4096N_{\mathrm{side}} = 4096 Compton-yy map of the ∼3.5×107\sim3.5 \times10^{7} halos of the FLAMINGO halo lightcone takes only ∼190\sim190 CPU hours on top of the NN-body run. This therefore lays the groundwork for efficient generation of multiwavelength simulation suites starting from NN-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 NN-body code, initial conditions, box size, neutrino treatment, and particle mass, which is ∼23\sim23 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 z≤0.05z \le0.05, PKDGRAV3 lies ∼2\sim2–3%3\% above FLAMINGO for 0.1≲k≲0.7 Mpc−10.1 \lesssim k \lesssim0.7\ \mathrm{Mpc}^{-1}. This offset builds up at late times: it falls to ∼1%\sim1\% at z=0.7z = 0.7 and is consistent with zero within the scatter at z=4z = 4. At k≲0.1 Mpc−1k \lesssim0.1\ \mathrm{Mpc}^{-1} the ratio scatters by several per cent because the two runs have independent initial phases. Differences of this size are expected between NN-body codes [85], and we do not attempt to separate them further. They are small compared with the effect of the halo population on CℓyyC_\ell^{yy}.

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 P(k)P(k) 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 z=0.00z = 0.00, 0.050.05, 0.700.70, and 4.004.00 (left to right). Bottom row: ratio of the PKDGRAV3 to the FLAMINGO measurements. The two simulations agree within a few percent across the full kk-range shown: the scatter at k≲0.03 Mpc−1k \lesssim0.03\,\mathrm{Mpc}^{-1} reflects sample variance from the independent (unmatched) phases of the two sets of initial conditions, while the 2-3% offset seen at intermediate kk 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 3×1013<M200c/M⊙<3×10143 \times10^{13} < M_{200c}/M_\odot< 3 \times10^{14}, the CosmoGridV1-like run lies within 4%4\% of it at all redshifts shown, and FLAMINGO within 2%2\% up to z=1z = 1. Tinker08 [86] and Despali16 [74] are within ∼8%\sim8\%, while both runs lie ∼20\sim20–25%25\% below Tinker10 [87] and Bocquet16 [88] at z≥0.5z \ge0.5.

Figure 10. Same as Fig. 9, but for the FLAMINGO L1_m9 dark-matter-only run with HBT-HERONS halos (circles), at z=0.05z = 0.05–1.251.25. Bocquet20 again gives the best description, to within 2% up to z=1z = 1. Like the CosmoGridV1-like run, FLAMINGO lies ∼20\sim20–25%25\% below Tinker10 and Bocquet16 at z≥0.5z \ge0.5.

At fixed mass, the CosmoGridV1-like run contains fewer halos than FLAMINGO. For 1014<M200c/M⊙<3×101410^{14} < M_{200c}/M_\odot< 3 \times10^{14}, the deficit grows from ∼3.5%\sim3.5\% at z≤0.25z \le0.25 to ∼10%\sim10\% at z≈1.25z \approx1.25. Its coarser mass resolution may contribute, but we have not isolated the cause. This deficit sets the high-ℓ\ell 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 3×1013<M200c/M⊙<10143 \times10^{13} < M_{200c}/M_{\odot} < 10^{14} and 5–18% more for 1014<M200c/M⊙<3×101410^{14} < M_{200c}/M_{\odot} < 3 \times10^{14}, increasing with redshift. Painted onto the AHF halos, the same profiles give a CℓyyC_{\ell}^{yy} that is 17–22% above L1_m9 and 10–16% above fgas−8σf_{\mathrm{gas}} - 8\sigma for ℓ≳300\ell\gtrsim300 (Figure 12). The HBT-HERONS painting of the same simulation is ∼10%\sim10\% 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 ∼2%\sim2\%, 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, 1−nsim/nth1 - n_{\rm sim}/n_{\rm th} moves downwards relative to Fig. 9, and the AHF HMF lies above Bocquet20 at z≳0.5z \gtrsim0.5.

Host-halo mass functions at six redshiftsVector (PDF)

caption: Host-halo mass function of the CosmoGridV1-like PKDGRAV3 simulation, identified with HBT-HERONS (squares), at six redshifts between z=0.05z = 0.05 and z=1.23z = 1.23. 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 1−nsim/nth1 - n_{\mathrm{sim}}/n_{\mathrm{th}} 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 3×1013<M200c/M⊙<3×10143 \times10^{13} < M_{200\mathrm{c}}/M_\odot< 3 \times10^{14} 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 0.05<z<20.05 < z < 2 and 1010.5<M200c/M⊙<1015.510^{10.5} < M_{200\mathrm{c}}/M_\odot< 10^{15.5}. 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 zmin⁡z_{\min} has a very big influence on the power spectrum, while the zmax⁡z_{\max} becomes important for cuts below z≈1.0z \approx1.0.

The top row shows the dependence on the halo mass range. Increasing Mmin⁡M_{\min} 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 Mmax⁡M_{\max}: increasing the upper mass limit from 101410^{14} to 1016 M⊙10^{16}\,M_\odot increases the power by more than an order of magnitude, reflecting the steep mass dependence of the electron pressure (and hence Compton-yy) 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 zmin⁡z_{\min} progressively removes the low-zz contribution and substantially suppresses the power spectrum by more than an order of magnitude in the range of zmin⁡=0.0z_{\min} = 0.0–0.750.75. On the other hand, the result is largely converged with respect to zmax⁡z_{\max} already by zmax⁡∼1.5z_{\max} \sim1.5–2.02.0, with only a small residual contribution from higher redshifts. Based on this behavior, we adopt zmin⁡=0.05z_{\min} = 0.05, excluding the lowest-redshift shell where the signal is most affected by large-scale sample variance, and zmax⁡=2.00z_{\max} = 2.00, 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.

Influence of each BFC parameter on the tSZ power spectrum

Figure 14. In this figure, we see the influence of each BFC parameter on the tSZ power spectrum. The biggest influence comes from the ρgas\rho_{\mathrm{gas}} 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 McM_{\mathrm{c}}, θco\theta_{\mathrm{co}}, μ\mu, and δ\delta, which together set the shape of the hot gas density profile (Eq. (15) and (16)). McM_{\mathrm{c}} sets the characteristic halo mass at which the profile slope β(M)\beta(M) transitions from shallow to steep (Eq. (16)); lower McM_{\rm c} steepens the profile at fixed halo mass, concentrating more gas, hence more pressure, in the inner regions. μ\mu controls how fast this transition is. θco\theta_{\rm co} sets the core radius, and δ\delta the sharpness of the outer truncation; both therefore redistribute gas between the core and the outskirts. Because the tSZ signal is weighted by pressure (∝ρHGA×MDMB\propto\rho_{\rm HGA} \times M_{\rm DMB}), we see the influence of the gas profile directly in the tSZ power spectrum.

The second row shows the stellar parameters η\eta, dηd\eta, and N⋆N_{\star}, and the cold gas parameter cigac_{\rm iga}. η\eta sets the high-mass slope of the total stellar fraction, dηd\eta sets the slope of the fraction of the central galaxies, and N⋆N_{\star} the overall normalization; all of them regulate how much of the baryonic budget is locked into the stars rather than hot gas. cigac_{\rm iga} similarly removes a fraction of the central gas into a cold, non-ionized phase. Although η\eta, N⋆N_{\star}, and cigac_{\rm iga} 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 M200c>1e13 M⊙/hM_{200\mathrm{c}} > 1\mathrm{e}13\,M_{\odot}/h is negligible.

The bottom row shows the non-thermal pressure parameters αnth,0\alpha_{\rm nth,0}, nnthn_{\rm nth}, and βnth\beta_{\rm nth}. 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 (αnth,0\alpha_{\rm nth,0}), its slope of the mass/radial dependence (nnthn_{\rm nth}), and its redshift evolution (βnth\beta_{\rm nth}), 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 CℓyyC_{\ell}^{yy} depends on the HMF. Relative to Bocquet20, Tinker08 stays within 3%, Tinker10 and Bocquet16 are 14–24% higher, and Despali16 falls from +25% at ℓ<300\ell< 300 to +4% at ℓ>3000\ell> 3000. Because CℓyyC_{\ell}^{yy} 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 M200cM_{200\mathrm{c}}. 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: DℓyyD_{\ell}^{yy} for 0.05<z<20.05 < z < 2 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 CℓyyC_{\ell}^{yy} by up to ∼25%\sim25\%. 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 CℓyyC^{yy}_{\ell}: the spectrum inferred from the Planck Compton-yy map [56], and the reconstruction of Ref. [10] from Planck, ACT, and SPT temperature power spectra, which extends to ℓ∼7000\ell\sim7000. At ℓ≲200\ell\lesssim200 both simulations agree with the data. At 300≲ℓ≲103300 \lesssim\ell\lesssim10^{3}, the yy-map spectrum lies a factor of ∼2\sim2 below the simulations, while the reconstruction of Ref. [10] is consistent with them up to ℓ≈1500\ell\approx1500. The two measurements disagree by a similar factor, which points to foreground removal in yy-map-based spectra as a major systematic [10]. At ℓ≳2000\ell\gtrsim2000, the data lie a factor of ∼2\sim2–2.52.5 below both simulations. This deficit relative to Planck-like Λ\LambdaCDM simulations is well established [10, 13]. It may indicate stronger feedback or residual CIB and kSZ contamination at high ℓ\ell. Since BFC is calibrated on FLAMINGO, the painted map reproduces the simulation, not the data, and our spectra omit the z<0.05z < 0.05 contribution at the lowest multipoles.

Figure 16. DℓyyD_{\ell}^{yy} over 0.05<z<20.05 < z < 2 from FLAMINGO L1_m9 (dashed green) and the BFC-painted CosmoGridV1CosmoGridV1-like map (solid black), compared with the PlanckPlanck yy-map spectrum of Ref. [56] (red diamonds) and the PlanckPlanck+ACT+SPT reconstruction of Ref. [10] (blue circles). Error bars are 1σ1\sigma.

Non-thermal pressure in FLAMINGO

We measure the non-thermal pressure in the L1_m9 and fgas−8σf_{\mathrm{gas}} - 8\sigma runs at z=0z = 0, 0.20.2, and 0.50.5. In each of four 0.50.5-dex bins of M200cM_{200\mathrm{c}} between 101310^{13} and 1015 M⊙10^{15}\,M_{\odot}, we select 100 random central halos and bin their gas into 30 logarithmic shells out to 10 R200c10\,R_{200\mathrm{c}}. In each shell, Pth=ngaskBTP_{\mathrm{th}} = n_{\mathrm{gas}} k_{\mathrm{B}} T follows from the mass-weighted temperature and mean gas density, and Pnth=13ρgas⟨∣v−vˉ∣2⟩\mathcal{P}_{\mathrm{nth}} = \frac{1}{3}\rho_{\mathrm{gas}}\langle|\mathbf{v}-\bar{\mathbf{v}}|^2\rangle, where vˉ\bar{\mathbf{v}} is the mass-weighted mean gas velocity of the shell [12, 63, 91]. We then fit Eq. (19) to the median fnth≡Pnth/(Pth+Pnth)f_{\mathrm{nth}} \equiv\mathcal{P}_{\mathrm{nth}}/(\mathcal{P}_{\mathrm{th}}+\mathcal{P}_{\mathrm{nth}}), jointly over the three redshifts and over 0.4<r/R200c<10.4 < r/R_{200\mathrm{c}} < 1. Table 3 lists the results, and our fiducial model uses the 101410^{14}–1014.5 M⊙10^{14.5}\,M_\odot bin.

RunM200cM_{200\mathrm{c}} binαnth,0\alpha_{\mathrm{nth},0}βnth\beta_{\mathrm{nth}}nnthn_{\mathrm{nth}}
Fiducial1013.010^{13.0}–1013.510^{13.5}0.1690.660.24
1013.510^{13.5}–1014.010^{14.0}0.1110.970.65
1014.010^{14.0}–1014.510^{14.5}0.1361.580.79
1014.510^{14.5}–1015.010^{15.0}0.2041.820.88
Strongest AGN1013.010^{13.0}–1013.510^{13.5}0.2310.600.28
1013.510^{13.5}–1014.010^{14.0}0.1660.660.28
1014.010^{14.0}–1014.510^{14.5}0.1070.940.54
1014.510^{14.5}–1015.010^{15.0}0.1484.211.10

Table 3. Best-fit [62] non-thermal pressure parameters (Eq. (19)), fitted to the halo-median fnth(r)f_{\mathrm{nth}}(r) over 0.4<r/R200c<10.4 < r/R_{200\mathrm{c}} < 1 and z=0,0.2,0.5z = 0, 0.2, 0.5.

The power law describes fnthf_{\mathrm{nth}} well inside the fit range (χ2/dof∼1\chi^2/\mathrm{dof} \sim1–22). Beyond ∼1.5 R200c\sim1.5\,R_{200\mathrm{c}} the measured fraction rises more steeply (Figure 17), and extending the fit to 22 (44) R200cR_{200\mathrm{c}} raises χ2/dof\chi^2/\mathrm{dof} to ∼4\sim4–1010 (∼7\sim7–1111). 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 fnth=Pnth/(Pth+Pnth)f_{\mathrm{nth}} = \mathcal{P}_{\mathrm{nth}}/(\mathcal{P}_{\mathrm{th}} + \mathcal{P}_{\mathrm{nth}}) as a function of r/R200cr/R_{200\mathrm{c}} for central halos with 1014<M200c/M⊙<1014.510^{14} < M_{200\mathrm{c}}/M_{\odot} < 10^{14.5} (left) and 1014.5<M200c/M⊙<101510^{14.5} < M_{200\mathrm{c}}/M_{\odot} < 10^{15} (right) in the L1_m9 run. Thin grey lines show individual halos. Filled circles show the median at z=0z = 0 (blue), 0.20.2 (yellow) and 0.50.5 (red). The lines show the joint best fit of Eq. (19) (Table 3): solid inside the fit range 0.4<r/R200c<10.4 < r/R_{200\mathrm{c}} < 1 (shaded) and dotted outside it. Beyond ∼1.5R200c\sim1.5 R_{200\mathrm{c}} 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 ℓ≈8000\ell\approx8000 when the gas is normalized with the truncated-NFW total mass MtotM_{\mathrm{tot}}, as in our halo-model code. Normalizing with M200M_{200} 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 (M200cM_{200c}). 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 ±1σ\pm1\sigma scatter between maps and the uncertainty on the mean, ±σ/N\pm\sigma/\sqrt{N}. These are compared with the one-halo BFC prediction for the same HMF, with the gas normalized by the truncated-NFW total mass MtotM_{\rm tot} (orange dashed) or by M200cM_{200c} (dark red dotted). Bottom: fractional difference between the mean painted spectrum and each prediction, with the same uncertainty bands. The grey dashed lines mark ±5%\pm5\%, and the vertical dotted line marks ℓ=2Nside\ell= 2N_{\rm side}. With the MtotM_{\rm tot} normalization, which our halo-model code uses, the maps match the prediction to within a few per cent up to ℓ≈8000\ell\approx8000. With the M200cM_{200c} 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 ∼3%\sim3\% for ℓ≥300\ell\ge300. Differences between the painted maps and the analytic halo model in § 7.2 therefore reflect the halo catalogs rather than the painting.

References

  1. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [48]G. Aricò and R.E. Angulo, Baryonification extended to thermal Sunyaev Zel’dovich, A&A 690 (2024) A188 [2406.01672].DOI
  49. [49]K. Osato and D. Nagai, Baryon pasting algorithm: halo-based and particle-based pasting methods, MNRAS 519 (2023) 2069 [2201.02632].DOI
  50. [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. [51]R.A. Sunyaev and Y.B. Zeldovich, Small-Scale Fluctuations of Relic Radiation, Ap&SS 7 (1970) 3.DOI
  52. [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. [53]U. Seljak, Analytic model for galaxy and dark matter clustering, MNRAS 318 (2000) 203 [astro-ph/0001493].DOI
  54. [54]J.A. Peacock and R.E. Smith, Halo occupation numbers and galaxy bias, MNRAS 318 (2000) 1144 [astro-ph/0005010].DOI
  55. [55]A. Cooray and R. Sheth, Halo models of large scale structure, Phys. Rep. 372 (2002) 1 [astro-ph/0206508].DOI
  56. [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. [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. [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. [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. [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. [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. [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. [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. [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. [65]S. Dodelson, Modern Cosmology (2003), 10.1016/B978-0-12-219141-1.X5019-0.
  66. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [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. [77]A.J. Mead and L. Verde, Including beyond-linear halo bias in halo models, MNRAS 503 (2021) 3095 [2011.08858].DOI
  78. [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. [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. [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. [81]J.D. Hunter, Matplotlib: A 2d graphics environment, Computing in Science & Engineering 9 (2007) 90.DOI
  82. [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. [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. [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. [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. [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. [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. [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. [89]S.R. Knollmann and A. Knebe, AHF: Amiga's Halo Finder, ApJS 182 (2009) 608 [0904.3662].DOI
  90. [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

Paper details

vlnc:W_2saqc3zx
Version
v1 · latest
Published
Fresh — added to the Hub within the last 30 days
Added
License
CC BY 4.0
Usage

views · 10

downloads · 0

A view counts once per browser per day, a download each time the PDF is requested.

  • Physics and Astronomy

Not recorded for this paper

View statement
Looking for related papers…
Contents