.. _models: Model Description ================= In this section we provide a description of the theoretical framework necessary to model the anisotropic galaxy power spectrum :math:`P_\mathrm{gg}^s(k,z,\mu)`, and most importantly its Legendre multipoles :math:`P^{(\ell)}(k,z)`, which are the main observables provided by the COMET emulator. Real-space matter power spectrum -------------------------------- **Standard Perturbation Theory** Following the classical approach of perturbative methods, we consider how small post-inflationary fluctuations in the matter density field :math:`\rho_\mathrm{m}({\bf{x}},t)` evolve into the current large-scale distribution probed by galaxy redshift surveys. The regime of validity of Cosmological Perturbation Theory is limited only down to mildly non-linear scales, where the matter density contrast .. math:: \delta_\mathrm{m}({\bf{x}},t)= \ \frac{\rho_\mathrm{m}({\bf{x}},t)}{\bar{\rho}_\mathrm{m}(t)}-1 is still small enough that can be described by means of analytical approaches. Unless explicitly noted, for sake of easiness we omit all the time-dependencies in the rest of this section. It is more convenient to work with wavemodes :math:`{\bf{k}}` rather than with comoving separations :math:`{\bf{x}}`, and therefore it is better to define the Fourier transform of :math:`\delta_\mathrm{m}({\bf{x}})` as .. math:: \delta_\mathrm{m}({\bf{k}}) = \int_{\bf{x}} e^{-i{\bf{k}}\cdot{\bf{x}}} \, \ \delta_\mathrm{m}({\bf{x}}) \equiv \int \frac{\mathrm{d}{\bf{x}}}{(2\pi)^3} \ \, e^{-i{\bf{k}}\cdot{\bf{x}}} \, \delta_\mathrm{m}({\bf{x}}). The matter power spectrum :math:`P_\mathrm{mm}(k)` is defined as the auto-covariance function of :math:`\delta_\mathrm{m}({\bf{x}})`, namely .. math:: <\delta_\mathrm{m}({\bf{k}}) \, \delta_\mathrm{m}({\bf{k'}})> \, = (2\pi)^3 \ \delta_\mathrm{D}({\bf{k}}+{\bf{k'}}) \, P_\mathrm{m}(k), where :math:`\delta_\mathrm{D}` denotes the Dirac delta, and we made use of both homogeneity and isotropy of the matter density field to express the argument of the power spectrum as the modulus of the wavemode :math:`{\bf{k}}`. In the context of Standard Perturbation Theory (SPT), for which the dark matter can be treated as a perfectly pressureless fluid, with vanishing energy-stress tensor :math:`\sigma_{ij}`, matter particles do not experience shell-crossing within the deeply non-linear regime. At intermediate scales, it is possible to express the matter density field using a perturbative expansion, .. math:: \delta = \delta^{(1)} + \delta^{(2)} + \delta^{(3)} + \ldots and, by cross-correlating the individual terms of the expansion, we can write the matter power spectrum as .. math:: P_\mathrm{mm}(k)=P_\mathrm{L}(k)+P^\mathrm{1-loop}(k)+\ldots, where :math:`P_\mathrm{L}(k)` is the linear matter power spectrum, and .. math:: \begin{flalign*} P^\mathrm{1-loop}(k) = \; & P_{22}(k) + P_{13}(k) = \\ & 2\int_{\bf{q}} F_2^2({\bf{k}}-{\bf{q}}, \, {\bf{q}}) \ P_\mathrm{L}(|{\bf{k}}-{\bf{q}}|) \, P_\mathrm{L}(q) \, + \\ & + 6 \, P_\mathrm{L}(k) \int_{\bf{q}} F_3({\bf{q}},-{\bf{q}},{\bf{k}}) \ P_\mathrm{L}(q) \end{flalign*} is the one-loop contribution generated by non-linear evolution of the matter density field. Here :math:`F_2({\bf{k}}_1,{\bf{k}}_2)` and :math:`F_3({\bf{k}}_1,{\bf{k}}_2,{\bf{k}}_3)` are the second and third order matter kernels describing the non-linear interaction between different wavemodes. A similar expression holds true for the velocity divergence power spectrum :math:`P_{\theta\theta}(k)` and the cross density-velocity power spectrum :math:`P_{\mathrm{m}\theta}(k)`, where in this case the matter kernels :math:`F_n` are substituted by their counterparts :math:`G_n`. In the previous equations, loops refer to the number of internal wavemodes :math:`{\bf{q}}_n` which are integrated over to obtain higher order corrections. The two individual one-loop contributions, :math:`P_{22}(k)` and :math:`P_{13}(k)` are obtained by respectively self-correlating the second order term of the :math:`\delta` expansion with itself, :math:`<\delta^{(2)}\delta^{(2)}>`, and cross-correlating the leading order term with the third-order one, :math:`<\delta^{(1)}\delta^{(3)}>`. The first term is defined as a mixture of the linear power spectrum evaluated at different wavemodes (mode-coupling term), while the second one is a simple rescaling of the amplitude of the linear power spectrum (propagator-like term). Full expressions for the second- and third-order kernels, together with recursion relations to generate them at higher order, can be found in `Bernardeau et al 2002 `_. **Large-scale displacements and IR-resummation** Despite one-loop SPT predictions are partially able to recover the amplitude of the non-linear matter power spectrum at mildly non-linear scales, a direct comparison with the output of N-body simulations shows how its accuracy is soon degraded, in particular when trying to model the power spectrum on BAO scales. The amplitude of BAO wiggles are indeed sensitive to large-scale bulk flows, whose main effect is a smearing of the BAO ring. This effect can be taken into account by effectively resumming all infrared modes :math:`q