Open Access
Issue
A&A
Volume 662, June 2022
Article Number A122
Number of page(s) 18
Section Cosmology (including clusters of galaxies)
DOI https://doi.org/10.1051/0004-6361/202243351
Published online 30 June 2022

© A. Gorce et al. 2022

Licence Creative CommonsOpen Access article, published by EDP Sciences, under the terms of the Creative Commons Attribution License (https://creativecommons.org/licenses/by/4.0), which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.

This article is published in open access under the Subscribe-to-Open model. Subscribe to A&A to support open access publication.

1. Introduction

Different generations of satellites, from the cosmic background explorer (COBE, Bennett et al. 1996) to, most recently, Planck (Planck Collaboration I 2020), led us to exquisite measurements of the power spectrum of the large-scale fluctuations of the cosmic microwave background (CMB) temperature. Today, efforts are turned towards ground-based observatories of such fluctuations on small scales. The Atacama cosmology telescope (ACT, Kosowsky 2003)1 and the South Pole telescope (SPT, Ruhl et al. 2004)2 target this signal, with the latter recently publishing observations of sufficient quality (Reichardt et al. 2021, hereafter R21) to allow for the first ≥3σ measurement of the amplitude of the angular power spectra of the kinetic and thermal Sunyaev–Zel’dovich effects (kSZ and tSZ, respectively, Zeldovich & Sunyaev 1969; Sunyaev & Zeldovich 1980) at an angular multipole of  = 3000.

Along with thermal dust emission from dusty star-forming galaxies, radio galaxy emission, the Galactic cirrus signal, and the cosmic infrared background (CIB), the tSZ and kSZ power spectra are foregrounds to the CMB primary anisotropies. That is, their power is not sourced by temperature fluctuations in the primordial plasma at the time of recombination, but from the interaction of the photons released at the surface of last scattering with astrophysical objects along the line of sight, before reaching the detector. In this respect, and despite the fact that they largely dominate the primary signal on scales smaller than one arcminute, their amplitudes have often been considered in analyses of CMB data as nuisance parameters (e.g., Reichardt et al. 2012; Dunkley et al. 2013; Ichiki 2014; George et al. 2015). A common approach consists of fitting a primary power spectrum derived from sampled cosmological parameters and a sum of foregrounds power spectra modelled by templates to the observed data points. Only the amplitudes of the various foregrounds, at a given multipole (often,  = 3000), are fitted to data.

However, these foregrounds trace the matter the CMB photons encounter on their way to us and they include cosmological information which cannot be retrieved by the use of templates (Douspis et al. 2006; Shaw et al. 2010; Salvati et al. 2018; Maniyar et al. 2019; Gorce et al. 2020). In a first work (Douspis et al. 2022, hereafter Paper I), we have shown that replacing the template used for the tSZ power spectrum by a cosmology-dependent spectrum when analysing data from Planck and the SPT tightens constraints on cosmological parameters. In this work, we perform a similar analysis, this time focusing on constraints obtained when including a cosmology-dependent kSZ angular power spectrum in the analysis.

The kSZ power spectrum traces the energy gained by CMB photons interacting with electrons that have a non-zero bulk velocity relative to the CMB rest-frame along the line-of-sight. Numerous works (e.g., McQuinn et al. 2005; Iliev et al. 2007; Mesinger et al. 2012; Shaw et al. 2012; Battaglia et al. 2013; Alvarez 2016; Chen et al. 2022) have shown that the amplitude of the kSZ angular power spectrum can be related to the nature of the Epoch of Reionisation (EoR), when the first light sources re-ionised the intergalactic medium (IGM), mostly neutral since recombination and the emission of the CMB photons. Indeed, as an integrated effect, a longer or earlier reionisation process will lead to a larger kSZ amplitude. Traditionally, the kSZ power is divided into two contributions: The late-time kSZ accounts for CMB photons scattering off electrons once reionisation is over and the IGM is fully ionised, whilst the patchy kSZ accounts for photons scattering off ionised bubbles along the otherwise neutral line of sight during reionisation. In contrast to the late-time kSZ, not only the amplitude, but also the shape of the patchy kSZ power spectrum can tell us about the reionisation process (McQuinn et al. 2005; Iliev et al. 2007; Mesinger et al. 2012). For example, the multipole at which the patchy kSZ reaches its maximum has been related to the characteristic size of ionised bubbles during the EoR, in turn related to the physical properties of early galaxies, if those are assumed to have led the reionisation process (Bouwens et al. 2015; Robertson et al. 2015; Greig et al. 2017; Gorce et al. 2018).

With the new generation of the SPT (Sobrin et al. 2022), the Simons Observatory (Ade et al. 2019) and, later, CMB-Stage 4 experiments (CMB-S4, Abazajian et al. 2016), coming online, there is a growing interest in the community for the potential of small-scale CMB data to constrain reionisation. A common approach, popularised by the sampler of 21cmFAST simulations (Mesinger et al. 2011; Park et al. 2019; Murray et al. 2020), 21CMMC (Greig & Mesinger 2015), is to sample astrophysical parameters in semi-numerical simulations and confront the observables derived at each iteration to data (Qin et al. 2020; Choudhury et al. 2021). However, such approaches are limited by computational power, both in terms of the precision and the size of the employed simulations. Very large box sizes are necessary to capture the large-scale velocity flows contributing to the kSZ effect at high- and results based on insufficiently large simulations will significantly underestimate its power (Shaw et al. 2012).

To circumvent these numerical difficulties, we have introduced in Gorce et al. (2020) a new analytical derivation of the kSZ angular power spectrum, based on the cosmology and the reionisation history. With this formalism, it is possible to compute the theoretical kSZ power spectrum associated with a set of cosmological and reionisation parameters at each iteration of the sampler, when analysing small-scale fluctuations of the CMB temperature. Constraints on the cosmological model and the EoR are retrieved from the measured shape and amplitude of the kSZ signal. Such an analysis, applied to the latest Planck and SPT data (Planck Collaboration I 2020; Reichardt et al. 2021), is the focus of the present work. In an approach similar to Paper I, we use machine learning to efficiently predict the otherwise computationally intensive derivation of the kSZ power spectrum on the multipole range covered by the data. In order for the reionisation modelling to be consistent across all scales probed, we substitute the commonly used ‘instantaneous’ parameterisation of the evolution of the IGM ionised fraction with redshift (Lewis et al. 2000) by a physically motivated asymmetric parameterisation (Douspis et al. 2015), also used in the kSZ derivation. We subsequently assess the impact of this substitution on the cosmological constraints obtained with large-scale data.

This paper is organised as follows. In Sect. 2, we detail the theoretical framework used to derive the kSZ power spectrum, and in particular, introduce the asymmetric parameterisation of reionisation used throughout. We also introduce the statistical methods used to analyse the data listed in Sect. 3. In Sect. 4, we first present the results of applying the asymmetric reionisation model to Planck data. We then include the new kSZ modelling in the analysis of the small-scale SPT data and retrieve reliable constraints on the midpoint and duration of reionisation. Finally, we discuss our results in Sect. 5 and conclude in Sect. 6.

2. Methods

2.1. Asymmetric reionisation history

In the fiducial analysis of Planck large-scale data, the reionisation history is not constrained directly. Instead, it is the Thomson optical depth τ that is sampled, as it is strongly correlated to the amplitude of the high- temperature and low- polarisation CMB power spectra (Planck Collaboration XLVII 2016). As a measure of the fraction of CMB photons absorbed by free electrons along the line-of-sight, the optical depth is directly related to the ionisation level of the IGM or number of electrons per hydrogen nucleus xe(z) (Lewis et al. 2000; Howlett et al. 2012):

τ ( z ) = c σ T 0 z d z x e ( z ) n b ( z ) ( 1 + z ) 2 H ( z ) , $$ \begin{aligned} \tau (z) = c\,\sigma _\mathrm{T} \int _{0}^{z} \mathrm{d} z^\prime \ x_{\rm e}(z^\prime )\, n_{\rm b}(z^\prime )\, \frac{(1+z^\prime )^2}{H(z^\prime )} , \end{aligned} $$(1)

where σT is the Thomson cross-section, nb is the average density of baryons and H is the Hubble parameter. Here, for simplicity, the product of xe and nb, both averaged over the sky, is taken as a proxy for the mean electron density, ⟨xe × nb⟩, overlooking the correlation between the electron and the density fields. This can lead to a 5–10% error on the measured value of τ (Liu et al. 2016). To interpret τ in terms of the reionisation history, the following symmetric, ‘instantaneous’, parameterisation is often considered:

x e ( z ) = f e 2 [ 1 + tanh ( y y re δ y ) ] , $$ \begin{aligned} x_{\rm e}(z) = \frac{f_\mathrm{e} }{2}\, \left[ 1 + \text{ tanh}\left( \frac{{ y}-{ y}_\mathrm{re} }{\delta { y}}\right) \right], \end{aligned} $$(2)

where y ( z ) ( 1 + z ) 3 2 $ \mathit{y}\, (z)\equiv(1+z)^{\frac{3}{2}} $, yre = y (z = zre) for zre the midpoint of hydrogen reionisation, such that xe(zre) = 0.5 and δ y 3 2 ( 1 + z ) 1 2 δ z $ \delta \mathit{y} \equiv \frac{3}{2}\, (1+z)^{\frac{1}{2}}\, \delta z $ for δz = 0.5, roughly corresponding to the redshift range which sees the IGM ionised fraction increasing from 25% to 75%. The fe parameter corresponds to the number of electrons per hydrogen atom, and is equal to fe ≃ 1.08 when accounting for the first ionisation of helium. The contribution of the second helium ionisation is added for z > 4.5 as another hyperbolic tangent such as the one given in Eq. (2), with parameters zre, He = 5.0 and δzHe = 0.5 (Kuhlen & Faucher-Giguère 2012). It is finished by z = 3.5. When δz is fixed, it is possible to deduce the value of zre through binary search from a given τ value.

In this framework, the evolution of xe with redshift is a quick and symmetrical process, centred on zre. However, recent simulations and analyses of astronomical data sets show the reionisation process to be a highly gradual evolution, starting slowly at redshifts as high as z = 15 (Robertson et al. 2015; Gorce et al. 2018). Since the kSZ power depends largely on the duration of reionisation (see Sect. 2.2 and Battaglia et al. 2013; Alvarez 2016) and on its asymmetry (Park et al. 2013; Chen et al. 2022), it is essential to include a more accurate evolution of xe(z) in any analysis attempting to measure its amplitude. Accounting for this asymmetry can be done by, for instance, interpolating between different ionisation levels (e.g., Millea & Bouchet 2018; Trac et al. 2022) or by changing the parameterisation for the redshift-evolution of the ionisation level. In this work, we follow this second approach and use the power-law introduced in Douspis et al. (2015) and already confronted to large-scale CMB data in Planck Collaboration XLVII (2016):

x e ( z ) = { f e for z < z end , f e ( z early z z early z end ) α for z > z end , $$ \begin{aligned} x_{\rm e}(z) = \left\{ \begin{array}{ll} f_\mathrm{e}&\mathrm{for} \, z< z_\mathrm{end} ,\\ f_\mathrm{e} \, \left(\frac{z_\mathrm{early} -z}{z_\mathrm{early} -z_\mathrm{end} }\right)^\alpha&\mathrm{for} \, z>z_\mathrm{end} , \end{array}\right. \end{aligned} $$(3)

where zearly corresponds to the redshift around which the first emitting sources form and at which xe(z) is matched to a residual ionised fraction of 10−4. We fix zearly = 20, in agreement with current constraints on the history of reionisation obtained from astrophysical data sets (Robertson et al. 2015; Greig & Mesinger 2015; Gorce et al. 2018). Additionally, we find that the data considered in this work does not require sources to light up before z = 20. We let zend and zre vary, since fixing zearly makes zre a sampling equivalent to α (Eq. (3)), and we choose the former to facilitate the interpretation of results. Finally, for convergence purposes, we sample dz ≡ zre − zend instead of zend and we consider the contribution of helium reionisation. We include this parameterisation into the derivation of the kSZ angular power spectrum detailed below.

2.2. Derivation of the kSZ power spectrum

The temperature anisotropies sourced by the scattering of CMB photons off clouds of free electrons with a non-zero bulk velocity v relative to the CMB rest-frame along the line of sight n ̂ $ \hat{\boldsymbol{n}} $ write

δ T kSZ ( n ̂ ) = σ T c d η d z d z ( 1 + z ) e τ ( z ) n e ( z ) v · n ̂ , $$ \begin{aligned} \delta T_{\rm kSZ}(\hat{\boldsymbol{n}}) =\frac{\sigma _{\rm T}}{c} \int \frac{\mathrm{d} \eta }{\mathrm{d} z}\frac{\mathrm{d} z}{(1+z)}\, \mathrm{e} ^{-\tau (z)}\, n_{\rm e}(z) \, \boldsymbol{v}\cdot \hat{\boldsymbol{n}}, \end{aligned} $$(4)

with η the comoving distance to redshift z and v · n ̂ $ \boldsymbol{v}\cdot\hat{\boldsymbol{n}} $ the component of the peculiar velocity of the electrons along the line of sight. The corresponding angular power spectrum writes C k SZ T CMB 2 | δ T ̂ kSZ ( k ) | 2 $ C_\ell^{k \rm SZ} \equiv T^2_{\mathrm{CMB}} \vert \hat{\delta T}_{\mathrm{kSZ}}(k)\vert^2 $, where TCMB is the mean temperature of the CMB and δ T ̂ kSZ $ \hat{\delta T}_{\mathrm{kSZ}} $ is the Fourier transform of δTkSZ given above, such that k = /η for the angular multipole. In the following, we present results in terms of 𝒟 ≡ ( + 1)C/2π.

As already mentioned in Sect. 1, the kSZ signal is often decomposed into a late-time and a patchy component. In Gorce et al. (2020), we introduced an analytical derivation of the kSZ angular power spectrum based on the reionisation history xe(z) and two parameters related to the morphology of reionisation. Firstly, the drop-off frequency of the power spectrum of free electrons density fluctuations, κ, which is directly related to the angular scale where the patchy kSZ power reaches its maximum, and, in turn, to the typical size of ionised bubbles during the EoR. It is expressed in Mpc−1. Secondly, the large-scale amplitude of the electron power spectrum, α0, which is a representation of the variance of the electron field and, as such, is related to the morphology of the ionisation field. It is expressed in Mpc3.

These two parameters are directly related to the shape and amplitude of the patchy component of the kSZ spectrum. The late-time contribution is derived using a biased matter power spectrum to describe the low-redshift spatial distribution of free electrons, according to the model introduced in Shaw et al. (2012), fitted to highly resolved simulations (Aubert et al. 2015) – see Gorce et al. (2020) for more details on the model. Instead of using a template of the kSZ power spectrum and fitting its amplitude to small-scale CMB data, in this work, we sample α0 and κ, along with zre and zend, so that the kSZ spectrum can be fully computed at each iteration of the sampler. In general, we expect the modelling uncertainties of the parameterisation, including the additional kSZ power stemming from the non-Gaussianity of the electron density field (Alvarez 2016) to be absorbed by the uncertainties on the sampled parameters. However, once observations and foreground-modelling allow for a detailed detection of the kSZ spectra, a more precise description will be required.

In Fig. 1, we show the difference in the late-time and patchy kSZ spectra corresponding to the templates used in R21, and obtained using the analytic derivation of Gorce et al. (2020) for parameters fitted on a semi-numerical simulation (Seiler et al. 2019). In order to highlight shape differences, the spectra are normalised to 1 μK2 at  = 3000. The template used for the late-time signal is extracted from the work of Shaw et al. (2012), who fit the power spectrum of electron number density fluctuations, considered as a biased matter power spectrum, on hydrodynamic simulations. The template used for the patchy signal was first introduced in Zahn et al. (2012) and was computed numerically from a full radiative transfer simulation (Zahn et al. 2007, 2011). There is a clear difference in the shapes obtained in both cases, in particular on small scales. This is related to the fact that the low-redshift section of our analytic kSZ model was calibrated on a simulation which uses adaptive mesh refinement, and, hence, resolves high-density regions very well, making the derived spectra more sensitive to the thermal behaviour of the gas, and boosting power on small scales (Aubert et al. 2015). The results presented in Sect. 4 are, however, robust to these modelling uncertainties.

thumbnail Fig. 1.

Comparison of the normalised kSZ angular power spectra obtained for a set of reionisation parameters using binned templates (Reichardt et al. 2021), in orange, and using the analytic derivation introduced in Gorce et al. (2020), in blue.

The cosmology-dependent derivation of the kSZ power spectrum is computationally expensive because of the complexity of Eq. (4), which includes several integrals. Additionally, the time required to compute a C increases with , making the analysis of small-scale data challenging. For this reason, it cannot be included as such in a parameter sampling algorithm. Similarly to what was proposed in Paper I, we choose to solve this issue by using a machine learning algorithm, random forests (RF), trained on a set of kSZ spectra computed according to Gorce et al. (2020), to predict the C’s at each iteration of the sampler. The training set is made of 50 000 different spectra, computed on a range of cosmological and reionisation parameters, for 25 angular multipoles linearly distributed over the range 100 ≤  ≤ 10 500, which includes the SPT data points. The details of the RF training and testing can be found in Appendix A. Namely, the errors coming from the RF reconstruction never exceed 0.02 μK2, about fifty times smaller than the precision of current measurements (Reichardt et al. 2021). The overall scores of the patchy and late-time predictions are, respectively, 99.3% and 99.8%. The RF prediction code for the kSZ power spectra is publicly available3.

2.3. MCMC analysis

We use a version of the publicly available Monte-Carlo Markov chain sampler CosmoMC (Lewis & Bridle 2002; Lewis 2013), modified to include the SPT likelihood, available online (Reichardt et al. 2021), and the Planck21-tSZ likelihoods, based on Tanimura et al. (2022) data and following Salvati et al. (2018). We further modify the sampler to allow for an on-the-fly RF-prediction of the tSZ, patchy kSZ and late-time kSZ angular power spectra (see above and Appendix A), as initiated in Paper I. For the derivation of the tSZ power spectrum, we follow the recipe detailed in Paper I. We add in the model the scaling relation between the tSZ signal (the Compton parameter Y500) and the halo mass M500, both defined within a radius that contains 500 times the critical density of the Universe. In this analysis, for the scaling relation we include as a varying parameter only the mass bias (1 − b), defined as the ratio between the halo mass estimated from the hydrostatic equilibrium assumption MHE, and the total halo mass, that is (1 − b) = MHE/M500. We focus on this parameter, since it shows the strongest degeneracy with the cosmological ones. We refer the reader to the full discussion in Paper I. For the derivation of the kSZ power spectrum, we add as varying parameters in the analysis the two quantities introduced in Sect. 2.2, that is log α0 and κ. These replace the amplitude of the total kSZ power at  = 3000, D 3000 kSZ $ \mathcal{D}_{3000}^\mathrm{kSZ} $, which is now derived.

We modify the CAMB module (Lewis et al. 2000; Howlett et al. 2012), included within CosmoMC to perform theoretical computations, to account for the asymmetric parameterisation of the reionisation history given in Eq. (3). Doing so, the optical depth τ is no longer sampled, but derived from the values of the reionisation mid- and endpoint, zre and zend, themselves sampled. We impose a prior zend > 4.5. When the cosmology is let free to vary, we additionally sample the following parameters:

  • The baryon density multiplied by the reduced Hubble constant h ≡ H0/100, Ωbh2;

  • The cold dark matter density Ωch2;

  • The ratio of the sound horizon to the angular diameter distance at decoupling, scaled by 100, 100θMC;

  • The initial super-horizon amplitude of curvature perturbations at k = 0.05 Mpc−1, As, as log A ≡ ln(1010As), and

  • The scalar spectral index ns.

Finally, nuisance parameters are added depending on the data set used, as described below.

The convergence of the runs is assessed by examining the Gelman–Rubin convergence parameter R (Gelman & Rubin 1992; An et al. 1998), which corresponds to the ratio of the variance of chain means to the mean of chain variances, for each sampled parameter. We consider the chains converged once, for each parameter, R − 1 < 10−2. Unless specified otherwise, all parameter values are given in terms of the maximum of the marginalised posterior probability, and confidence intervals correspond to the highest-density probability intervals at 68%4.

3. Data

3.1. Planck low-ℓ data

For the analysis of large-scale data presented in Sect. 4.1, we consider the Planck Collaboration I (2020) data, available in the Planck Legacy archive5. We use the low- TT and EE (simall) likelihoods, as well as high- TT, TE and EE spectra (plik) and lensing. The cosmological constraints resulting from the fiducial analysis performed by the Planck collaboration are the following (with a 68% confidence): Ωbh2 = 0.02237 ± 0.00015, Ωch2 = 0.1200 ± 0.0012, 100θMC = 1.04092 ± 0.00031, τ = 0.0544 ± 0.0073, log A = 3.044 ± 0.014 and ns = 0.9649 ± 0.0042 (Planck Collaboration VI 2020).

3.2. SPT high-ℓ data

We consider the small-scale measurements of the CMB temperature power spectrum presented by the South Pole telescope collaboration in Reichardt et al. (2021) and available online6. The data are made of bandpowers at 95, 150 and 220 GHz measured over the angular multipole range 2000 <  < 13 500. The likelihood makes use of auto- and cross-spectra and marginalises over calibration and beam parameters. The total measured temperature power spectrum is considered to be the sum of the primary signal, as well as the following foregrounds: the thermal and kinetic Sunyaev–Zel’dovich effects, Poisson-distributed radio galaxies, whose power goes as 2, and the galactic cirrus power. The contribution from thermal dust emission coming from the faint dusty star forming galaxies that cannot be masked out, and forming the CIB (Lagache et al. 2005; Casey et al. 2014), is also considered. The power is divided between spatially clustered and Poisson-distributed galaxies (Viero et al. 2013), with the latter following 𝒟 ∝ 2. These foregrounds, in the initial analysis, are all modelled with templates, whose amplitude at  = 3000 is adjusted to fit the data. To this list is added the (negative) cross-spectrum of the CIB and the tSZ signal (Addison et al. 2012) and derived as a combination of the Shang et al. (2012) model and the tSZ C’s. The absolute value of the amplitude at  = 3000 of the cross-spectrum, labelled ξ, is sampled. This results in a list of eight nuisance parameters (Fig. A.3).

4. Results

4.1. Substituting the reionisation model in low-ℓ data

First, we study the impact of changing the way reionisation is modelled when analysing the Planck Collaboration I (2020) data described in Sect. 3.1. We compare the results obtained using the common instantaneous parameterisation of the reionisation history given in Eq. (2), on one side, and using the physically motivated asymmetric parameterisation given in Eq. (3), on the other side. We sample the following cosmological parameters: log A, Ωbh2, Ωch2, 100 θMC and ns. Additionally, we sample the parameters related to the history of reionisation, given in Eq. (3), that is zre and zend, with a prior zend > 4.5. Here, τ is a derived parameter since the reionisation history is directly probed. Templates are used for all the foregrounds.

The recovered maximum likelihood parameter values, along with their 68% confidence intervals, are given in Table 1. We find that changing the reionisation model has no impact on the baryon and dark matter densities, as well as on 100 θMC. As observed in previous works (e.g., Planck Collaboration XLVII 2016; Planck Collaboration VI 2020), we exactly recover the cosmological constraints obtained in Planck Collaboration I (2020) with the tanh model, that is Ωbh2 = 0.0224 ± 0.0001, Ωch2 = 0.1199 ± 0.0012 and 100 θMC = 1.0409 ± 0.0003 at 1σ. Figure 2 compares the posterior distributions of the other four cosmological parameters sampled, for the two analyses. We see that the correlation between τ and As, commonly observed in CMB analyses, is here translated into a correlation with zre. Overall, results are similar for the two cases, since the low- CMB data are only really sensitive to the value of τ and not to the details of the reionisation history, a point we further discuss in Sect. 5. Therefore, the errors on the optical depth are unchanged, as already observed by Planck Collaboration XLVII (2016) with Planck 2015 data. We present the most likely reionisation history, as well as the redshift-evolution τ(z), for each case, in the right panels of Fig. 2. In the asymmetric case (Eq. (3)), the extended tail towards high redshifts is compensated by a later reionisation, and a lower zre, in order to reach an integrated τ value similar to the one obtained with the tanh model. This results in a completely different picture of the early Universe, with the first light sources starting reionising the IGM as early as z = 13. The first half of the reionisation history is well constrained, with zre = 7.4 ± 0.7, whilst there is a lot of uncertainty on the end of the process: z end = 5 . 8 1.2 + 0.6 $ z_{\mathrm{end}} = 5.8^{+0.6}_{-1.2} $. However, we can place an upper limit of zend < 7.5 at the 95% confidence level. These results show that a clear picture of reionisation cannot be obtained with large-scale CMB data only, but must be complemented by the cosmological information enclosed in small-scale data and foregrounds.

thumbnail Fig. 2.

Results obtained when fitting the large-scale Planck data with two different reionisation models: a physically motivated asymmetric parameterisation of xe(z) (blue contours, Eq. (3)), or an instantaneous reionisation history (pink contours, Eq. (2)). Left panel: posterior distributions of cosmological parameters. Right panels: resulting redshift-evolution of the IGM ionised fraction (top) and optical depth (bottom), with associated 68% confidence intervals.

Table 1.

Maximum likelihood parameters obtained with Planck CMB data when an asymmetric parameterisation of reionisation is used (see text).

4.2. Substituting the kSZ template in high-ℓ data

4.2.1. Fixed cosmology

We now consider measurements of the CMB temperature fluctuations power spectrum on small scales obtained by the SPT and change the way the kSZ and tSZ signals are modelled in the analysis. Their angular power spectra are estimated using random forests (RF) trained on C values computed numerically from a set of cosmological, cluster physics and reionisation parameters (see Paper I, Sect. 2.2 and Appendix A): The kSZ shape parameters, κ and log α0, as well as the mass bias 1 − b, are now let free to vary on a range where the random forests have been trained. All the sampled parameters, including zre and dz, are listed in Table 3. In order to compare with the results of Reichardt et al. (2021), we fix the cosmology to the values used by the authors: Ωch2 = 0.1193, Ωbh2 = 0.0224, ns = 0.9665, log A = 3.047 and 100θMC = 1.04101. Here, it is not possible to fix the value of the Thomson optical depth as done in R21 since, as described in the previous paragraph, the reionisation model has been altered to make τ a derived parameter. Instead, we impose a narrow Gaussian prior τ = 0.056 ± 0.007, the width of which corresponds to the errors on τ coming from large-scale data (see Sect. 4.1).

We compare three cases. First, we replicate the results of R21, fixing cosmology and, effectively, reionisation. We then change the reionisation model for the one in Eq. (3) but keep templates for the tSZ and kSZ spectra and sample their amplitudes at  = 3000. Finally, we replace the templates by the RF-inferred tSZ and kSZ spectra, predicted at each iteration of the sampler.

In the top panel of Fig. 3, we show the resulting posterior distributions of the amplitudes of the tSZ and total kSZ power spectra at  = 3000 and 143 GHz, labelled as D 3000 tSZ $ \mathcal{D}_{3000}^\mathrm{tSZ} $ and D 3000 kSZ $ \mathcal{D}_{3000}^\mathrm{kSZ} $, respectively. Maximum likelihood values, along with 68% credibility intervals, are given in Table 2. Similarly to what was observed in Paper I, including the cosmology dependence of the SZ spectra in the analysis limits the values their amplitudes can take and breaks their degeneracy, leading to tighter constraints. We move from a 3σ measurement reported in R21 to a 6σ measurement of the amplitude of the kSZ signal and the error bars are cut in half: D 3000 kSZ = 3 . 5 0.2 + 0.4 μ K 2 $ \mathcal{D}_{3000}^{\mathrm{kSZ}} = 3.5^{+0.4}_{-0.2}\,{\upmu}\mathrm{K}^2 $. The RF prediction of the kSZ signal allows to decompose it between the contribution of post-reionisation (late) and patchy signals. In the bottom panel of Fig. 3, we present the probability distributions of their amplitude at  = 3000. The former largely dominates the total kSZ power, contributing to about 86% at  = 3000 with D 3000 lkSZ = 3 . 1 0.3 + 0.1 μ K 2 $ \mathcal{D}_{3000}^{\mathrm{lkSZ}}=3.1^{+0.1}_{-0.3}\,{\upmu}\mathrm{K}^2 $. Because of its low amplitude, only an upper limit can be placed on the latter in this setting: D 3000 pkSZ <1.5 μ K 2 $ \mathcal{D}_{3000}^\mathrm{pkSZ} < 1.5\,\muup\mathrm{K}^2 $ at 95% confidence. Regarding the tSZ amplitude, the uncertainty is reduced by 40% compared to R21, and we move from a 6 to a 10σ measurement, such that D 3000 tSZ =3.3±0.3 μ K 2 $ \mathcal{D}_{3000}^\mathrm{tSZ} = 3.3 \pm 0.3\,\muup\mathrm{K}^2 $. The distributions of other foreground parameters, shown in Fig. A.3, are also impacted by the change in the tSZ and kSZ modelling. For example, the amplitude of the contribution of dusty galaxies to the observed temperature power spectrum is better constrained, whilst staying consistent with previous results. The constraints on the amplitude of the tSZ–CIB correlations do not change whether we use templates or not (ξ = 0.07 ± 0.03), although the degeneracy of this parameter with D 3000 kSZ $ \mathcal{D}_{3000}^\mathrm{kSZ} $ and D 3000 tSZ $ \mathcal{D}_{3000}^\mathrm{tSZ} $ is lifted when templates are replaced by RF predictions. In agreement with R21, the data favour positive values of ξ, and a negative tSZ–CIB correlation, corresponding to an overdensity of dusty galaxies in galaxy clusters.

thumbnail Fig. 3.

Constraints on the amplitude of the tSZ and kSZ power spectra at  = 3000, in μK2, obtained with SPT high- data (R21) using either templates (in yellow) or RF-inferred tSZ and kSZ power spectra (in blue), as well as a physical parameterisation of reionisation. Inferences are compared to the initial analysis, with templates and fixed reionisation (in grey). For all cases, the cosmology is fixed (see text for values). On the bottom panel, the kSZ is decomposed into its late-time and patchy components.

Table 2.

Most likely values of the amplitude, in μK2, of the SZ effects obtained when fitting the SPT data.

The cosmological information included in the high- SPT data is sufficient to give good constraints on the midpoint of reionisation and we find that, for a fixed cosmology, the use of a full derivation of the SZ power spectra instead of templates does not help constraining any of the reionisation parameters better. That is because changing the model but fixing the cosmology is equivalent to using another template, which R21 has shown to have no impact on the results. The model favoured by the small-scale data in this setting is one of early reionisation ( z re = 8 . 5 0.4 + 0.5 $ z_{\mathrm{re}} = 8.5^{+0.5}_{-0.4} $), in tension with currently available data points on the ionisation fraction of the IGM (see Fig. 8) and can be traced back to large optical depth values (τ = 0.069 ± 0.004), over 3σ away from the centre of the Gaussian prior imposed to the fit, and from the Planck Collaboration I (2020) constraints. This is due to the fact that on the -range covered by the SPT data, there is a strong correlation between the As and τ parameters, as the amplitude of the primary temperature power spectrum follows As exp(−2τ). Fixing As is therefore equivalent to fixing τ and the chosen value of As corresponds to a large value of τ, which in turn triggers early reionisation scenarios and large kSZ amplitudes. We confirm this intuition by running the MCMC with RF-predicted tSZ and kSZ spectra and fixed cosmology, only changing the value of As to a lower value. This set-up leads to lower values of τ, and, in turn, of the reionisation midpoint and of the patchy kSZ amplitude.

4.2.2. Free cosmology

From the results presented in previous section, it is clear that the constraints on SZ amplitudes and on reionisation obtained with the SPT data strongly depend on the assumed cosmological model. Therefore, we now let cosmological parameters free but apply tight Gaussian priors corresponding to the posterior distributions of Planck Collaboration I (2020) on Ωbh2, Ωch2 and θMC, which we have found in Sect. 4.1 to be largely impervious to changes in the reionisation history. On the other hand, log A is let completely free, along with the reionisation parameters and the mass bias 1 − b, related to the computation of the tSZ spectrum7. The applied priors are listed in Table 3. To assess the constraining power of our newly introduced cosmology-dependent tSZ and kSZ power spectra, we compare several cases, where either: Templates are used for both SZ spectra, a template is used for one SZ effect, whilst the other is predicted by the RF, or both SZ spectra are predicted by the RF. The latter set-up leads to the main results of this paper. The full list of maximum likelihood parameters resulting from these four analyses is given in Table 3 and a complete triangle plot of the posterior distributions of all parameters sampled, apart from nuisance parameters, can be found in Fig. B.1.

Table 3.

Maximum likelihood parameters obtained with SPT data (Reichardt et al. 2021) when RF predictions or templates are used for the SZ effects and templates for the other foregrounds.

In the upper panel of Fig. 4, we show the posterior probability distributions of the tSZ and total kSZ amplitudes at  = 3000 for the four considered cases. Again, replacing one of the two SZ templates by a cosmology-dependent spectrum is sufficient to break the degeneracy between the two amplitudes, as they can only take values compatible with the cosmology. However, here, replacing the tSZ template but keeping the kSZ one does not improve detection limits, with D 3000 kSZ $ \mathcal{D}^{\mathrm{kSZ}}_{3000} $ remaining at 2σ. This can be related to the strong priors placed on cosmological parameters, in particular on Ωch2 and, therefore, on Ωm, almost fixing the shape of the tSZ spectrum. Because of the strong correlation existing between Ωch2 and the mass bias 1 − b, releasing the prior on Ωch2 will weaken the constraints obtained on the mass bias, but have no impact on the measured D 3000 tSZ $ \mathcal{D}_{3000}^\mathrm{tSZ} $. This also explains why the results only slightly change when the tSZ model changes but RF-inferred kSZ is used.

thumbnail Fig. 4.

Probability distributions of the amplitudes of the tSZ and kSZ power spectra at  = 3000, in μK2, for the different models considered (see text). On the bottom panel, the kSZ is decomposed into its late-time and patchy components.

It is only when the cosmological information included in the kSZ spectrum is used that there is a clear improvement in the measurement of the two signals, with the most likely values of the tSZ and kSZ amplitudes sitting at 9 and 5σ, respectively, from a zero amplitude: D 3000 tSZ =3.5±0.4 $ \mathcal{D}_{3000}^\mathrm{tSZ} = 3.5 \pm 0.4 $ and D 3000 kSZ = 3 . 4 0.3 + 0.5 $ \mathcal{D}_{3000}^{\mathrm{kSZ}}=3.4^{+0.5}_{-0.3} $ with a 68% confidence limit (see also Table 3). The model used to derive the kSZ allows to decompose it into its patchy and late-time contributions. The probability distributions of their amplitudes at  = 3000 are shown in the bottom panel of Fig. 4. Again, if the late-time contribution is well-constrained, only an upper limit can be placed on the patchy kSZ, similar to what was obtained with a fixed cosmology: D 3000 pkSZ <1.6 μ K 2 $ \mathcal{D}_{3000}^\mathrm{pkSZ} < 1.6\,\muup\mathrm{K}^2 $ at 95% confidence. The most likely kSZ and tSZ spectra at 150 GHz, as well as their 68% credibility regions, are shown in Fig. 5 and compared to the best-fit templates. For the first time, it is possible to see the shape of the SZ spectra preferred by the small-scale CMB data, and to decompose the kSZ power into its late-time and patchy components. In conclusion, in comparison to the templates, the RF-prediction allows for a larger power at high- for both spectra and for reduced error bars at all multipoles. This result holds when using different templates than the ones used in Reichardt et al. (2021), notably templates obtained with the analytical derivation of Gorce et al. (2020) for different sets of parameters. We additionally find a difference of only 0.17 μK2, corresponding to approximately 0.25σ, on the amplitude of the total kSZ power at  = 3000 when a template and a cosmology-dependent amplitude are used for the late-time component of the kSZ (Shaw et al. 2012), whilst the RF is used to infer the patchy contribution.

thumbnail Fig. 5.

Most likely SZ spectra at 150 GHz obtained when fitting cosmology and reionisation parameters to the SPT data. Two cases are compared: Either templates are used for both spectra (dashed lines) or they are predicted by our RF given the sampled parameters (solid lines). For the results obtained with RF predictions, shaded areas correspond to 68% confidence regions. For the results obtained with templates, only the amplitudes at  = 3000 are constrained, and the 68% confidence intervals on their values are shown as error bars. The tSZ and total kSZ spectra are shown in the upper and middle panels, respectively. When possible, the kSZ signal is decomposed between patchy (dark blue) and late-time (light blue) components, shown in the lower panel.

We show in Fig. 6 the maximum likelihood components of the temperature power spectrum observed by the SPT (R21) for our main analysis, that is when both SZ spectra are predicted by the RF, and when templates are used. We see that the SZ amplitudes at  = 3000 are consistent across all analyses, but that freeing the shape of the SZ spectra when introducing the RF leads to an increase in the contribution of both the kSZ and the tSZ to the total power on the smallest scales ( > 4000). This power is mostly drawn from clustered dusty galaxies and radio galaxies. The fixed shape of their spectra results in decreased amplitudes at  = 3000, with the amplitude of the contribution from radio galaxies moving from D 3000 rg =0.9±0.2 $ \mathcal{D}_{3000}^\mathrm{rg}=0.9\pm 0.2 $ to D 3000 rg =0.7±0.1 $ \mathcal{D}_{3000}^\mathrm{rg}=0.7\pm0.1 $ when introducing the RF. The amplitudes of the other foregrounds are only weakly impacted by the new model. For example, the amplitude of the contribution from the Galactic cirrus at  = 3000 and 220 GHz is D 3000 gc =1.9±0.4 μ K 2 $ \mathcal{D}_{3000}^\mathrm{gc} = 1.9\pm 0.4\,\muup\mathrm{K}^2 $. Only the constraints on the CIB-tSZ correlation, whose amplitude is described by a sampled parameter ξ (see Sect. 3), are strongly impacted by the change of model. We show in Fig. B.2 the joint posterior distributions of this parameter with the kSZ and tSZ amplitudes at  = 3000 in the four cases aforementioned. In the analysis of previous data, allowing for a correlation between the two signals has made measuring the kSZ signal more difficult (Reichardt et al. 2012; Dunkley et al. 2013; Sievers et al. 2013; George et al. 2015), until R21, where the authors claim to measure the kSZ amplitude at 3σ, despite letting ξ free. The previous difficulties to measure the SZ amplitudes are explained by a strong degeneracy between ξ and the kSZ and tSZ power. Here, when using both templates, we indeed find a correlation coefficient of 0.65 and −0.58 between ξ and D 3000 kSZ $ \mathcal{D}_{3000}^\mathrm{kSZ} $ and ξ and D 3000 tSZ $ \mathcal{D}_{3000}^\mathrm{tSZ} $, respectively. However, when removing the use of templates, these coefficients are reduced to 0.22 and −0.22, respectively, such that the level of correlation between the CIB and the tSZ is constrained to ξ = 0.07 ± 0.03, ruling out positive correlations at the 2σ level and confirming that there is an overdensity of dusty galaxies in galaxy clusters.

thumbnail Fig. 6.

Most likely components of the small-scale CMB temperature power spectrum observed by the SPT (R21), when cosmology is free. Solid and dashed lines show the results when RF predictions and templates are used for the SZ spectra, respectively.

Regarding cosmological constraints, as shown in Table 3, we again recover the Planck priors on Ωbh2, Ωch2, 100θMC and ns. Overall, the values of the other sampled cosmological parameters are consistent with the large-scale results, only with larger error bars. Notably, the width of the 68% confidence interval on log A increases from 0.014 to 0.027 when small-scale data are used in the analysis. In Fig. 7, we show the posterior distributions of As, τ, zre and zend for our four cases. As before, we see that replacing the tSZ template by a cosmology-dependent spectrum does not impact the parameter constraints, because of the strong priors placed on Ωch2 and so, effectively, on the shape of the spectrum. Introducing the RF-inferred kSZ spectrum, however, slightly shifts the most likely values of As and zre, and, consequently, of τ, pulling the constraints on the reionisation history towards later scenarios: zre moves from 8 . 4 1.3 + 0.8 $ 8.4^{+0.8}_{-1.3} $ with both templates to z re = 7 . 9 1.3 + 1.1 $ z_{\mathrm{re}} = 7.9^{+1.1}_{-1.3} $ with both cosmology-dependent spectra, whilst τ moves from 0 . 068 0.014 + 0.009 $ 0.068^{+0.009}_{-0.014} $ to τ = 0 . 062 0.015 + 0.012 $ \tau = 0.062^{+0.012}_{-0.015} $ at the 68% confidence level.

thumbnail Fig. 7.

Posterior distributions of cosmological and reionisation parameters sampled when cosmology is let free with Planck Collaboration I (2020) priors and RF-predicted or templates are used for the kSZ and tSZ power spectra. The constraints obtained with large-scale Planck data in Sect. 4.1 are shown as black dashed lines.

5. Discussion

The constraints on the history of reionisation derived from CMB analyses are traditionally based on the value of the Thomson optical depth which only offers a limited amount of information, since it is the integrated electron column density along the line of sight, averaged over the whole sky. In particular, as seen in Sect. 4.1, constraining models with more than one parameter with current CMB data proves difficult. Additionally, the measurements of τ from Planck data are still plagued with systematics and different analyses lead to different values (e.g., Planck Collaboration XLVII 2016; Pagano et al. 2020; Natale et al. 2020) which, whilst being mostly consistent, can change our picture of the high-redshift Universe. In order to improve the constraints on reionisation obtained from CMB data, one can combine CMB observations to other data sets, such as measurements of the IGM ionised fraction from quasar spectra, galaxy luminosity functions (e.g., Gorce et al. 2018; Qin et al. 2020), or even measurements of the 21 cm signal (e.g., Alvarez 2016; Ahn & Shapiro 2021; Paul et al. 2021; Billings et al. 2021). The option we chose in this work is to fully exploit the potential of CMB observations by including small-scale data in the analysis. In contrast to previous works (Planck Collaboration XLVII 2016), cosmological- and reionisation-dependent models of the tSZ and kSZ power spectra, which are foregrounds to the primary temperature fluctuations on scales  > 2000, are introduced, giving access to the cosmological information included in their shape and amplitude. Doing so, we provide new constraints on the nature of reionisation and on cosmological parameters.

5.1. Constraining the nature of reionisation

In Sect. 4.1, fitting the Planck data with different parameterisations of the redshift-evolution of the IGM ionised fraction (Eqs. (2) and (3)), we have found that the large-scale CMB power spectrum can only constrain the value of the optical depth τ, but not the details of the reionisation history. However, the measured value of τ can give a completely different picture of the high-redshift Universe, depending on the adopted model, and the latter should therefore be chosen carefully. A complementary analysis has been performed by Qin et al. (2020), who directly confront semi-numerical simulations (Mesinger et al. 2011; Greig & Mesinger 2015; Murray et al. 2020) to Planck Collaboration I (2020) large-scale data, avoiding the use of any parameterisation of the reionisation history. They recover a constraint on τ similar to parametric analyses, and argue that a prior on τ can be used with the same effect as the full large-scale Planck likelihoods to constrain reionisation models. Another way of obtaining somewhat model-free constraints on reionisation from CMB data is the use of non-parametric reconstructions, for example via a principal component analysis (Hu & Holder 2003; Mortonson & Hu 2008; Bégin et al. 2022) or by interpolating between a varying number of redshift bins along the ionisation history (Millea & Bouchet 2018). These results motivate a more thorough analysis of small-scale data to complement large-scale results and better constrain reionisation.

Using cosmology-dependent SZ spectra to fit the small-scale SPT data, we find in Sect. 4.2 that their shape and amplitude can indeed be used to learn about the reionisation history. In Fig. 8, we compare the results for free cosmology runs on large-scale and small-scale data, and see that both data sets tell consistent stories, in agreement with current constraints on the ionisation fraction of the IGM from Lyman-α emitters (Ota et al. 2008; Schenker et al. 2013; Konno et al. 2018; Mason et al. 2018; Hoag et al. 2019; Jung et al. 2020) and quasar spectra (McGreer et al. 2015; Greig et al. 2017, 2019), or a combination of both (Gorce et al. 2018). With large-scale data only, we report a constraint on the midpoint of reionisation of 7.4 ± 0.7. Using the cosmology-dependent kSZ and tSZ spectra to analyse the SPT data (Reichardt et al. 2021), we obtain z re = 7 . 9 1.3 + 1.1 $ z_{\mathrm{re}} = 7.9^{+1.1}_{-1.3} $ for the midpoint and z end = 6 . 2 0.8 + 1.6 $ z_{\mathrm{end}} = 6.2^{+1.6}_{-0.8} $, corresponding to a 95% upper limit of zend < 8.5, for the endpoint (see Fig. 7). The small-scale data requires larger values of the reionisation midpoint than large-scale results, with the first light sources starting to ionise the IGM around z = 158. This fact was already observed in Choudhury et al. (2021), where the authors fit a semi-numerical model of reionisation to Planck CMB and SPT data and could mean a tension between the small-scale CMB data and recent works inferring a late end for reionisation from astrophysical data sets (Becker et al. 2015; Bosman et al. 2018). More precisely, let the duration of reionisation Δz, 50 = z0.25 − z0.75, where zi is the redshift at which a fraction i of the IGM is ionised. We find an upper limit Δz, 50 < 4.8 (4.3) at 99% (95%) confidence, consistent with the constraints obtained in previous works from the SPT measurement of the kSZ amplitude (Reichardt et al. 2021). These include Δz, 50 < 2.9 (99% C.L.) presented in Choudhury et al. (2021) and Δz, 50 < 3.5 given in Chen et al. (2022), although we expect the latter limit to be significantly loosened when the parameters of the model used by the authors are freed. Our upper limit is also less stringent that the initial results of Planck Collaboration XLVII (2016), where the authors post-process the posterior distribution of D 3000 kSZ $ \mathcal{D}^{\mathrm{kSZ}}_{3000} $ obtained with templates confronted to a combination of Planck, ACT and SPT data (Das et al. 2014; George et al. 2015; Planck Collaboration I 2016). We add that, as mentioned in Appendix A, kSZ measurements alone seem unsufficient to obtain precise constraints on zre, and a coherent analysis of small- and large-scale data is required.

thumbnail Fig. 8.

Constraints on reionisation history obtained with Planck (in grey, Planck Collaboration I 2020) and SPT high- data (in blue, Reichardt et al. 2021) for cosmology-dependent kSZ and tSZ spectra. Cosmology is free but, for the latter, Gaussian priors from Sect. 4.1 are imposed on four cosmological parameters. Inferences are compared to currently available data points on the ionisation fraction of the IGM from Lyman-α emitters and QSO spectra (see text for references).

The new analytic derivation of the kSZ angular spectrum introduced in Gorce et al. (2020) and confronted to data for the first time in this work does not only allow a consistent modelling of the reionisation history in large and small CMB data analysis, but also gives access to information about the patchiness of reionisation and the nature of its sources. Indeed, the κ parameter is directly related to the typical size of ionised bubbles, whilst α0 describes the variance of the electron density field during the EoR, and the distribution of light sources throughout the IGM. However, current data does not allow to get precise constraints on these two shape parameters. We can report an upper limit α0 < 104.1 Mpc3 at 95% confidence, which is in good agreement with values obtained for both radiative hydrodynamics and semi-numerical simulations of reionisation (Mesinger et al. 2011; Aubert et al. 2015; Seiler et al. 2019) in Gorce et al. (2020). We expect the results presented here to greatly improve with data from the next generation of CMB observatories. Additionally, these parameters being related to the morphology of reionisation, and so to the physical properties of early galaxies leading the process, future observations, for example of the spatial fluctuations of the 21 cm signal by the Square Kilometre Array (Mellema et al. 2015), will give access to independent constraints on these parameters, and therefore help the characterisation of the high-multipole CMB power spectrum.

5.2. Cosmological constraints

In Fig. 7, we compare the posterior distributions of log A, τ, zre and zend obtained in Sect. 4.1 with Planck data only, and in Sect. 4.2 with the SPT data, Planck priors and RF-inferred SZ spectra. We see that, because of the presence of many different components to the observed temperature power spectrum on small scales, the SPT data are less constraining than Planck CMB. In particular, the 1σ intervals on log A and τ close to double, from 0.007 reported in Sect. 4.1 to 0.012 for the latter. Interestingly, the τ − As degeneracy is not broken by the new reionisation model and the addition of the SPT data. However, we expect that future experiments will be able to break this degeneracy (Calabrese et al. 2014; Galli et al. 2014) and such forecasts will be the focus of future work. The degeneracy between the two parameters, although corresponding to the same correlation coefficient, is shifted between the large- and small-scale results. That is, for a given log A, large-scale data favours larger τ values than small-scale data, and reciprocally. This is due to the small-scale data requiring a kSZ amplitude corresponding to early reionisation scenarios, which in turn translates into a larger optical depth. Hence, the best-fit value for log A is found to be smaller than, although still fully consistent with, the large-scale results.

Another potential issue of this analysis is the strong correlation observed between the reionisation midpoint zre and the Thomson optical depth τ, which is directly derived from the reionisation history. Indeed, we report a correlation coefficient between the two parameters of 0.98. This degeneracy could be partly broken with future data to allow for a cleaner measurement of both reionisation history parameters, zre and zend. For example, measurements of the spatial fluctuations of the CMB optical depth could be used (Holder et al. 2007; Dvorkin & Smith 2009; Gluscevic et al. 2013; Namikawa et al. 2021). Another indirect option would be to independently constrain zre and zend with data from other cosmological sources, such as quasar spectra or the power spectrum of fluctuations in the 21 cm signal coming from the EoR (Liu et al. 2016) or with next generation CMB data. Indeed, Alvarez et al. (2021) suggest that varying the reionisation history has a different impact on the Gaussian and the non-Gaussian part of the signal9, and, therefore, four-point estimators of the kSZ could be used to break the degeneracy.

In order to break degeneracies between parameters, detect systematics, and allow a fruitful analysis of available data sets, a consistent analysis of the different observables of reionisation seems to be a promising avenue. Indeed, several works have already demonstrated the potential offered by a combined analysis of astrophysical and CMB data (e.g., Millea & Bouchet 2018; Qin et al. 2020; Chatterjee et al. 2021; Baxter et al. 2021; Sato-Polito et al. 2021; La Plante et al. 2022), 21 cm and CMB data (e.g., Tashiro et al. 2011; Alvarez 2016; Ma et al. 2018; Hotinli & Johnson 2022; La Plante et al. 2020; Billings et al. 2021; Choudhury et al. 2021; Ahn & Shapiro 2021; Bégin et al. 2022), or different types of CMB data (e.g., Planck Collaboration XLVII 2016; Alvarez et al. 2021; Namikawa et al. 2021; Paul et al. 2021; Roy et al. 2021).

6. Conclusions

Using machine learning, we have included a cosmology-dependent derivation of the tSZ (following, among others, Komatsu & Seljak 2002; Taburet et al. 2009; Planck Collaboration XVI 2014; Salvati et al. 2018) and kSZ angular power spectra, introduced in Gorce et al. (2020), to the analysis of the SPT measurements of the small-scale power spectrum of CMB temperature fluctuations. Doing so, we have proven that the cosmological information included in the shape and amplitude of these foregrounds, usually considered as nuisance parameters, can help tighten constraints on cosmology and reionisation. In Douspis et al. (2022), we have focused our efforts on the tSZ effect. In this work, we have additionally included a proper modelling of reionisation and of the kSZ effect to the analysis.

Several works have demonstrated that the history of reionisation is not an instantaneous, redshift-symmetric process, motivating the inclusion of a physical parameterisation of reionisation (Douspis et al. 2015) in the analysis of the latest Planck CMB data (Planck Collaboration I 2020). In the framework introduced in this work, it is not the Thomson optical depth τ that is sampled, but the reionisation history itself, through two meaningful parameters: The reionisation midpoint zre and endpoint zend, corresponding to the redshift when the hydrogen in the IGM is 50% and 100% ionised, respectively. Analysing the Planck data, in Sect. 4.1, we find a value of the Thomson optical depth τ = 0.056 ± 0.07 fully consistent with the one obtained using the fiducial, symmetric model (τ = 0.054 ± 0.007). However, the reionisation history corresponding to this value gives a completely different picture of the high-redshift Universe, where the first light sources light up and start reionising the IGM as soon as z = 15 (compared to z = 10 for the instantaneous model, see Fig. 2). Indeed, despite the As − τ degeneracy translating into a As − zre degeneracy, the Planck data alone gives tight constraints on the reionisation history, with a midpoint zre = 7.4 ± 0.7 and an upper limit on the end of the process zend < 7.5 (95% C.L.). These results corroborate previous works (e.g. Planck Collaboration XLVII 2016; Qin et al. 2020), who found that the large-scale CMB data was really only sensitive to the integrated reionisation history, through τ, and not to the details of the process. They motivate a new analysis of the small-scale CMB temperature power spectrum, designed to exploit the cosmological information included not only in the primary signal, but also in the CMB foregrounds, as done in Sect. 4.2.

In the analysis of the SPT small-scale data (Reichardt et al. 2021), we replace the template of the kSZ spectrum used in previous analyses by a cosmology-dependent estimate (Fig. 1). Because a full derivation at each iteration of the sampler is too time-consuming to be considered, we train random forests to predict the patchy and late-time kSZ angular power spectra, when given the following parameters: Ωbh2, Ωch2, 100θMC, ns, As, zre, zend, α0 and κ – the latter two defining the shape of the patchy kSZ spectrum (Gorce et al. 2020)10. We incorporate the large-scale results to the small-scale analysis by imposing Gaussian priors corresponding to the results of Sect. 4.1 on Ωbh2, Ωch2, 100θMC and ns. We find that removing the tSZ and kSZ templates from the analysis, with or without letting the cosmology free, breaks the degeneracy between the amplitudes at  = 3000 of the two power spectra. We report a 5σ measurement of the amplitude of the kSZ angular power spectrum, marginalised over cosmology (see Fig. 4):

D 3000 kSZ = 3 . 4 0.3 + 0.5 μ K 2 ( 68 % C . L . ) . $$ \begin{aligned} \mathcal{D} _{3000}^\mathrm{kSZ} = 3.4^{+0.5}_{-0.3}\,\upmu \mathrm{K} ^2\ (68\%\ \mathrm{C.L.}). \end{aligned} $$

The previous measurement, obtained with the same data but fixed cosmology, was given at 3σ (Reichardt et al. 2021). We confirm their result of a negative tSZxCIB correlation, with a zero correlation being disfavoured above the 2σ level. These values result in a well-constrained reionisation history, although in slight tension with Planck: the SPT data indeed seem to favour earlier reionisation scenarios, with (see Fig. 7)

z re = 7 . 9 1.3 + 1.1 ( 68 % C . L . ) , $$ \begin{aligned} z_\mathrm{re} = 7.9^{+1.1}_{-1.3}\ (68\%\ \mathrm{C.L.}), \end{aligned} $$

leading to an optical depth

τ = 0 . 062 0.015 + 0.012 ( 68 % C . L . ) . $$ \begin{aligned} \tau = 0.062^{+0.012}_{-0.015}\ (68\%\ \mathrm{C.L.}). \end{aligned} $$

These scenarios are in agreement with current constraints on the IGM ionisation level obtained from Lyman-α emitters and quasar spectra (Fig. 8). We also report the first direct upper limit on the amplitude of the kSZ power stemming from reionisation

D 3000 pkSZ < 1.6 μ K 2 ( 95 % C . L . ) , $$ \begin{aligned} \mathcal{D} _{3000}^\mathrm{pkSZ} < 1.6\,\upmu \mathrm{K} ^2\ \mathrm{(95\% \ C.L.)}, \end{aligned} $$

corresponding to about half of the previous upper limit (Reichardt et al. 2021) and show in Fig. 5, for the first time, the shape of the SZ spectra preferred by the small-scale CMB data. In particular, these new results seem to indicate a stronger small-scale power of both the tSZ and kSZ effects than previously allowed by templates.

If these results are promising, they can still be improved. In future work, we will focus our efforts on the modelling of other high-multipole CMB foregrounds, such as the cosmic infrared background (Maniyar et al. 2019, 2021), and perform a simultaneous analysis of small- and large-scale CMB data in a unified framework to achieve better constraints on the reionisation history. We will also explore the potential of the future generation of CMB observatories to measure the shape of the kSZ angular power spectrum11, and, doing so, to constrain the morphology of reionisation12.


3

See https://szdb.osups.universite-paris-saclay.fr/ for a user-friendly interface and a link to the public repository.

4

In contrast to equal-tail probability intervals, the highest-density probability interval is more appropriate for Bayesian analysis with skewed distributions, as it ensures all the values included in the confidence interval have a probability higher than 0.68.

6

Bandpowers and likelihood codes compatible with CosmoMC can be downloaded at https://pole.uchicago.edu/public/data/reichardt20/.

7

As shown in Paper I, it is useful to keep in mind that the bias 1 − b is strongly correlated to the amplitude of the tSZ power spectrum at  = 3000 (see also Salvati et al. 2019).

8

The parameterisation used allows for reionisation to start as early as z = 20, but not before.

9

For example, the kSZ four-point correlations will be enhanced by shorter reionisation histories.

10

The trained random forests are available at https://szdb.osups.universite-paris-saclay.fr.

13

Given the smoothness of the evolution of the kSZ spectra with , we find this number of bins to be sufficient.

Acknowledgments

The authors thank Dominique Aubert, Ian Hothi, Stéphane Ilić and Adrian Liu for useful comments regarding a draft version of this paper. They additionally thank the referee for their useful comments which certainly helped improve this work. AG’s work was supported by the McGill Astrophysics Fellowship funded by the Trottier Chair in Astrophysics, as well as the Canadian Institute for Advanced Research (CIFAR) Azrieli Global Scholars program and the Canada 150 Programme. This work was additionally supported by the Programme National Cosmology et Galaxies (PNCG) of CNRS/INSU with INP and IN2P3, co-funded by CEA and CNES. Most of the analysis was performed at the computation facility of IDOC, partly provided by DIM ACAV. The authors also acknowledge the use of the supercomputer Cedar at Simon Fraser University, managed by Compute Canada to compute the training sets used in this work. The operation of this supercomputer is funded by the Canada Foundation for Innovation (CFI). This research made use of matplotlib, a Python library for publication quality graphics (Hunter 2007), of scipy, a Python-based ecosystem of open-source software for mathematics, science, and engineering (Jones et al. 2001) – including numpy (Oliphant 2006), of the scikit-learn (Pedregosa et al. 2011) library, and of the corner (Foreman-Mackey 2016), getdist (Lewis 2019) and arviz (Kumar et al. 2019) packages to analyse posterior distributions.

References

  1. Abazajian, K. N., Adshead, P., Ahmed, Z., et al. 2016, ApJ, submitted [arXiv:1610.02743] [Google Scholar]
  2. Addison, G. E., Dunkley, J., & Spergel, D. N. 2012, MNRAS, 427, 1741 [NASA ADS] [CrossRef] [Google Scholar]
  3. Ade, P., Aguirre, J., Ahmed, Z., et al. 2019, J. Cosmol. Astropart. Phys., 2019, 056 [Google Scholar]
  4. Ahn, K., & Shapiro, P. R. 2021, ApJ, 914, 44 [NASA ADS] [CrossRef] [Google Scholar]
  5. Alvarez, M. A. 2016, ApJ, 824, 118 [Google Scholar]
  6. Alvarez, M. A., Ferraro, S., Hill, J. C., Hložek, R., & Ikape, M. 2021, Phys. Rev. D, 103, 063518 [NASA ADS] [CrossRef] [Google Scholar]
  7. An, L., Brooks, S., & Gelman, A. 1998, J. Comput. Graph. Stat., 7, 434 [Google Scholar]
  8. Aubert, D., Deparis, N., & Ocvirk, P. 2015, MNRAS, 454, 1012 [Google Scholar]
  9. Battaglia, N., Natarajan, A., Trac, H., Cen, R., & Loeb, A. 2013, ApJ, 776, 83 [Google Scholar]
  10. Baxter, E. J., Weinberger, L., Haehnelt, M., et al. 2021, MNRAS, 501, 6215 [NASA ADS] [CrossRef] [Google Scholar]
  11. Becker, G. D., Bolton, J. S., & Lidz, A. 2015, PASA, 32, e045 [NASA ADS] [CrossRef] [Google Scholar]
  12. Bégin, J.-M., Liu, A., & Gorce, A. 2022, Phys. Rev. D, 105 [Google Scholar]
  13. Bennett, C. L., Banday, A. J., Gorski, K. M., et al. 1996, ApJ, 464, L1 [NASA ADS] [CrossRef] [Google Scholar]
  14. Billings, T. S., La Plante, P., & Aguirre, J. E. 2021, PASP, submitted [arXiv:2103.14563] [Google Scholar]
  15. Bosman, S. E. I., Fan, X., Jiang, L., et al. 2018, MNRAS, 479, 1055 [Google Scholar]
  16. Bouwens, R. J., Illingworth, G. D., Oesch, P. A., et al. 2015, ApJ, 811, 140 [NASA ADS] [CrossRef] [Google Scholar]
  17. Calabrese, E., Hložek, R., Battaglia, N., et al. 2014, J. Cosmol. Astropart. Phys., 2014, 010 [Google Scholar]
  18. Casey, C. M., Narayanan, D., & Cooray, A. 2014, Phys. Rep., 541, 45 [Google Scholar]
  19. Chatterjee, A., Choudhury, T. R., & Mitra, S. 2021, MNRAS, 507, 2405 [NASA ADS] [CrossRef] [Google Scholar]
  20. Chen, N., Trac, H., Mukherjee, S., & Cen, R. 2022, ApJ, submitted [arXiv:2203.04337] [Google Scholar]
  21. Choudhury, T. R., Mukherjee, S., & Paul, S. 2021, MNRAS, 501, L7 [Google Scholar]
  22. Das, S., Louis, T., Nolta, M. R., et al. 2014, J. Cosmol. Astropart. Phys., 2014, 014 [CrossRef] [Google Scholar]
  23. Douspis, M., Aghanim, N., & Langer, M. 2006, A&A, 456, 819 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  24. Douspis, M., Aghanim, N., Ilić, S., & Langer, M. 2015, A&A, 580, L4 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  25. Douspis, M., Salvati, L., Gorce, A., & Aghanim, N. 2022, A&A, 659, A99 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  26. Dunkley, J., Calabrese, E., Sievers, J., et al. 2013, J. Cosmol. Astropart. Phys., 2013, 025 [CrossRef] [Google Scholar]
  27. Dvorkin, C., & Smith, K. M. 2009, Phys. Rev. D, 79, 043003 [NASA ADS] [CrossRef] [Google Scholar]
  28. Foreman-Mackey, D. 2016, J. Open Source Softw., 1, 24 [Google Scholar]
  29. Galli, S., Benabed, K., Bouchet, F., et al. 2014, Phys. Rev. D, 90, 063504 [NASA ADS] [CrossRef] [Google Scholar]
  30. Gelman, A., & Rubin, D. B. 1992, Stat. Sci., 7, 457 [Google Scholar]
  31. George, E. M., Reichardt, C. L., Aird, K. A., et al. 2015, ApJ, 799, 177 [Google Scholar]
  32. Gluscevic, V., Kamionkowski, M., & Hanson, D. 2013, Phys. Rev. D, 87, 047303 [NASA ADS] [CrossRef] [Google Scholar]
  33. Gorce, A., Douspis, M., Aghanim, N., & Langer, M. 2018, A&A, 616, A113 [EDP Sciences] [Google Scholar]
  34. Gorce, A., Ilić, S., Douspis, M., Aubert, D., & Langer, M. 2020, A&A, 640, A90 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  35. Greig, B., & Mesinger, A. 2015, MNRAS, 449, 4246 [NASA ADS] [CrossRef] [Google Scholar]
  36. Greig, B., Mesinger, A., Haiman, Z., & Simcoe, R. A. 2017, MNRAS, 466, 4239 [Google Scholar]
  37. Greig, B., Mesinger, A., & Bañados, E. 2019, MNRAS, 484, 5094 [NASA ADS] [CrossRef] [Google Scholar]
  38. Hoag, A., Bradač, M., Huang, K., et al. 2019, ApJ, 878, 12 [NASA ADS] [CrossRef] [Google Scholar]
  39. Holder, G. P., Iliev, I. T., & Mellema, G. 2007, ApJ, 663, L1 [NASA ADS] [CrossRef] [Google Scholar]
  40. Hotinli, S. C., & Johnson, M. C. 2022, Phys. Rev. D, 105, 063522 [NASA ADS] [CrossRef] [Google Scholar]
  41. Howlett, C., Lewis, A., Hall, A., & Challinor, A. 2012, J. Cosmol. Astropart. Phys., 1204, 027 [Google Scholar]
  42. Hu, W., & Holder, G. P. 2003, Phys. Rev. D, 68, 023001 [NASA ADS] [CrossRef] [Google Scholar]
  43. Hunter, J. D. 2007, Comput. Sci. Eng., 9, 90 [NASA ADS] [CrossRef] [Google Scholar]
  44. Ichiki, K. 2014, Progr. Theoret. Exp. Phys., 2014, 06B109 [CrossRef] [Google Scholar]
  45. Iliev, I. T., Pen, U.-L., Bond, J. R., Mellema, G., & Shapiro, P. R. 2007, ApJ, 660, 933 [Google Scholar]
  46. Jones, E., Oliphant, T., Peterson, P., et al. 2001, SciPy: Open Source Scientific Tools for Python [Google Scholar]
  47. Jung, I., Finkelstein, S. L., Dickinson, M., et al. 2020, ApJ, 904, 144 [NASA ADS] [CrossRef] [Google Scholar]
  48. Komatsu, E., & Seljak, U. 2002, MNRAS, 336, 1256 [NASA ADS] [CrossRef] [Google Scholar]
  49. Konno, A., Ouchi, M., Shibuya, T., et al. 2018, PASJ, 70, S16 [Google Scholar]
  50. Kosowsky, A. 2003, New Astron. Rev., 47, 939 [CrossRef] [Google Scholar]
  51. Kuhlen, M., & Faucher-Giguère, C.-A. 2012, MNRAS, 423, 862 [NASA ADS] [CrossRef] [Google Scholar]
  52. Kumar, R., Carroll, C., Hartikainen, A., & Martin, O. 2019, J. Open Source Softw., 4, 1143 [Google Scholar]
  53. La Plante, P., Lidz, A., Aguirre, J., & Kohn, S. 2020, ApJ, 899, 40 [NASA ADS] [CrossRef] [Google Scholar]
  54. La Plante, P., Sipple, J., & Lidz, A. 2022, ApJ, 928, 162 [NASA ADS] [CrossRef] [Google Scholar]
  55. Lagache, G., Puget, J.-L., & Dole, H. 2005, ARA&A, 43, 727 [NASA ADS] [CrossRef] [Google Scholar]
  56. Lewis, A. 2013, Phys. Rev. D, 87, 103529 [NASA ADS] [CrossRef] [Google Scholar]
  57. Lewis, A. 2019, ArXiv e-prints [arXiv:1910.13970] [Google Scholar]
  58. Lewis, A., & Bridle, S. 2002, Phys. Rev. D, 66, 103511 [Google Scholar]
  59. Lewis, A., Challinor, A., & Lasenby, A. 2000, ApJ, 538, 473 [Google Scholar]
  60. Liu, A., Pritchard, J. R., Allison, R., et al. 2016, Phys. Rev. D, 93, 043013 [NASA ADS] [CrossRef] [Google Scholar]
  61. Ma, Q., Helgason, K., Komatsu, E., Ciardi, B., & Ferrara, A. 2018, MNRAS, 476, 4025 [NASA ADS] [CrossRef] [Google Scholar]
  62. Maniyar, A., Lagache, G., Béthermin, M., & Ilić, S. 2019, A&A, 621, A32 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  63. Maniyar, A., Béthermin, M., & Lagache, G. 2021, A&A, 645, A40 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  64. Mason, C. A., Treu, T., Dijkstra, M., et al. 2018, ApJ, 856, 2 [Google Scholar]
  65. McGreer, I. D., Mesinger, A., & D’Odorico, V. 2015, MNRAS, 447, 499 [NASA ADS] [CrossRef] [Google Scholar]
  66. McQuinn, M., Furlanetto, S. R., Hernquist, L., Zahn, O., & Zaldarriaga, M. 2005, ApJ, 630, 643 [Google Scholar]
  67. Mellema, G., Koopmans, L., Shukla, H., et al. 2015, in Advancing Astrophysics with the Square Kilometre Array (AASKA14), 10 [Google Scholar]
  68. Mesinger, A., Furlanetto, S., & Cen, R. 2011, MNRAS, 411, 955 [Google Scholar]
  69. Mesinger, A., McQuinn, M., & Spergel, D. N. 2012, MNRAS, 422, 1403 [Google Scholar]
  70. Millea, M., & Bouchet, F. 2018, A&A, 617, A96 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  71. Mortonson, M. J., & Hu, W. 2008, ApJ, 672, 737 [NASA ADS] [CrossRef] [Google Scholar]
  72. Murray, S. G., Greig, B., Mesinger, A., et al. 2020, J. Open Source Softw., 5, 2582 [NASA ADS] [CrossRef] [Google Scholar]
  73. Namikawa, T., Roy, A., Sherwin, B. D., Battaglia, N., & Spergel, D. N. 2021, Phys. Rev. D, 104, 063514 [NASA ADS] [CrossRef] [Google Scholar]
  74. Natale, U., Pagano, L., Lattanzi, M., et al. 2020, A&A, 644, A32 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  75. Oliphant, T. 2006, NumPy: A guide to NumPy (USA: Trelgol Publishing) [Google Scholar]
  76. Ota, K., Iye, M., Kashikawa, N., et al. 2008, ApJ, 677, 12 [NASA ADS] [CrossRef] [Google Scholar]
  77. Pagano, L., Delouis, J. M., Mottet, S., Puget, J. L., & Vibert, L. 2020, A&A, 635, A99 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  78. Park, H., Shapiro, P. R., Komatsu, E., et al. 2013, ApJ, 769, 93 [Google Scholar]
  79. Park, J., Mesinger, A., Greig, B., & Gillet, N. 2019, MNRAS, 484, 933 [NASA ADS] [CrossRef] [Google Scholar]
  80. Paul, S., Mukherjee, S., & Choudhury, T. R. 2021, MNRAS, 500, 232 [Google Scholar]
  81. Pedregosa, F., Varoquaux, G., Gramfort, A., et al. 2011, J. Mach. Learn. Res., 12, 2825 [Google Scholar]
  82. Planck Collaboration XVI. 2014, A&A, 571, A21 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  83. Planck Collaboration I. 2016, A&A, 594, A1 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  84. Planck Collaboration XLVII. 2016, A&A, 596, A108 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  85. Planck Collaboration I. 2020, A&A, 641, A1 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  86. Planck Collaboration VI. 2020, A&A, 641, A6 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  87. Qin, Y., Poulin, V., Mesinger, A., et al. 2020, MNRAS, 499, 550 [NASA ADS] [CrossRef] [Google Scholar]
  88. Reichardt, C. L., Shaw, L., Zahn, O., et al. 2012, ApJ, 755, 70 [Google Scholar]
  89. Reichardt, C. L., Patil, S., Ade, P. A. R., et al. 2021, ApJ, 908, 199 [NASA ADS] [CrossRef] [Google Scholar]
  90. Robertson, B. E., Ellis, R. S., Furlanetto, S. R., & Dunlop, J. S. 2015, ApJ, 802, L19 [Google Scholar]
  91. Roy, A., Kulkarni, G., Meerburg, P. D., et al. 2021, J. Cosmol. Astropart. Phys., 2021, 003 [CrossRef] [Google Scholar]
  92. Ruhl, J., Ade, P. A. R., Carlstrom, J. E., et al. 2004, in Z-Spec: a Broadband Millimeter-wave Grating Spectrometer: Design, Construction, and First Cryogenic Measurements, eds. C. M. Bradford, P. A. R. Ade, J. E. Aguirre, et al., SPIE Conf. Ser., 5498, 11 [Google Scholar]
  93. Salvati, L., Douspis, M., & Aghanim, N. 2018, A&A, 614, A13 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  94. Salvati, L., Douspis, M., Ritz, A., Aghanim, N., & Babul, A. 2019, A&A, 626, A27 [NASA ADS] [CrossRef] [EDP Sciences] [Google Scholar]
  95. Sato-Polito, G., Bernal, J. L., Boddy, K. K., & Kamionkowski, M. 2021, Phys. Rev. D, 103, 083519 [NASA ADS] [CrossRef] [Google Scholar]
  96. Schenker, M. A., Robertson, B. E., Ellis, R. S., et al. 2013, ApJ, 768, 196 [Google Scholar]
  97. Seiler, J., Hutter, A., Sinha, M., & Croton, D. 2019, MNRAS, 1578 [Google Scholar]
  98. Shang, C., Haiman, Z., Knox, L., & Oh, S. P. 2012, MNRAS, 421, 2832 [NASA ADS] [CrossRef] [Google Scholar]
  99. Shaw, L. D., Nagai, D., Bhattacharya, S., & Lau, E. T. 2010, ApJ, 725, 1452 [NASA ADS] [CrossRef] [Google Scholar]
  100. Shaw, L. D., Rudd, D. H., & Nagai, D. 2012, ApJ, 756, 15 [Google Scholar]
  101. Sievers, J. L., Hlozek, R. A., Nolta, M. R., et al. 2013, J. Cosmol. Astropart. Phys., 2013, 060 [Google Scholar]
  102. Sobrin, J. A., Anderson, A. J., Bender, A. N., et al. 2022, ApJS, 258, 42 [NASA ADS] [CrossRef] [Google Scholar]
  103. Sunyaev, R. A., & Zeldovich, I. B. 1980, ARA&A, 18, 537 [Google Scholar]
  104. Taburet, N., Aghanim, N., Douspis, M., & Langer, M. 2009, MNRAS, 392, 1153 [NASA ADS] [CrossRef] [Google Scholar]
  105. Tanimura, H., Douspis, M., Aghanim, N., & Salvati, L. 2022, MNRAS, 509, 300 [Google Scholar]
  106. Tashiro, H., Aghanim, N., Langer, M., et al. 2011, MNRAS, 414, 3424 [NASA ADS] [CrossRef] [Google Scholar]
  107. Trac, H., Chen, N., Holst, I., Alvarez, M. A., & Cen, R. 2022, ApJ, 927, 186 [NASA ADS] [CrossRef] [Google Scholar]
  108. Viero, M. P., Wang, L., Zemcov, M., et al. 2013, ApJ, 772, 77 [Google Scholar]
  109. Zahn, O., Lidz, A., McQuinn, M., et al. 2007, ApJ, 654, 12 [NASA ADS] [CrossRef] [Google Scholar]
  110. Zahn, O., Mesinger, A., McQuinn, M., et al. 2011, MNRAS, 414, 727 [NASA ADS] [CrossRef] [Google Scholar]
  111. Zahn, O., Reichardt, C. L., Shaw, L., et al. 2012, ApJ, 756, 65 [Google Scholar]
  112. Zeldovich, Y. B., & Sunyaev, R. A. 1969, Astrophys. Space Sci., 4, 301 [Google Scholar]

Appendix A: Random forests predictions

The derivation of the kSZ angular power spectrum introduced in Gorce et al. (2020) is too time-consuming to be included as such in a sampling algorithm. For this reason, and as already successfully implemented in Paper I to estimate the tSZ power, we train random forests to approximate the kSZ angular power spectrum, given a set of cosmological and reionisation parameters. We refer the reader to Paper I for more details about our choice of machine learning technique and parameter optimisation.

We use for training a set of 50 000 kSZ power spectra computed on 25 -bins (100 ≤  ≤ 10 500)13 for parameters ln(1010As), Ωbh2, Ωch2, 100 θMC, ns, zre, dz, log α0 and κ. The parameter ranges covered by the training set include the sampling ranges of Sec. 3.2. The samples are divided into fifths such that 60%, 20% and 20% of the models are used for the learning, validation, and testing phase, respectively. Because of their differences in shape and amplitude, as well as their sensitivity to different cosmological parameters, we train two separate sets of random forests to predict the late-time and patchy kSZ signals.

In order to facilitate the training, we scale each spectrum in the training set by 𝒟3000 values obtained with the method described below. Doing so, the amplitude differences between the spectra in the training set will be smoothed out, and the random forests will focus their training on the dependency between parameters and the shape of the spectrum, rather than its amplitude. We use an MCMC sampling algorithm to obtain the parameters {αi} that minimise the distance between the true D 3000 true $ \mathcal{D}_{3000}^{\mathrm{true}} $ and a model given by D 3000 model A 0 i [ θ i / θ ref , i ] α i $ \mathcal{D}_{3000}^{\mathrm{model}} \equiv A_0 \prod_i \left[\theta_i/\theta_{\mathrm{ref},i}\right] ^{\alpha_i} $, for each of the cosmological and reionisation parameter sets {θi} in the training set. We fix A0 to the amplitude of the spectrum at  = 3000 obtained with the full computation for {θref, i}. We obtain the following for for the patchy kSZ amplitude:

D 3000 pkSZ = 1.03 μ K 2 × ( z re 7.36 ) 0.70 ( d z 1.4 ) 0.87 ( log α 0 3.7 ) 6.60 ( κ 0.10 ) 1.99 × ( Ω b h 2 0.0224 ) 1.47 ( Ω c h 2 0.120 ) 0.20 ( n s 0.9653 ) 0.28 × ( 100 θ MC 1.041 ) 0.012 ( log A 3.048 ) 2.18 , $$ \begin{aligned} \mathcal{D} _{3000}^\mathrm{pkSZ}&= 1.03\ \mu \mathrm{K} ^2 \times \left( \frac{z_\mathrm{re} }{7.36} \right)^{0.70} \left( \frac{\mathrm{d} z}{1.4} \right)^{0.87} \left( \frac{\log \alpha _0}{3.7} \right)^{6.60} \left( \frac{\kappa }{0.10} \right)^{1.99} \nonumber \\&\times \left( \frac{\Omega _b h^2}{0.0224} \right)^{1.47} \left( \frac{\Omega _c h^2}{0.120} \right)^{0.20} \left( \frac{n_s}{0.9653} \right)^{-0.28} \\&\times \left( \frac{100\theta _\mathrm{MC} }{1.041} \right)^{0.012} \left( \frac{\log A}{3.048} \right)^{2.18},\nonumber \end{aligned} $$(A.1)

and the following for the late-time kSZ amplitude:

D 3000 lkSZ = 3.11 μ K 2 × ( z re 7.37 ) 0.24 ( d z 1.4 ) 0.08 ( log α 0 3.7 ) 0.07 ( κ 0.10 ) 0.04 × ( Ω b h 2 0.0224 ) 0.78 ( Ω c h 2 0.120 ) 2.93 ( n s 0.9653 ) 2.12 × ( 100 θ MC 1.041 ) 0.006 ( log A 3.048 ) 6.94 . $$ \begin{aligned} \mathcal{D} _{3000}^\mathrm{lkSZ}&= 3.11\ \mu \mathrm{K} ^2 \times \left( \frac{z_\mathrm{re} }{7.37} \right)^{0.24} \left( \frac{\mathrm{d} z}{1.4} \right)^{-0.08} \left( \frac{\log \alpha _0}{3.7} \right)^{0.07} \left( \frac{\kappa }{0.10} \right)^{0.04} \nonumber \\&\times \left( \frac{\Omega _b h^2}{0.0224} \right)^{0.78} \left( \frac{\Omega _c h^2}{0.120} \right)^{2.93} \left( \frac{n_s}{0.9653} \right)^{2.12} \\&\times \left( \frac{100\theta _\mathrm{MC} }{1.041} \right)^{-0.006} \left( \frac{\log A}{3.048} \right)^{6.94}.\nonumber \end{aligned} $$(A.2)

We note that the observed scalings, although model-dependent, exhibit the expected dependencies. For example, the amplitude of the late-time kSZ is inversely proportional to the duration of reionisation, dz, but proportional to the reionisation redshift zre. Indeed, for a given zre, a longer reionisation will end later, and, therefore, the late-time signal will be integrated over a short redshift range. Conversely, for a given reionisation duration, a larger midpoint means that reionisation will end earlier and the late-time signal will be integrated over a larger redshift range. Additionally, the strong dependency of both kSZ components to the baryon and cold dark matter densities is related to the large contribution of the matter power spectrum in the derivation of their spectra. These dependencies are illustrated on Fig. A.2 and we refer the interested reader to Chen et al. (2022) for a detailed discussion of the dependency of the shape and amplitude of the patchy kSZ on various reionisation parameters. We emphasise the fact that the amplitude of the patchy and late-time kSZ spectra increases slowly with zre, which will limit the constraining power of kSZ measurements on this parameter.

We show in Fig. A.1 some of the kSZ spectra recovered by the random forests after training, using parameters in the testing set – that is, parameter sets that the RF has not been explicitly trained on. We see that, overall, the late-time regressor performs better than the patchy one. They obtain, respectively, scores of 0.993 and 0.998 for a maximum of 1.0, corresponding to the coefficient of determination R2 of the prediction. This is likely because, as can be seen on the figure, there is much more variance between the patchy spectra than between the late-time spectra, and in particular there is more variance in their shape. However, in both cases, reconstruction errors remain within 5% of the true value (1% for late-time), and are recovered with an absolute error < 0.02 μK2, which is about ten times smaller than the precision of the constraints obtained with the data (see Table 3). These errors are constant on the range of multipoles covered by the SPT data. To optimise the quality of the prediction, we have tested different values of hyper-parameters used by the RF, and we choose 40 for the number of trees and a depth of 20. These values maximise the score, whilst limiting the time and memory imprints of the reconstruction.

thumbnail Fig. A.1.

Patchy (upper panel) and late-time (low panel) kSZ spectra recovered by our random forest regressors, compared to true values. The lower panels show the 95% confidence intervals on the ratio of the two and the 95% confidence intervals on the absolute difference between the two, that is the absolute error.

thumbnail Fig. A.2.

Dependence of the reionisation history (left panels), patchy (middle panels) and late-time (right panels) kSZ angular power spectra on the cosmological parameters the random forests were trained on (rows). For each parameter, three values are tested and we compare the spectrum obtained with the exact computation (dashed line) from the one inferred by the RF (solid line). The shaded area corresponds to the 68% confidence interval corresponding to the RF reconstruction errors (identical as Fig. A.1).

thumbnail Fig. A.3.

Posterior probability distributions of nuisance parameters obtained with SPT high- data (R21) using either templates (in yellow) or analytic derivation (in blue) for the tSZ and the kSZ power and a physical parameterisation of reionisation. Inferences are compared to the initial analysis, with templates and fixed reionisation (in grey). The CIBxtSZ amplitude is given in terms of its absolute value.

Appendix B: Full parameter distributions

We present in this appendix additional posterior distributions from the different analyses carried out in this work, in order to support our arguments.

B.1. Fixed cosmology

We present in this appendix the posterior distributions of the nuisance parameters – that is, of the amplitudes at  = 3000 of the various foregrounds considered, for the run fitting the SPT data with fixed cosmology. Results are compared in Fig. A.3 between the results of R21, using templates for both SZ spectra; a similar analysis but with the reionisation model of Eq. (3); or with RF-inferred SZ spectra (see above). The constraints obtained with the cosmology-dependent SZ spectra are fully consistent with previous results, although tighter. For example, the error bars on the contribution from Poisson-distributed dusty galaxies are reduced by 15%. Overall, the contribution of dusty and radio galaxies to the observed temperature power spectrum is smaller on all scales. Regarding the tSZxCIB correlations, the constraints on their amplitude at  = 3000, ξ, obtained with the RF are fully consistent with previous results - that is, the data favours positive correlations at the 2σ level, but the new model breaks the degeneracy between ξ and the SZ amplitudes.

B.2. Varying cosmology

In Fig. B.1, we present the posterior distribution of the main cosmological and nuisance parameters obtained in Sec. 4.2. Depending on the nature of the analysis (that is, if templates or RF are used), these parameters can be sampled or derived. The cosmological information included in the SZ spectra when they are inferred by the RF at each iteration of the chain favours later and quicker reionisation scenarios although the constraints remain fully consistent with the results obtained with templates. The anti-correlation between σ8 and 1 − b, as well as the correlation between 1 − b and the tSZ amplitude, already observed in Paper I, is not broken by the addition of the cosmology-dependent kSZ model. Finally, the kSZ shape parameters, log α0 and κ, cannot be constrained precisely. Only an upper limit log[α0/Mpc3]< 4.1 (95% confidence) can be placed on the amplitude of the large-scale amplitude of the free electrons density fluctuations at high redshift. The interpretation of such an upper limit, in terms of high-redshift galaxy properties, will be the focus of future work.

thumbnail Fig. B.1.

Posterior distributions of the different parameters sampled in the run with free cosmological and reionisation parameters using RF-predicted kSZ and tSZ spectra.

We show in Fig. B.2 the joint posterior distributions of the amount of CIBxtSZ correlations, ξ, with the amplitudes of the kSZ and tSZ power spectra at  = 3000, for the four cases aforementioned. We see that, despite being fully consistent with the results obtained with templates, using the cosmology-dependent SZ spectra allows to break the degeneracy between ξ and the SZ amplitudes. Replacing the tSZ template by the RF-inferred spectrum in the analysis allows to break the degeneracy between ξ and the tSZ amplitude: the correlation coefficient between D 3000 tSZ $ \mathcal{D}_{3000}^\mathrm{tSZ} $ and ξ drops from −0.6 when the model used for the tSZ is a template, to −0.2 when the cosmology-dependent tSZ power is used. Similarly, exploiting the cosmological information included in the kSZ power breaks the degeneracy between D 3000 kSZ $ \mathcal{D}^{\mathrm{kSZ}}_{3000} $ and ξ, moving from 0.6 to 0.2 when the kSZ template is replaced by the RF.

thumbnail Fig. B.2.

Joint posterior distributions of the kSZ and tSZ amplitudes at  = 3000 with the amplitude of the tSZxCIB correlations at the same multipole, ξ. In all the results presented, the cosmology is free to vary, and different methods are used to model the contribution of the SZ effects to the observed small-scale temperature power spectrum of the CMB.

All Tables

Table 1.

Maximum likelihood parameters obtained with Planck CMB data when an asymmetric parameterisation of reionisation is used (see text).

Table 2.

Most likely values of the amplitude, in μK2, of the SZ effects obtained when fitting the SPT data.

Table 3.

Maximum likelihood parameters obtained with SPT data (Reichardt et al. 2021) when RF predictions or templates are used for the SZ effects and templates for the other foregrounds.

All Figures

thumbnail Fig. 1.

Comparison of the normalised kSZ angular power spectra obtained for a set of reionisation parameters using binned templates (Reichardt et al. 2021), in orange, and using the analytic derivation introduced in Gorce et al. (2020), in blue.

In the text
thumbnail Fig. 2.

Results obtained when fitting the large-scale Planck data with two different reionisation models: a physically motivated asymmetric parameterisation of xe(z) (blue contours, Eq. (3)), or an instantaneous reionisation history (pink contours, Eq. (2)). Left panel: posterior distributions of cosmological parameters. Right panels: resulting redshift-evolution of the IGM ionised fraction (top) and optical depth (bottom), with associated 68% confidence intervals.

In the text
thumbnail Fig. 3.

Constraints on the amplitude of the tSZ and kSZ power spectra at  = 3000, in μK2, obtained with SPT high- data (R21) using either templates (in yellow) or RF-inferred tSZ and kSZ power spectra (in blue), as well as a physical parameterisation of reionisation. Inferences are compared to the initial analysis, with templates and fixed reionisation (in grey). For all cases, the cosmology is fixed (see text for values). On the bottom panel, the kSZ is decomposed into its late-time and patchy components.

In the text
thumbnail Fig. 4.

Probability distributions of the amplitudes of the tSZ and kSZ power spectra at  = 3000, in μK2, for the different models considered (see text). On the bottom panel, the kSZ is decomposed into its late-time and patchy components.

In the text
thumbnail Fig. 5.

Most likely SZ spectra at 150 GHz obtained when fitting cosmology and reionisation parameters to the SPT data. Two cases are compared: Either templates are used for both spectra (dashed lines) or they are predicted by our RF given the sampled parameters (solid lines). For the results obtained with RF predictions, shaded areas correspond to 68% confidence regions. For the results obtained with templates, only the amplitudes at  = 3000 are constrained, and the 68% confidence intervals on their values are shown as error bars. The tSZ and total kSZ spectra are shown in the upper and middle panels, respectively. When possible, the kSZ signal is decomposed between patchy (dark blue) and late-time (light blue) components, shown in the lower panel.

In the text
thumbnail Fig. 6.

Most likely components of the small-scale CMB temperature power spectrum observed by the SPT (R21), when cosmology is free. Solid and dashed lines show the results when RF predictions and templates are used for the SZ spectra, respectively.

In the text
thumbnail Fig. 7.

Posterior distributions of cosmological and reionisation parameters sampled when cosmology is let free with Planck Collaboration I (2020) priors and RF-predicted or templates are used for the kSZ and tSZ power spectra. The constraints obtained with large-scale Planck data in Sect. 4.1 are shown as black dashed lines.

In the text
thumbnail Fig. 8.

Constraints on reionisation history obtained with Planck (in grey, Planck Collaboration I 2020) and SPT high- data (in blue, Reichardt et al. 2021) for cosmology-dependent kSZ and tSZ spectra. Cosmology is free but, for the latter, Gaussian priors from Sect. 4.1 are imposed on four cosmological parameters. Inferences are compared to currently available data points on the ionisation fraction of the IGM from Lyman-α emitters and QSO spectra (see text for references).

In the text
thumbnail Fig. A.1.

Patchy (upper panel) and late-time (low panel) kSZ spectra recovered by our random forest regressors, compared to true values. The lower panels show the 95% confidence intervals on the ratio of the two and the 95% confidence intervals on the absolute difference between the two, that is the absolute error.

In the text
thumbnail Fig. A.2.

Dependence of the reionisation history (left panels), patchy (middle panels) and late-time (right panels) kSZ angular power spectra on the cosmological parameters the random forests were trained on (rows). For each parameter, three values are tested and we compare the spectrum obtained with the exact computation (dashed line) from the one inferred by the RF (solid line). The shaded area corresponds to the 68% confidence interval corresponding to the RF reconstruction errors (identical as Fig. A.1).

In the text
thumbnail Fig. A.3.

Posterior probability distributions of nuisance parameters obtained with SPT high- data (R21) using either templates (in yellow) or analytic derivation (in blue) for the tSZ and the kSZ power and a physical parameterisation of reionisation. Inferences are compared to the initial analysis, with templates and fixed reionisation (in grey). The CIBxtSZ amplitude is given in terms of its absolute value.

In the text
thumbnail Fig. B.1.

Posterior distributions of the different parameters sampled in the run with free cosmological and reionisation parameters using RF-predicted kSZ and tSZ spectra.

In the text
thumbnail Fig. B.2.

Joint posterior distributions of the kSZ and tSZ amplitudes at  = 3000 with the amplitude of the tSZxCIB correlations at the same multipole, ξ. In all the results presented, the cosmology is free to vary, and different methods are used to model the contribution of the SZ effects to the observed small-scale temperature power spectrum of the CMB.

In the text

Current usage metrics show cumulative count of Article Views (full-text article views including HTML views, PDF and ePub downloads, according to the available data) and Abstracts Views on Vision4Press platform.

Data correspond to usage on the plateform after 2015. The current usage metrics is available 48-96 hours after online publication and is updated daily on week days.

Initial download of the metrics may take a while.