Fitting functions on the cheap: the relative nonlinear matter power spectrum
Steen Hannestad, Yvonne Y. Y. Wong

TL;DR
This paper introduces a computationally efficient method for constructing accurate nonlinear matter power spectrum fitting functions using the relative spectrum approach, enabling precise predictions with minimal simulations.
Contribution
The authors propose a novel relative spectrum-based fitting method that reduces computational costs and achieves 1% accuracy across diverse cosmologies.
Findings
Achieves 1% accuracy for a wide range of cosmologies up to kā10/Mpc.
Uses only five inexpensive simulations to construct the fitting function.
Compatible with existing emulators like CosmicEmu for improved predictions.
Abstract
We propose an alternative approach to the construction of fitting functions to the nonlinear matter power spectrum extracted from -body simulations based on the relative matter power spectrum , defined as the fractional deviation in the absolute matter power spectrum produced by a target cosmology away from a reference CDM prediction. From the computational perspective, is fairly insensitive to the specifics of the simulation settings, and numerical convergence at the 1%-level can be readily achieved without the need for huge computing capacity. Furthermore, exhibits several interesting properties that enable a piece-wise construction of the full fitting function, whereby component fitting functions are sought for single-parameter variations and then multiplied together to form the final product. Then, to obtain 1%-accurate absoluteā¦
| Parameter | Symbol | Value |
|---|---|---|
| Total physical matter density | 0.1422 | |
| Physical baryon density | 0.0221 | |
| Physical neutrino density | 0 | |
| Spatial curvature | 0 | |
| Effective number of neutrinos | 3.04 | |
| Dark energy equation of state parameter | ||
| Dimensionless Hubble parameter | 0.673 | |
| Primordial scalar fluctuation amplitude at /Mpc | ||
| Scalar spectral index | 0.96 | |
| Running of the scalar spectral index | 0 | |
| Tensor-to-scalar ratio | 0 | |
| Optical depth to reionisation | 0.09 |
| Run | Mpc) | kpc) | ||||||
|---|---|---|---|---|---|---|---|---|
| Ref | 320 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| Ref | 320 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| Ref2 | 960 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| Ref2 | 960 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| Ref3 | 1920 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| Ref3 | 1920 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| 1024Ref-512 | 512 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| 1024-512 | 512 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| 1024Ref | 256 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| 1024 | 256 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| 1024Ref-128 | 128 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| 1024-128 | 128 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| 768Ref-512 | 512 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| 768-512 | 512 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| 768Ref-256 | 256 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| 768-256 | 256 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| 768Ref-128 | 128 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| 768-128 | 128 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| 512Ref-512 | 512 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| 512-512 | 512 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| 512Ref-256 | 256 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| 512-256 | 256 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| 512Ref-128 | 128 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| 512-128 | 128 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| 1024Ref-256-29 | 256 | 29 | 6 | 0.1422 | 2.198 | 0.96 | ||
| 1024-256-29 | 256 | 29 | 6 | 0.1422 | 2.198 | 0.96 | ||
| 1024Ref-256-12 | 256 | 49 | 12 | 0.1422 | 2.198 | 0.96 | ||
| 1024-256-12 | 256 | 49 | 12 | 0.1422 | 2.198 | 0.96 | ||
| pkdgravRef | 384 | 49 | 6 | 0.1422 | 2.198 | 0.96 | ||
| pkdgrav | 384 | 49 | 6 | 0.1422 | 2.198 | 0.96 |
| Run | Mpc) | kpc) | Cal | ||||||
|---|---|---|---|---|---|---|---|---|---|
| 1024Ref | 256 | 49 | 6 | 0.1422 | 2.198 | 0.96 | * | ||
| 1024 | 256 | 49 | 6 | 0.1422 | 2.198 | 0.96 | |||
| 1024 | 256 | 49 | 6 | 0.1422 | 2.198 | 0.96 | * | ||
| 1024 | 256 | 49 | 6 | 0.1422 | 2.198 | 0.96 | |||
| 1024 | 256 | 49 | 6 | 0.1422 | 2.198 | 0.96 | * | ||
| 1024 | 256 | 49 | 6 | 0.1381 | 2.198 | 0.96 | * | ||
| 1024 | 256 | 49 | 6 | 0.1361 | 2.198 | 0.96 | * | ||
| 1024 | 256 | 49 | 6 | 0.1381 | 2.198 | 0.96 | |||
| 1024 | 256 | 49 | 6 | 0.1461 | 2.198 | 0.96 | |||
| 1024 | 256 | 49 | 6 | 0.1381 | 2.198 | 0.96 | |||
| 1024 | 256 | 49 | 6 | 0.1461 | 2.198 | 0.96 | |||
| 1024 | 256 | 49 | 6 | 0.1422 | 2.198 | 0.93 | * | ||
| 1024 | 256 | 49 | 6 | 0.1422 | 2.198 | 0.98 | * | ||
| 1024 | 256 | 49 | 6 | 0.1422 | 2.198 | 0.93 | |||
| 1024 | 256 | 49 | 6 | 0.1422 | 2.198 | 0.98 | |||
| 1024 | 256 | 49 | 6 | 0.1422 | 2.100 | 0.96 | * | ||
| 1024 | 256 | 49 | 6 | 0.1422 | 2.300 | 0.96 | * | ||
| 1024 | 256 | 49 | 6 | 0.1422 | 2.100 | 0.96 | |||
| 1024 | 256 | 49 | 6 | 0.1422 | 2.300 | 0.96 | |||
| 1024 | 256 | 49 | 6 | 0.1381 | 2.100 | 0.96 | |||
| 1024 | 256 | 49 | 6 | 0.1461 | 2.300 | 0.96 |
| Run | Mpc) | kpc) | |||||
| 1024 | 256 | 49 | 6 | 3.04 | |||
| 1024 | 256 | 49 | 6 | 3.04 | |||
| 1024 | 256 | 49 | 6 | 3.04 | |||
| 1024 | 256 | 49 | 6 | 3.04 | |||
| 1024 | 256 | 49 | 6 | 3.34 | |||
| 1024 | 256 | 49 | 6 | 4.04 |
| Model | |||||||
|---|---|---|---|---|---|---|---|
| M01 | 0.140092 | 2.13003 | 0.914590 | 0.683514 | 0.022283 | 0.7725 | |
| M02 | 0.145117 | 2.19429 | 0.918589 | 0.615461 | 0.022034 | 0.8451 | |
| M03 | 0.140688 | 2.24912 | 0.993800 | 0.651725 | 0.022436 | 0.8008 | |
| M04 | 0.143777 | 2.23732 | 0.915382 | 0.606349 | 0.021910 | 0.8206 | |
| M05 | 0.145488 | 2.35429 | 0.968273 | 0.615829 | 0.022298 | 0.8372 | |
| M06 | 0.145904 | 2.12986 | 0.990991 | 0.698259 | 0.022046 | 0.8976 | |
| M07 | 0.139331 | 2.13040 | 0.911948 | 0.669114 | 0.022372 | 0.7734 | |
| M08 | 0.141269 | 2.00676 | 0.966808 | 0.638494 | 0.022906 | 0.7600 | |
| M09 | 0.148683 | 2.22116 | 0.957208 | 0.588572 | 0.022523 | 0.8362 | |
| M10 | 0.138605 | 1.99789 | 0.941659 | 0.672825 | 0.021899 | 0.8125 |
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Fitting functions on the cheap: the relative nonlinear matter power spectrum
SteenĀ Hannestad
āā
and Yvonne Y.Ā Y.Ā Wong
Abstract
We propose an alternative approach to the construction of fitting functions to the nonlinear matter power spectrum extracted from -body simulations based on the relative matter power spectrumĀ , defined as the fractional deviation in the absolute matter power spectrum produced by a target cosmology away from a reference CDM prediction. From the computational perspective, is fairly insensitive to the specifics of the simulation settings, and numerical convergence at the 1%-level can be readily achieved without the need for huge computing capacity. Furthermore, with the CDM class of models tested, exhibits several interesting properties that enable a piece-wise construction of the full fitting function, whereby component fitting functions are sought for single-parameter variations and then multiplied together to form the final product. Then, to obtain 1%-accurate absolute power spectrum predictions for any target cosmology only requires that the community as a whole invests in producing one single ultra-precise reference CDM absolute power spectrum, to be combined with the fitting function to produce the desired result. To illustrate the power of this approach, we have constructed the fitting function RelFit using only five relatively inexpensive CDM simulations (box length Mpc, particles, initialised at ). In a 6-parameter space spanning , the output relative power spectra of RelFit are consistent with the predictions of the CosmicEmu emulator to 1% or better for a wide range of cosmologies up to /Mpc. Thus, our approach could provide an inexpensive and democratically accessible route to fulfilling the 1%-level accuracy demands of the upcoming generation of large-scale structure probes, especially in the exploration of ānon-standardā or āexoticā cosmologies on nonlinear scales.
1 Introduction
The upcoming generation of large-scale structure surveys such as the ESA Euclid missionĀ [1] and the Large Synoptic Survey Telescope (LSST)Ā [2] have the potential to measure cosmological observables at an unprecedented level of precision. In terms of the matter power spectrum, the measurement uncertainty is expected to be at the 1% level down to length scales corresponding to wavenumbers /Mpc. Such high precisions in turn put heavy demands on theoretical calculations of the observables.
On large scales where perturbations are expected to remain well below , linear perturbation theory can easily satisfy the 1% precision requirement. Likewise, perturbative methods can be extended to higher orders on weakly nonlinear scales (/Mpc at scale factor ), and much effort has been devoted recently towards improving the convergence of these computations (see, e.g.,Ā [3]). Calculations in the fully nonlinear scales, i.e,. /Mpc at , however, belong in the domain of numerical simulations.
However, simulations are inherently computationally expensive, and it is currently not economical to run full simulations for more than a select parameter combinations ārepresentativeā of a large cosmological parameter space. In fact, achieving the required 1%Ā precision for even one single set of cosmological parameters is a computational challenge that necessitates the use of some of the largest computing facilities in the worldĀ [4, 5]. As an example, each cosmology in the MiraāTitan suite of CDM simulations is realised by two high-resolution simulations with 30 billion+ and 60 billion+ particles each, plus 16 lower-resolution 100-million-particle runsĀ [6, 7]. Only a select few researchers in the world have access to the requisite computing power to carry out such calculations en masse.
Currently, in order to explore large parameter spaces with parameter combinations running into āas is required in a typical Markov Chain Monte Carlo parameter estimation analysisāthe favoured approach is to employ fitting functions such as HalofitĀ [8, 9] or HMCodeĀ [10, 11] that have been calibrated against simulation results. Alternatively, one can interpolate between a set of simulations spanning the parameter spaces of interest, such as the emulator approach ofĀ [12, 4, 13, 14]. However, as the accuracy of any fitting or interpolation function is contingent upon there being sufficient calibrators to fairly sample the parameter space and the calibrating simulations themselves having the required level of precision, the burden is again back on the simulations and the same select few research groups that have the computing resources to supply these calculations. Such a strong reliance on computing resources clearly poses severe limitations on the participation of the wider scientific community, especially in the exploration of āexoticā cosmologies such as decaying or interacting dark matter (e.g.,Ā [15, 16]), or dark energy perturbationsĀ (e.g., [17]) on nonlinear scales.
In this paper we put forward a different approach to constructing fitting functions to the nonlinear matter power spectrum that will alleviate to a large extent the precision burden on the calibrating simulations and potentially democratise the exploration of precision cosmology on nonlinear scales: Instead of the usual practice of fitting or interpolating directly the absolute simulated matter power spectrum for a select few cosmological parameter combinations , we propose to construct a fitting function to a set of spectra , defined as
[TABLE]
relative to the absolute matter power spectrum of a reference cosmological model, . As we shall demonstrate, there are a number of reasons why fitting the relative power spectra may be superior to fitting their absolute counterparts:
From the computational perspective, relative power spectra can be calculated much more precisely than absolute power spectra from -body simulations using the same box size and number of particlesĀ [18]. This is because many systematic uncertainties are multiplicative and affect all simulations in the same way; taking the ratio of two simulation results therefore enable these uncertainties to cancel to a large extent. Indeed, the use of ratios to āget aroundā systematic uncertainties that may not be completely well understood is a well-known technique used in many areas of physics, e.g., collider phenomenologyĀ [19], precision cosmologyĀ [20], and neutrino physicsĀ [21, 22].
An immediate corollary of this observation is that a nominal accuracy goal can be achieved at much a lower computational cost using relative power spectrum simulations than their absolute counterparts. Once a fitting function to is available as a function of the underlying cosmology, to obtain an accurate estimation of a target for any parameter combination requires only that we perform one single ultra-high precision simulation of the reference cosmological model to establishĀ and then combine this result with the fitting function. In this regard, our proposal parallels the āhalo model reactionā approach ofĀ [23, 24] and the CosmicEFT approach ofĀ [25], wherein the equivalent of is computed using semi-analytical methods such as the halo model and effective field theory. 2. 2.
The present generation of linear cosmological probes, e.g., measurements of the cosmic microwave background (CMB) temperature and polarisation anisotropies by the Planck missionĀ [26, 27], already constrains cosmology to the extent that variations in the absolute power spectra are typically . This means that any fitting function to need only be calibrated to at most %-precision in order to reproduce a target with %-level error (assuming, of course, that an ultra-precise reference is available), and the smaller is the laxer the calibration precision requirement. This is a trivial demand in comparison with the 1%Ā calibration precision required of fitting functions designed to directly reproduceĀ . 3. 3.
Since typically , it is strongly suggestive that the relative matter power spectrumĀ may be computable perturbatively from similarly small deviations in the linear power spectrum away from the reference cosmology. Indeed, we find thatĀ can be related to relative changes in, e.g., the linear growth function, the primordial power spectrum, etc., in a remarkably cosmology-independent way. This attractive feature enables a multiplicative construction of the full fitting function, whereby component fitting functions are sought for variations of cosmological model parameters (or their proxies such as the linear growth function) one at a time and the full fitting function pasted together via a simple multiplication of the components.
The paper is organised as follows. We begin in sectionĀ 2 with a discussion of the convergence of the absolute and the relative matter power spectrum, using cosmologies with a non-canonical dark energy equation of state parameter as an example. SectionĀ 3 examines the properties of the relative power spectrum under single- and multi-parameter variations, through which we motivate a strategy for the construction of a fitting function forĀ . We propose specific functional forms for the fitting function in sectionĀ 4 , which we then calibrate against -body simulations to produce RelFit. Comparisons of the predictions of RelFit and other approaches are presented in the same section. SectionĀ 5 contains our conclusions. Throughout the work we use as our reference cosmologyĀ a CDM model with parameter values given in tableĀ 1, roughly comparable to the best-fit of the Planck 2015 CMB dataĀ [26]. Where confusion is unlikely to arise, we shall sometimes omit writing out the dependences of the absolute and relative matter power spectra on and/or .
2 Numerical convergence of the absolute and the relative spectrum
Many factors may influence the numerical convergence of a simulation result. Chief amongst these are the simulation box size and the number of particles employed to sample the cosmological fluid (i.e., cold dark matter in a CDM-type cosmology) phase space. Other important factors include the redshift at which a simulation is initialised, and the gravitational softening length adopted in the simulation to prevent spurious relaxation. In this section we examine the extent to which numerical convergence of the absolute and relative power spectra depends on these factors, using a series of -body simulations performed with the Gadget-2 codeĀ [28]. The specifics of each simulation are summarised in tableĀ 2.
For each simulation we employ initial conditions generated via the Zelādovich approximation from linear transfer functions outputted by CambĀ [29]. We include baryons in the computation of the linear transfer function required for initial condition generation, but do not distinguish baryons from cold dark matter in the actual simulations. The latter is certainly an oversimplification in precision calculations of an absolute power spectrum, but can be expected to be a reasonable approximation in the case of a relative power spectrum.
2.1 Box size and number of particles
It is well known that numerical convergence of the absolute matter power spectrum requires simulations in large boxes with many particles. If the box size is too small sample (cosmic) variance becomes a serious issue. Increasing the box size however requires that we also up the number of particles in order to suppress shot noise on small scales. These issues have been discussed in detail in, e.g., a series of papers related to the Coyote simulations (e.g.,Ā [4]) and more recently inĀ [5]. The general conclusion is that to achieve an absolute power spectrum calculation at the 1% level of precision requires box lengths exceeding Mpc and particle numbers of order .
To illustrate the lack of convergence of the absolute matter power spectrum , we show in figureĀ 1 constructed from various reference CDM simulations using different box sizes and particle numbers (but keeping for now the initialisation redshift and softening length fixed at and kpc respectively) summarised in tableĀ 2. These are normalised to a benchmark power spectrum , constructed from amalgamating the power spectra extracted from three āhigh-qualityā runsāRef3 at /Mpc, Ref2 in the range /Mpc/Mpc, and Ref at /Mpc. Clearly, no single simulation is able to converge to the benchmark at better than 10% across the entire -range, and convergence worsens as the scale factor approaches unity.
In contrast, the relative change in the matter power spectrum between two cosmologies with different parameter values, as defined in equationĀ (1.1), is much less susceptible to sample variance, provided the two simulations used to constructĀ have been run under identical conditions and initialised with identical phases in the density field. We emphasise that these requirements of identical simulations settings are crucial, as it is precisely this sameness that ensures two simulations suffer largely the same systematic effects that eventually cancel out when forming a ratio, leaving a that is ultimately relatively insensitive to the simulation settings. A similar observation has also been made inĀ [18].
This relative insensitivity to the simulation settings also means that numerical convergence inĀ can be achieved using much smaller boxes and hence smaller numbers of simulation particles than in the case of the absolute power spectrum. FigureĀ 2 illustrates this point by way of the relative change in power between two cosmological models specified respectively by the parameter values
[TABLE]
where denotes the dark energy equation of state parameter, and stipulates that all other model parameters besides are to be held fixed at their reference values given in tableĀ 1. As in figureĀ 1, the relative power spectra here have been constructed from the simulations of tableĀ 2 using different combinations of box sizes and particle numbers, and for clarity we have subtracted away the benchmark relative power spectrumĀ constructed from the āhigh-qualityā Ref2, Ref22, Ref32, Ref, Ref2, and Ref3 runs of tableĀ 2.
Clearly, independently of the number of simulation particles employed, sample variance dominates when the box size is too small, but becomes manageable once the box length reaches Mpc. In terms of particle numbers, we find to be sufficient to eliminate to a large extent shot noise in boxes of side length Mpc, enabling numerical convergence at the level down to wavenumbers close to the Nyquist frequency at and better than at ; even at , convergence at the (not unacceptable) 0.02 level is possible for a large range of wavenumbers. Importantly, these conclusions are independent of the choice of initial phases, as demonstrated in figureĀ 3, where we have re-simulated the relative power spectrum of the two cosmologies of equationĀ (2.1) using four different sets of initials seeds for the setting Mpc and , and plotted their deviations from the ensemble averageĀ .
Note that the alternative choice of Mpc and could even enable the attainment of 0.01 numerical convergence at , as shown in figureĀ 2. The downside, however, is that such a setting yields power spectrum predictions only up to /Mpc, and to achieve a better resolution in Mpc boxes would require a computing capacity beyond our current means. Henceforth, we shall adopt the setting Mpc and , a fair compromise between computing power and the accuracy demands of future large-scale structure probes,111A scale factor corresponds to a redshift , reasonably low relative to the median redshift of the Euclid and LSST galaxy redshift surveysĀ [1, 2]. Similarly, while cosmic shear is in principle sensitive to the matter distribution at , in practice the lensing weights are dominated by structures at roughly half the source-to-observer comoving distance; for a shear tomographic bin at , such as used in the Euclid parameter sensitivity forecastĀ [1], the weight peaks at . This encourages us to think that 0.01 numerical convergence of the matter power spectrum down to may suffice. and restrict our attention to .
2.2 Initial redshift and gravitational softening
We consider also the sensitivity of the absolute and relative matter power spectrum to the simulation initial redshift and gravitational softening length , and vary these simulation parameters from the default and kpc to and kpc respectively. The results at are shown in figureĀ 4.
Evidently, changing the gravitational softening length has no discernible effect on the relative power spectrum at either or , and alters the absolute power spectrum only at the percent level at /Mpc. On the other hand, with initial conditions set by the Zelādovich approximation, both initialisation redshifts tested are clearly too low to achieve reasonable accuracy for the absolute power spectrum because of long-lived transients (although the problem of transients can be avoided by adopting 2LPT initial conditionsĀ [30]). The relative power spectrum, however, appears to be largely insensitive to within the 0.01 accuracy requirement.
Of course the case of varying only away from its reference CDM value is particularly benevolent in the sense that even for the evolution history of the density perturbations at is essentially identical to the case. This means that any transient excited as a result of the initialisation procedure must be identical in both cases, and cancel out exactly when we form the relative power spectrum.
2.3 Code comparison
Lastly, we compare the stability of the relative matter power spectrum predictions with respect to the numerical codes used to generate the results. This we achieve by performing a new set of simulations using the Pkdgrav3 -body codeĀ [31] with initial conditions generated from the linear transfer function output of ClassĀ [32] using the method outlined in [33]. (Recall that our main suite of simulation results have been generated with Gadget-2 and Camb.) The simulation specifics are summarised in the last two lines of tableĀ 2.
FigureĀ 5 shows the relative matter power spectrum between the and the cosmologies at computed in this manner relative to the Gadget-2/Camb benchmarkĀ . Clearly, the discrepancy between the two different code outputs is well within our 0.01 accuracy tolerance and comparable to the deviations one would expect from initialising the simulations with different sets of random phases (see figureĀ 3). We therefore conclude that the relative power spectrum is largely insensitive to -body code from which it is generated or to the linear Boltzmann solver that provides the initial conditions.
3 Properties of the relative power spectrum
Having established the advantage of the relative matter power spectrum over its absolute counterpart in terms of numerical convergence, we now examine its properties more closely, in order to devise a fitting strategy and eventually a functional form that can directly fit .
To this end we have performed a suite of simulations summarised in tableĀ 3 using Gadget-2/Camb, varying the parameter values of , , , and away from their reference CDM values one at a time as well as in combination in the ranges
[TABLE]
In terms of measurement uncertainties, our choice of values spans a range comparable to times the standard deviation inferred from the 2018 Planck+external data combination222For , , and , this means the 2018 Planck TT+TE+EE+lowE+lensing+BAO combinationĀ [27], while for the set includes also SNe. in a vanilla 6-parameter CDM fit ()Ā [27]; times for the primordial fluctuation amplitude (); for the spectral index (); and for a time-independent dark energy equation of state parameter (). While these ranges differ between parameters in terms of the number of standard deviations, the effects the parameter variations produce on the nonlinear matter power spectrum are of very similar magnitudesātypically no more than % at , as shown in figuresĀ 6 to 8.
Two interesting properties of can be discerned from our simulation set: an approximate universality and multiplicability. We discuss these properties in detail below, and propose how they can be jointly exploited as a strategy for constructing a fitting function to any general in a multivariate parameter space.
3.1 Approximate universality: varying one parameter at a time
Consider figureĀ 6. The solid lines in the top panels show the relative matter power spectra at of four target cosmological models described by , where all non- model parameters are held fixed at their reference values , relative to the canonical reference CDM model of tableĀ 1. The middle panels show the same cosmological models in a similar construct , defined as
[TABLE]
i.e., akin to , but with the target and reference absolute power spectra and replaced with their linear counterparts and outputted by CambĀ [29]. The bottom panels show the ratios .
An immediately notable feature in figureĀ 6 is that despite their differences inĀ andĀ , at each scale factor and over a wide range of wavenumbersĀ , all four target cosmologies return a functional form for the ratio that is quantitatively remarkably independent of the chosen value ofĀ ; the function tends to unity in the linear regime, peaks at an -dependentĀ , and drops off to zero at large values. At /Mpc the agreement between models is always better than 10%. This āapproximate universalityā of likewise holds for a referenceĀ value different from the canonical choice of in , as demonstrated by the dashed lines in figureĀ 6 (which feature in ), provided of course that we choose the same referenceĀ for both and in the construction ofĀ .
Approximate universality in extends also to the case in which we employ a set of the non- cosmological parametersĀ different fromĀ , again on the understanding that whatever values we choose forĀ in the construction ofĀ are held constant across the four target and reference absolute power spectra, , and . This is illustrated in figureĀ 7 by the solid lines, representing , and constructed from a selection of target and reference cosmologies from the simulations of tableĀ 3, where , , and . In the same figure, the cosmological models represented by the dashed lines feature in addition a non-canonical referenceĀ value in (in this instance, ); again, their respective conforms to the same approximately universal form already observed amongst the solid lines as well as in figureĀ 6.
So far we have discussed the approximate universality of exclusively in the context wherein the target and reference cosmologies, and , differ only by theirĀ parameter value. To further test the hypothesis of a approximate universality under variation of any one cosmological parameter besidesĀ , we show in figureĀ 8 , and for three families of relative power spectra at described by
- 1a.
Solid: , ; 2. b.
Dashed: , ; 3. 2a.
Solid: , ; 4. b.
Dashed: , ; 5. 3a.
Solid: , ; 6. b.
Dashed: , .
See also figureĀ 9 for of these models at . Here, the convention again denotes all model parameters other than , and we consider both and selected from the simulations of tableĀ 3. Again, the close similarity of within each family is unmistakable. In the case of variations in and , we see that the -dependent locations of the peaks are similar to previously identified for variations in .
Note that in the case of variation ofĀ , exhibits prominent oscillations at /Mpc. Oscillations arise in the first place from a phase difference in the baryon acoustic oscillations between cosmologies with different matter densities, and can already be seen in bothĀ andĀ . Nonlinear evolution additionally alters the amplitudes and phases of these oscillations, so that a residual survives in .
A final remark concerns the singularities in under variation of observed in figuresĀ 8 andĀ 9. These are artefacts following from our choice of pivot scale /Mpc for the primordial power spectrumĀ . In fact, a singularity will arise inĀ whenever the linear power spectra of the target and reference cosmologies cross over. A judicious choice of , e.g., /Mpc, would have confined such cross-overs to scales outside of the range of interest and facilitated the task of finding a fitting function. However, as we shall discuss in sectionĀ 3.3, rather than re-running simulations with a differentĀ , it transpires that for power-law primordial power spectra the remedy is very simple.
Then, to summarise sectionĀ 3.1, for a family of relative matter power spectra described by the target and reference cosmological model parameters and , the ratio of the relative (nonlinear) power spectrum to the relative linear power spectrum, , is, at each scale factor and over a wide range of wavenumbersĀ , largely independent of the values of , , and . We shall denote this approximately universal ratio .
3.2 Multiplicability: varying two or more parameters at a time
Consider now three target cosmological models specified respectively by the parameters
[TABLE]
where denotes all model parameters besides and , their reference values in tableĀ 1, and our canonical reference model is again defined by .
From the definitionĀ (1.1) it is easy to establish that the three target cosmologies must have relative power spectra satisfying at all times the general relations
[TABLE]
irrespective of our exact choice of model parameter values. For the particular target cosmologiesĀ (3.3) under consideration, the corresponding relative linear power spectra also happen to obey
[TABLE]
because of the especially simple and, importantly, separable effects variations of and induce on the absolute linear power spectrum, in the sense that is a separable function of , , and :
[TABLE]
It then follows straightforwardly from the approximate universality of discussed in sectionĀ 3.1 that and , and hence
[TABLE]
as an approximation to equationĀ (3.4).
The top panels of figureĀ 10 demonstrate the remarkable correspondence between the exact and its approximation constructed from and via equationĀ (3.7) for and ; at all scale factors and for the entire range of wavenumbers under consideration, the approximation is able to reproduce the exact relative matter power spectrum to or better. The bottom panels provide a second example of this excellent correspondence for the target cosmologies , , and (for which the equivalents of equationsĀ (3.5), (3.6), and henceĀ (3.7) also hold).
Naturally, alternatively to equationĀ (3.7), the approximate universality of under variation of one parameter means that we could also have approximated 1+ using instead āor, indeed, any other combination of two relative power spectra in which we vary only one parameter at a time and whose linear counterparts equate to the relationsĀ (3.5)āwith similarly good although not identical results to figureĀ 10. The essence of equationĀ (3.7), however, lies in its suggestion that the multiplicative nature of the relative power spectrum and the approximate-universal form under variation of may be jointly exploited as a relatively simple strategy for constructing a fitting function to any general in a multivariate parameter space.
Furthermore, the condition of separabilityĀ (3.6) implies that the natural division of cosmological models into families (for the purpose of finding the approximate-universal formsĀ ) is not in terms of the model parameters per se, but rather their linear āproxiesāāthe linear transfer functionĀ , the linear growth functionĀ , etc.āthat naturally cast the absolute linear power spectrum in power-law CDM-type cosmologies into a separable function:
[TABLE]
following the textbook convention ofĀ [34], where is the overall normalisation of the linear matter power spectrum up to an irrelevant multiplicative constant.
Then, for the parameter variations represented by the independent parameters of equationĀ (3.8), it follows from the same reasoning of approximate universality and multiplicability that a multivariate relative power spectrum may be most conveniently approximated by
[TABLE]
where with the revised understanding that may be a model parameter or a linear proxy, is the approximate-universal form of under variation ofĀ alone, , and
[TABLE]
with , , and , specify the target and the reference cosmology respectively.
3.3 Further remarks
EquationĀ (LABEL:eq:form) serves as a starting point for the construction of a fitting function of the relative power spectrum; Three more remarks are in order before we proceed.
Remark 1: Fitting functions
The salient feature of equationĀ (LABEL:eq:form) is that the cosmological dependence of the relative power spectrum has been largely subsumed by the linear quantitiesĀ . Thus, the task of finding a full fitting function forĀ boils down at the most elementary level to writing down a cosmology-independent functional form in terms of the wavenumberĀ and scale factorĀ for each of the four familial approximate-universal formsĀ . For fixed values ofĀ this is a trivial exercise. A more useful endeavour would be to model the approximate-universal formsā dependence on the scale factorĀ , to be pursued in sectionĀ 4.
In a more sophisticated model one could of course also incorporate the small, cosmology-dependent deviations from the approximate-universal forms that inevitably creep in at large wavenumbers. We do not however see this as a necessary step at this stage: the one-parameter approximate-universal formsĀ are in the worst case % āoffā at /Mpc (see figuresĀ 6 toĀ 9), while the linear deviationsĀ are typically . Thus, barring an unfortunate add-up of errors, we can be confident that can be reproduced to up to /Mpc.
Remark 2: Varying the matter density
EquationĀ (LABEL:eq:form) is amenable to further algebraic manipulation, a property that is especially useful in those cases where a cosmological model parameter controls more than one linear proxy. The case in point is the physical matter density , the only parameter that controls the linear transfer functionĀ in the cosmologies under consideration. Because affects also the linear growth functionĀ and the normalisation , it is a priori not possible to establish the approximate-universal formĀ directly from a set of -body simulations such as detailed in tableĀ 3 that uses as a base parameter.
However, equationĀ (LABEL:eq:form) permits us to write
[TABLE]
where
[TABLE]
and denotes the relative linear matter power spectrum under variations inĀ alone. Then, solving for and substituting back into equationĀ (LABEL:eq:form) itself yields an alternative form
[TABLE]
which has the desirable feature thatĀ can be determined directly from simulations. Indeed, for the cosmologies of tableĀ 3, equationĀ (3.13) may be the more convenient albeit less general fitting form than equationĀ (LABEL:eq:form).
FigureĀ 11 shows the exact relative matter power spectrum from the simultaneous variation of and its approximate form constructed from single-parameter variations via equationĀ (3.13), for two target cosmologies and . The agreement is excellent: typically much better than 0.01, and in the worst case at large values.
Note that to calculate the linear growth functions and we have solved numerically the differential equationĀ [35]
[TABLE]
with the initial conditions , , and . Here, , the prime denotes a derivative with respect to the scale factor , is the dark energy equation of state parameter which may be time-dependent, and
[TABLE]
where the second equality applies in the case Ā [36, 37]. It is usually understood that the solution to equationĀ (3.14) can be approximated to high accuracy by the integralĀ [38]
[TABLE]
where is the reduced matter density at , and was originally proposed inĀ [38]. Indeed, we have checked that for even time-dependent equations of state, the approximate formulaĀ (3.16) is able to reproduce numerical solutions to roughly 1 part in , sufficient to approximate the growth function differences to accuracy for the models tested. Nonetheless, we prefer to err on the side of caution and work directly with the differential equationĀ (3.14).
Remark 3: Varying the scalar spectral index
As already pointed out in sectionĀ 3.1, because of our choice of pivot scaleĀ /Mpc, variation of the scalar spectral index introduces a singularity in in the range of interest. This singularity can be easily removed by recognising that the relative linear power spectrum under variation of alone, , can be recast as
[TABLE]
where , and is always finite and, at leading order, equal to . It then follows that the corresponding approximate-universal form is equivalently
[TABLE]
and hence , where the ratio must also be approximately universal for all variations of , albeit better-behaved than the original .
Then, applying this understanding to equationĀ (LABEL:eq:form) and its restricted formĀ (3.13), we find respectively
[TABLE]
and
[TABLE]
Our fitting function for the relative matter power spectrum, RelFit, will be based upon these expressions; we shall determine the functional forms for and in sectionĀ 4.
4 RelFit fitting functions
That the ratio should take on an essentially cosmology-independent form under variation of one cosmological model parameter or proxy is perhaps not very surprising upon scrutiny. As the top and middle panels of figuresĀ 6 toĀ 8 demonstrate, the current generation of observations on linear scales already constrains cosmology to the extent that . Such tight constraints imply that perturbing in around a reference modelĀ will always yield to leading order in a linear dependence ofĀ onĀ , i.e.,
[TABLE]
regardless of the exact functional dependence of on .
Furthermore, while the functional derivatives depend in principle on our choice of expansion pointĀ , the correction incurred by choosing a different must be if the new expansion point remains within the observationally allowed range. Thus, in this restricted sense the derivatives are essentially āapproximately universalā, and we identify them with the approximate-universal formsĀ defined in sectionĀ 3.1. Then, to first order in small , equationsĀ (LABEL:eq:form) andĀ (4.1) are the same.
Identifying the approximate-universal forms with finite-difference estimates of the functional derivatives of immediately suggests that a reasonable approximation of their functional forms can be established using as few as two simulations per familyĀ , where should be chosen to be as close to zero as is permitted by the precision limitations. Then, the full CDM fitting function can in principle be constructed with as few as five simulations in total. Given however that we have already at our disposal a set of some 20 simulations, we opt instead to compute the derivatives based on double-sided estimation, which ups the number of required simulations to nine.
In finding functional forms for we adopt a strictly empirical approach and simply match rational functions to our simulated spectra, irrespective of their limiting behaviours on very small scales. This also means that extrapolating RelFit to outside the calibration -region may return nonsensical results. We note however that our simulated , especially , appear to exhibit small-scale behaviours consistent with the stable clustering ansatzĀ [39]. This suggests that a physically motivated fitting function could be constructed from, e.g., recasting the well-known PeacockāDodds fitting formulaĀ [40] as a fitting function directly for . We refer the interested reader to appendixĀ A for details.
4.1 Functional forms for
Following the findings of sectionĀ 3, we choose as the independent variable in our fitting functions
[TABLE]
where specifies the locations of the peak features in . Interpolating our simulation outputs at , we find to be well described by
[TABLE]
with an -dependent defined by the condition
[TABLE]
evaluated for the reference cosmological model. For the reference CDM cosmology of tableĀ 1, at respectively.
4.1.1
We use a subset of the -body simulation results of tableĀ 3 to calibrate in the wavenumber range /Mpc at . Specifically, we use relative matter power spectra formed from the pairs:
- ā¢
: {1024, 1024Ref}, {1024, 1024Ref};
- ā¢
: {1024, 1024Ref}, {1024, 1024Ref};
- ā¢
: {1024, 1024Ref}, {1024, 1024Ref};
- ā¢
: {1024, 1024Ref}, {1024, 1024Ref}.
At each scale factorĀ , we construct for each pair the corresponding ratio and combine them to form a mean for each family weighted by the inverse of the linear relative power spectrum, , at that scale factor.
We fit each weighted mean using rational functions of quadratic polynomials in , where the fitting coefficients are themselves functions of the scale factorĀ . In all cases, must converge to the predictions of linear theory at , a condition we explicitly enforce in all of our fitting functions by tuning down the rational functions with a factor. Specifically, for variations in , we use the functional form
[TABLE]
while variations in are well described by
[TABLE]
In all cases , the coefficients and are polynomials of the scale factor alone given in appendixĀ B, and we remind the reader again that no attempts have been made to model the behaviours of the fitting functions.
FigureĀ 12 shows the predictions of the restricted form of RelFit, , based on equationĀ (3.20), against the relative matter power spectra,Ā , constructed from the simulations of tableĀ 3; figureĀ 13 shows the corresponding fitting errors formed from their differences. The fit is across the board excellent. At and for the whole range of wavenumbers explored, no individual error exceeds 0.01 in magnitude for the eight calibration models, or exceeds 0.025 for the remaining 12 models not used in the calibration of RelFit. The fit improves as we move to smaller scale factors: at , the fitting error is always well below 0.01 for the entire -range.
The reasoning behind RelFit together with the parameter dependence of the linear matter power spectrum in CDM cosmologies, equationĀ (3.8), also suggests that varying the dimensionless Hubble parameterĀ should produce an effect on the nonlinear matter power spectrum identical to varying the linear growth functionĀ . Likewise, RelFit in its present form imposes no restriction on the time-dependence of the dark energy equation of state parameter. These scenarios will be explored further in sectionsĀ 4.3 andĀ 4.2 respectively.
4.1.2
While none of the pairs of simulations inĀ tableĀ 3 models explicitly a variation in the linear transfer functionĀ alone, following the arguments of sectionĀ 3.3 it is possible to construct a fitting function for using a combination of our set of 1024 simulations and the fitting functions derived in sectionĀ 4.1.1. With available, a more general form of RelFit based on equationĀ (LABEL:eq:formns) could be achieved, potentially widening the applicability of the fitting function also to target cosmologies involving variations in the physical baryon density (sectionĀ 4.3) as well as in the effective number of neutrinosĀ (sectionĀ 4.2).
Recall that varying changes simultaneously the normalisation , the linear transfer functionĀ , and the linear growth function . Then, beginning with the relative nonlinear matter power spectra formed from the pairs {1024, 1024Ref} and {1024, 1024Ref}, a simple procedure based on equationĀ (3.11) can be used to recover in each case:
Compute the variation in due to the change in alone, and use it in RelFit to calculate the corresponding nonlinear variation; 2. 2.
Repeat the above for the nonlinear variation inĀ due to ; 3. 3.
Remove the and contributions of steps 1 and 2 from the simulated relative nonlinear matter power spectrum via equationĀ (3.11) to form the relative nonlinear power spectrum under variations in the linear transfer function alone; 4. 4.
Divide the relative nonlinear power spectrum of step 3 through by its linear counterpart to form .
We have repeated this process for the two pairs of relative power spectra, formed a weighted average as described in sectionĀ 4.1.1, and fit it using a rational function of the formĀ (4.5). The resulting fitting coefficients and can be found in appendixĀ B.
FigureĀ 14 shows the fitting errors of the general form of RelFit, equationĀ (LABEL:eq:formns), for the eight 1024XXX simulations of tableĀ 3 relative to 1024Ref.333Recall that relative matter power spectra formed from pairs of simulations without variations in are not affected by the choice between the general and the restricted form of RelFit. Again, we see that the fit is across the board excellent, and at , comparable to that of the restricted form (figureĀ 13). At , however, the general form of RelFit appears to systematically underestimate the simulated power spectra at /Mpc by some 0.005 to 0.01. This is likely an artefact of the admittedly convoluted method with which we have extractedĀ in this section, and can potentially be improved with calibrations against dedicated simulations in which only the linear transfer function is varied. We shall defer this exercise to a later publication. Suffice it to say here that figureĀ 14 demonstrates the robustness of the general strategy of fitting function construction proposed in this work.
4.2 Application to extended models
The form of RelFitāphrased in terms of variations in the linear transfer function, linear growth function, etc.āsuggests that its applicability extends beyond the CDM cosmologies we have used to calibrate its free parameters. In order to test this possibility, we have performed an additional set of simulations using Gadget-2/Camb, detailed in tableĀ 4, that go beyond CDM in two different ways: (i) a time-dependent dark energy equation of state parameterĀ , which at the linear level affects only the growth function, and (ii) a linear transfer function modified by a non-canonical effective number of neutrinos .
(i) Time-dependent dark energy equation of state
Dynamical dark energy models such as quintessence typically predict effective equations of state for the dark energy component that change with timeĀ (e.g.,Ā [41]). The exact time dependence varies from model to model. Here, we use for simplicity a time dependence parameterised byĀ [36, 37]
[TABLE]
where we fix , but allow to vary in the interval in our simulations. Current cosmological measurements do not provide strong constraints on the time dependence of , and the models represented by our choices of values, while spanning a parameter range comparable to only about 1.5 times the standard deviation inferred from the 2018 Planck+SNe+BAO dataĀ [27], do in fact deviate strongly from the reference CDM cosmology in their matter power spectrum predictions.
Extending RelFit to include a time-dependent dark energy equation of state parameter simply requires that we redefine the linear growth function variations and that appear in equationsĀ (LABEL:eq:formns)Ā andĀ (3.20) as
[TABLE]
where denotes the reference CDM choices of and in equationĀ (4.7).
(ii) Non-canonical effective number of neutrinos
Any light thermal particle species that decouples while relativistic will behave in the cosmological context essentially like a standard-model neutrino, and contribute to the non-photon radiation energy density, conventionally parameterised as the effective number of thermalised neutrinos . Well-known examples of such particle species include sterile neutrinos and axionsĀ (e.g.,Ā [42, 43]).
Phenomenologically, increasing alone shifts the epoch of matterāradiation equality to a lower redshift according toĀ [44],
[TABLE]
where is the present-day photon energy density. For the linear matter power spectrum, changes in are manifested primarily as a shift in the location of the turning pointĀ according to
[TABLE]
which, within the structure of RelFit, is captured by a variation in the linear transfer function. Then, incorporating into RelFit simply requires that we use the general form (LABEL:eq:formns) of the fitting function together with
[TABLE]
where the linear transfer functionĀ is now a function of three cosmological parameters.
The 2018 Planck+external data combination currently constrains most tightly to (95% C.I.)Ā [27]; our two choices of and in tableĀ 4 therefore represent respectively a and a variation away from the 2018 Planck best-fit.
FigureĀ 15 shows the predictions of RelFitāas calibrated originally in sectionĀ 4.1āagainst the relative matter power spectra constructed from the simulations of tableĀ 4, together with the corresponding fitting errors. Again, the differences between the predictions of RelFit and the simulated relative power spectra up to /Mpc generally do not exceed about 0.01; in the case of 1024, the large fluctuations around zero seen at /Mpc are a consequence of nonlinear corrections to the baryon acoustic oscillations, which in principle can be modelled approximately using a suppression factor (as has been implemented in, e.g., HMCodeĀ [10], but not in RelFit).
Beyond /Mpc the fitting errors tend to increase, although for most and cosmologies tested here the RelFit predictions still fall within 0.02 of the simulation results. The only exception is the case of 1024, where at /Mpc the deviation is up toĀ 0.03. We note however that the particular cosmology represented by this simulation is fairly far away from the CDM reference cosmological model in terms of the deviation of its linear matter power spectrum from the reference case (% at ). Given the āperturbativeā nature of RelFit, it is perhaps not surprising that its simple linear prescription should break down at large wavenumbers.
We conclude sectionĀ 4.2 with the emphasis that none of the simulations of tableĀ 4 has been used to calibrate RelFit. In particular, the fitting function that forms the basis of the RelFit predictions in the two scenarios has been extracted from a combination of target cosmology simulations that have nothing to do with varying at face value. That RelFit is still capable of predicting to the relative power spectra of these target cosmologies speaks again for the general soundness of our strategy.
4.3 Comparison with CosmicEmu, Halofit, and HMCode
4.3.1 Single-parameter variations
The essence of RelFit is a set of first-order logarithmic functional derivatives of the nonlinear matter power spectrum with respect to variations in the linear matter power spectrum evaluated at the reference cosmology . Predicting a target nonlinear relative to the reference simply consists in multiplying these derivatives with the relevant variations in the linear away from the reference . One immediately concludes that the smaller the linear variations a target cosmology produces, the higher the fidelity of RelFit in predicting its nonlinear variations.
We take as a formal assessment of āsmallnessā the fractional variation in the linear matter power spectrum at the āpeakā wavenumber , defined in equationĀ (4.3), of the reference cosmology. Then, at and for single-parameter variations, a maximum 10% (15%) variation corresponds to target cosmological parameter values falling in the region
[TABLE]
where the equivalent range assumes all parameters but held fixed at their reference values, and we have included in this list the (as-yet-unexplored) Hubble parameterĀ and physical baryon densityĀ . Where applicable the parameter regionĀ (4.12) is larger than that of equationĀ (3.1) used to establish RelFit, while the range, representing % variations in the linear matter power spectrum, has been chosen so as to stay within the confines of the MiraāTitan simulationsĀ [6, 7].444In the same vein, , or equivalently, , represents only a 13.4% variation from the reference cosmology, and only 11.4% at . Simple power counting then suggests that the output of RelFit in the regionĀ (4.12) should be accurate to ().
The left panel of figureĀ 16 compares the output of RelFit in the parameter regionĀ (4.12) at the calibration scale factors , with the predictions of the CosmicEmu emulator trained on the MiraāTitan simulationsĀ [6, 7]. For comparable cosmological parameters, CosmicEmu interpolates in the parameter region
[TABLE]
which, with the exception of and , is marginally larger than the ā15%-variationā parameter region defined in equationĀ (4.12). As can be seen, the agreement between RelFit and CosmicEmu in the regionĀ (4.12) is remarkable: with few exceptions, the two sets of predictions agree to 0.01 (0.02) or better across the whole wavenumber range tested.
The same comparison at the āoff-calibrationā scale factors is shown in the right panel of figureĀ 16, which serves to test the -dependence of the fitting coefficients presented in appendixĀ B. At the agreement between RelFit and CosmicEmu is as good as or at marginally worse than the āon-calibrationā comparisons discussed above. The results are likewise concordant for variations in , , , , and across the whole -range, but appear to diverge at /Mpc by as much as 4% for variations in . This may be an error of interpolation in RelFit consequent to a sparsely sampled -spaceārecall that we have calibrated RelFit at only four instances (). Interestingly, however, while CosmicEmu uses eight samples in a similar timeframe (), the particular instance of is likewise off-calibration. To pin down the exact source of discrepancy would require new simulations, which we defer to a later publication.
Lastly, while it may be tempting to interpret figureĀ 16 as an accuracy test of RelFit, it must be kept in mind that CosmicEmu itself has a claimed error margin of 4% on the absolute power spectrumĀ [7]. Likewise, relative power spectra formed from its output are in some casesāparticularly when the target and reference cosmologies are far apartādemonstrably erroneous by up to 2% as , due to convergence to linear perturbation theory not having been explicitly enforced in the emulation process (in contrast to the calibration of RelFit, which does respect convergence to linear theory). Nonetheless, it is encouraging that agreement to or better can be achieved in a fairly broad parameter region, especially given that RelFit and CosmicEmu have been calibrated against completely independent simulations generated from two different -body codes.
4.3.2 Multi-parameter variations
Next we test RelFit against CosmicEmu in the full 6-parameter space of equationĀ (4.12). To do so we draw 10 sets of six random numbers on a 5-sphere of unit radius centred on the origin, where each axis represents a cosmological parameter direction. These random numbers are then rescaled according to the parameter ranges of equationĀ (4.12), assuming that the reference CDM cosmology sits at the centre of the sphere. TableĀ 5 shows the 10 target cosmologies sampled in this manner. The sampling procedure ensures that all 10 target cosmologies reside on the āsurface of 15% variationā away from the reference, where we generically expect the fitting error of RelFit to be the largestāup to by the arguments of sectionĀ 4.3.1; by the same token we can expect the errors of RelFit to be smaller than for those cosmologies contained within the surface.
FigureĀ 17 compares the output of RelFit for the 10 target cosmologies of tableĀ 5 at with the predictions of CosmicEmu. As with the single-parameter comparisons of sectionĀ 4.3.1, the consistency between the two sets of predictions is remarkable: for the most part the output of RelFit is within 0.01 of the CosmicEmu predictions for the whole range of wavenumbers tested, and offers a clearly better concordance than can be achieved with HMCode (2016 version)Ā [11] and especially HalofitĀ [8] as updated inĀ [9] for the same set of target cosmologies, also shown in figureĀ 17.
The āworst-performingā cosmology of the RelFit set has a maximum deviation from the CosmicEmu predictions of 0.03 at /Mpc and . Interestingly, the same cosmology also exhibits the largest deviation from CosmicEmu under corrections with both HMCode and Halofit. Bearing in mind that CosmicEmu has a claimed accuracy of 4%Ā [7], these deviations could suggest that the inaccuracy lies with CosmicEmu itself rather than with the three fitting functions. It is likewise intriguing that except at /Mpc, the agreement between RelFit and CosmicEmu does not improve with a decreasing scale factorĀ , in contrast to the fidelity of RelFit to simulation results, which, as shown in figuresĀ 13 andĀ 14, does improve significantly from to across the board. Further investigation of these oddities is however beyond the scope of the present work.
We conclude our study with a comparison of an alternative calibration of RelFitāagainst only five simulations,555The simulations used are 1024, 1024, 1024, 1024, 1024Ref of tableĀ 3. the minimum required to map out the four approximate-universal formsĀ āto CosmicEmu, using again the 10 target cosmologies of tableĀ 5. This comparison is shown in the bottom panels of figureĀ 17 as āRelFit (5 simulations)ā. Evidently, this even ācheaperā version of RelFit agrees with CosmicEmu almost as well as the default version (calibrated against nine simulations), with only marginal deteriorations (and possibly a hint of systematic bias) in the agreement at /Mpc and still outperforming both HMCode and Halofit. While we do not advocate this alternative calibration because of potential biases introduced by the one-sided derivative estimates (see sectionĀ 4.1), this exercise serves to illustrate succinctly the power of the RelFit method, and supports our thesis that an accurate fitting function to the relative nonlinear matter power spectrum can indeed be obtained very cheaply.
5 Conclusions
The central message of this work is twofold: (i) The relative matter power spectrum, defined as the fractional deviation in the absolute matter power spectrum produced by a target cosmology away from a reference CDM prediction, is fairly insensitive to the specifics of a simulation and can be computed to 1%-level accuracy at a much lower computational cost than can the absolute matter power spectrum itself. (ii) Within the CDM class of models tested, the relative nonlinear power spectrum has the interesting property that when divided through by its linear counterpart under single-parameter variations, the result exhibits an approximate universality for each class of variations at the onset of nonlinearity. Exploiting this and the property of multiplicability of the relative power spectrum, it is possible to construct full fitting functions to any cosmology in the vicinity of CDM in a piece-wise manner, whereby component fitting functions are sought for single-parameter variations and then multiplied together to form the full fitting function.
Point 1 offers an advantage in the exploration of the nonlinear matter power spectrum under variation of cosmology, in that once an ultra-precise reference absolute matter power spectrum has been computed, variations away from the reference cosmology can be investigated at a relatively low cost, enabling a larger swath of parameter space to be explored or a particular parameter region of interest to be more densely sampled. Point 2 enables independent, piece-wise studies of cosmological models on nonlinear scales, by which we mean a fitting function for variations in, e.g., the primordial curvature power spectrum can be constructed independently of that for variations in, e.g., the dark energy equation of state. Both have particular implications for the investigation of ānon-standardā or āexoticā cosmologies: Because computational costs have been significantly reduced, the task of exploring exotic model parameter spaces is now possible for a much wider section of the scientific community. Computing the nonlinear matter power spectrum at 1%-level accuracy can be made a far more egalitarian exercise than is currently feasible with conventional methods.
As an illustration of the approach, we have used nine relatively inexpensive CDM simulations (box length Mpc and particles, initialised at ) spanning the parameter directions to construct the fitting function RelFit that is able to reproduce to accuracy or better the relative nonlinear matter power spectra of 20-odd CDM cosmologies at up to /Mpc. RelFit is likewise applicableāwithout modification and to the same accuracyāto cosmologies in which parameterises a time-dependent dark energy equation of state, and where may deviate from the canonical .
Testing RelFit against the output of the CosmicEmu emulator trained on the MiraāTitan simulationsĀ [6, 7], we find again consistency at better than in a large region of the 6-parameter space , despite RelFit not having been calibrated against the same simulationsāor any high-quality simulation for that matter. For the set of 10 randomly selected cosmologies examined, the ability of RelFit to replicate the CosmicEmu predictions surpasses that of both HalofitĀ [8] (with updatesĀ [9]) and HMCode (2016 version)Ā [11]. The same success can be reproduced even with only five calibrating simulations, although for reasons of minimising potential systematic biases, the nine-simulation calibration is preferableāthis version of RelFit is summarised in appendixĀ B.
To conclude, the relative matter power spectrum is an inexpensive and democratically accessible route to fulfilling the 1%-level accuracy demands of the forthcoming generation of large-scale structure probes. Our prototype fitting functionĀ RelFit for CDM+ cosmologies, which takes the linear matter power spectrum as an input, can be readily implemented in publicly available linear Boltzmann codes such as CambĀ [29] and ClassĀ [32] together with, e.g., an output of CosmicEmu as a placeholder for the ultra-precise reference absolute power spectrum yet to come. In the future we shall extend the approach to cosmologies including massive neutrinos, as well as more āexoticā scenarios such as decaying dark matter, interacting dark matter, and dark energy perturbations.
Acknowledgments
Y3W thanks Amol Upadhye for useful discussions about CosmicEmu. STH is supported by a grant from the Villum Foundation. Y3W is supported in part by the Australian Research Councilās Discovery Project (project DP170102382) and Future Fellowship (project FT180100031) funding schemes.
Appendix A Connection to the stable clustering ansatz
The PeacockāDodds (PD) fitting formula renders the dimensionless nonlinear matter power spectrum, , in terms of a simple function of the dimensionless linear power spectrum, , and the -independent linear growth functionĀ Ā [40]:
[TABLE]
Here, the nonlinear and linear wavenumbers, and , satisfy a scaling relation
[TABLE]
following from the stable clustering ansatzĀ [39, 40]. The dependences of on and on strongly nonlinear scales are likewise stipulated by stable clustering. The general form of , however, must be determined from and calibrated against simulations, which introduces an additional, empirical dependence on the effective linear spectral index
[TABLE]
in the fitting coefficients of the PD formula that we shall ignore for now.
Then, perturbing around it is straightforward to establish that
[TABLE]
to leading order in , with expansion coefficients
[TABLE]
Note that with the exception of , all quantities on the RHS of equationĀ (A.4) are technically functions of , and must be mapped to via equationĀ (A.2) before they can be meaningfully interpreted.
FigureĀ 18 shows the expansion coefficients as functions of for the canonical referenceĀ CDM model at . We have used the (cosmology- and simulation-dependent) PD fitting formulaĀ [40] to make this plot.666Note that in evaluating the expansion coefficients in figureĀ 18, we have applied theĀ PD formula to a ādewiggledā linear power spectrum, in order to show more clearly the coefficientsā broad-band characteristics. However, a number of cosmology- and simulation-independent features can still be identified:
At any given epoch, the function generally evolves from unity in the linear regime to a peak around (see equationĀ (4.3)) at which structures begin to acquire nonlinearities. It then drops to a constant asymptotic value ; here, the stable clustering ansatz stipulates that
[TABLE]
on very nonlinear scales, leading to . 2. 2.
In the linear regime the function approaches and does not depend on the growth factor ; in this limit Ā asymptotes to zero. In the nonlinear limit the assumption of stable clustering and hence equationĀ (A.8) lead to . The transition between the two regimes again takes place around . Note that is always negative in the PDĀ fitting formula. 3. 3.
Barring baryon acoustic oscillations, the effective linear spectral index Ā is always positive for all cosmologies consistent with current observations; it takes on a value at wavenumbers defined in equationĀ (4.10), and decreases monotonically beyond to zero on strongly nonlinear scales. 4. 4.
The term traces its origin to the cosmology-dependent mapping of the nonlinear wavenumberĀ to the linear wavenumberĀ via equationĀ (A.2). For CDM-type cosmologies, however, we expect to increase monotonically from zero in the linear regime to in the strongly nonlinear regime.
With these considerations in mind it is straightforward to establish the qualitative behaviours of some of the approximate-universal formsĀ . For , e.g., from varying only the primordial fluctuation amplitudeĀ between the reference and target cosmologies, the relative linear power spectrum is -independent and . Then, we find from equationĀ (A.4)
[TABLE]
where we can immediately conclude from the first approximate equality that the relative nonlinear power spectrum at is always larger in magnitude than the corresponding at , i.e., . In the stable clustering limit we expect to tend to the expression in the second line of equationĀ (A.9), which for our reference CDM cosmology evaluates numerically to at /Mpc, a prediction that appears to be borne out by our simulation results at shown in figuresĀ 8 andĀ 9.
In the case of , e.g., from varying the dark energy equation of state parameterĀ , we have again a -independent , such that equationĀ (A.4) becomes
[TABLE]
Recall that on linear scales evaluates to zero. Thus, we expect to evolve on mildly nonlinear scales approximately like . As we move further into the nonlinear regime, however, becomes increasingly negative; when the condition is satisfied, flips from to , also observed in figuresĀ 6 andĀ 7. In the stable clustering limit, should vanish exactly (to all orders): our simulation results in figuresĀ 6 andĀ 7 appear to suggest this behaviour at large wavenumbers . The simulations do not however have the necessary dynamical range to fully resolve this limit.
Appendix B RelFit fitting coefficients
The fitting function RelFit for the relative nonlinear matter power spectrum in CDM cosmologies comes in a general form,
[TABLE]
and a restricted form,
[TABLE]
the latter of which applies to a restricted set of CDM parameters.
Here, the target and reference CDM cosmologies are specified respectively by
[TABLE]
where is the overall normalisation of the linear matter power spectrum, is the linear growth function, the linear transfer function, and denotes the variation in between the target and reference cosmologies. The function
[TABLE]
specifies the variation in the shape of the primordial curvature power spectrum, taken to be of a power-law form, with for a -independent . In the case of the restricted form of RelFit, which applies if the only parameter varied in the linear transfer function is the physical matter density , we require also the auxiliary definitions
[TABLE]
where the last entry denotes the relative linear power spectrum in which only the physical matter densityĀ is varied away from its reference CDM value.
The crux of RelFit are the approximate-universal forms and . For , these are given by
[TABLE]
while for we have
[TABLE]
with the series truncated at . Here, the independent variable is
[TABLE]
where is defined by the condition
[TABLE]
The corresponding -dependent coefficients, calibrated against nine simulations at output scale factors are as follows:
- ā¢
:
[TABLE]
- ā¢
:
[TABLE]
- ā¢
:
[TABLE]
- ā¢
:
[TABLE]
- ā¢
:
[TABLE]
The reference list from the paper itself. Each links out to its DOI / PubMed record.
- 1[1] EUCLID Collaboration, R. Laureijs et al. , āEuclid Definition Study Report,ā ar Xiv:1110.3193 [astro-ph.CO] .
- 2[2] LSST Science, LSST Project Collaboration, P. A. Abell et al. , āLSST Science Book, Version 2.0,ā ar Xiv:0912.0201 [astro-ph.IM] .
- 3[3] F. Bernardeau, āThe evolution of the large-scale structure of the universe: beyond the linear regime,ā in 100e Ecole dāEte de Physique: Post-Planck Cosmology Les Houches, France, July 8-August 2, 2013 . 2013. ar Xiv:1311.2724 [astro-ph.CO] . http://inspirehep.net/record/1264888/files/ar Xiv:1311.2724.pdf .
- 4[4] K. Heitmann, M. White, C. Wagner, S. Habib, and D. Higdon, āThe Coyote Universe I: Precision Determination of the Nonlinear Matter Power Spectrum,ā Astrophys. J. 715 (2010) 104ā121 , ar Xiv:0812.1052 [astro-ph] . Ā· doiĀ ā
- 5[5] A. Schneider, R. Teyssier, D. Potter, J. Stadel, J. Onions, D. S. Reed, R. E. Smith, V. Springel, F. R. Pearce, and R. Scoccimarro, āMatter power spectrum and the challenge of percent accuracy,ā JCAP 1604 (2016) no. 04, 047 , ar Xiv:1503.05920 [astro-ph.CO] . Ā· doiĀ ā
- 6[6] K. Heitmann et al. , āThe Mira-Titan Universe: Precision Predictions for Dark Energy Surveys,ā Astrophys. J. 820 (2016) no. 2, 108 , ar Xiv:1508.02654 [astro-ph.CO] . Ā· doiĀ ā
- 7[7] E. Lawrence, K. Heitmann, J. Kwan, A. Upadhye, D. Bingham, S. Habib, D. Higdon, A. Pope, H. Finkel, and N. Frontiere, āThe Mira-Titan Universe II: Matter Power Spectrum Emulation,ā Astrophys. J. 847 (2017) no. 1, 50 , ar Xiv:1705.03388 [astro-ph.CO] . Ā· doiĀ ā
- 8[8] VIRGO Consortium Collaboration, R. E. Smith, J. A. Peacock, A. Jenkins, S. D. M. White, C. S. Frenk, F. R. Pearce, P. A. Thomas, G. Efstathiou, and H. M. P. Couchmann, āStable clustering, the halo model and nonlinear cosmological power spectra,ā Mon. Not. Roy. Astron. Soc. 341 (2003) 1311 , ar Xiv:astro-ph/0207664 [astro-ph] . Ā· doiĀ ā
