From dfa2b3b7be13afef0da11b5c4392e413af4e67eb Mon Sep 17 00:00:00 2001 From: svonhausegger <49536424+svonhausegger@users.noreply.github.com> Date: Mon, 10 Jun 2024 21:05:35 +0100 Subject: [PATCH] typo in docstring (#1177) Window function that is defined in docstring was incorrect (Factor of 3 within brackets instead of outside). The window function actually used in the code is fine as far as I can tell. --- pyccl/power.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pyccl/power.py b/pyccl/power.py index 61d152ac7..f4235fc9c 100644 --- a/pyccl/power.py +++ b/pyccl/power.py @@ -104,7 +104,7 @@ def sigmaR(cosmo, R, a=1, *, p_of_k_a=DEFAULT_POWER_SPECTRUM): \\sigma_R^2(z)=\\frac{1}{2\\pi^2}\\int dk\\,k^2\\,P(k,z)\\, |W(kR)|^2, - with :math:`W(x)=(3\\sin(x)-x\\cos(x))/x^3`. + with :math:`W(x)=3(\\sin(x)-x\\cos(x))/x^3`. Args: cosmo (:class:`~pyccl.cosmology.Cosmology`): Cosmological parameters. @@ -134,7 +134,7 @@ def sigmaV(cosmo, R, a=1, *, p_of_k_a=DEFAULT_POWER_SPECTRUM): .. math:: \\sigma_V^2(z)=\\frac{1}{6\\pi^2}\\int dk\\,P(k,z)\\,|W(kR)|^2, - with :math:`W(x)=(3\\sin(x)-x\\cos(x))/x^3`. + with :math:`W(x)=3(\\sin(x)-x\\cos(x))/x^3`. Args: cosmo (:class:`~pyccl.cosmology.Cosmology`): Cosmological parameters.