Repository: skypyproject/skypy

Issue:
transpose power spectra
The power spectra are currently output which axes order `(nk, nz)`. This is the worse choice because it is always `P(k)` for a given `z` that is needed in computations, so the `P(k)` values for given `z` should always be contiguous in memory for the usual reasons. Which is also why every other power spectrum code returns `(nz, nk)`.

We had a vote and decided to change the order, which needs to happen before any code actually uses the power spectra.

Discussion:
skypybot: Hello @Lucia-Fonseca! Thanks for opening this PR. We checked the lines you've touched for [PEP 8](https://www.python.org/dev/peps/pep-0008) issues, and found:



* In the file [`skypy/power_spectrum/tests/test_halofit.py`](https://github.com/skypyproject/skypy/blob/274646a78a6cc78772c15434b70565d7fdda7485/skypy/power_spectrum/tests/test_halofit.py):

> [Line 18:11](https://github.com/skypyproject/skypy/blob/274646a78a6cc78772c15434b70565d7fdda7485/skypy/power_spectrum/tests/test_halofit.py#L18): [E127](https://duckduckgo.com/?q=pep8%20E127) continuation line over-indented for visual indent
> [Line 28:23](https://github.com/skypyproject/skypy/blob/274646a78a6cc78772c15434b70565d7fdda7485/skypy/power_spectrum/tests/test_halofit.py#L28): [E203](https://duckduckgo.com/?q=pep8%20E203) whitespace before ','
> [Line 28:54](https://github.com/skypyproject/skypy/blob/274646a78a6cc78772c15434b70565d7fdda7485/skypy/power_spectrum/tests/test_halofit.py#L28): [E203](https://duckduckgo.com/?q=pep8%20E203) whitespace before ','
> [Line 30:54](https://github.com/skypyproject/skypy/blob/274646a78a6cc78772c15434b70565d7fdda7485/skypy/power_spectrum/tests/test_halofit.py#L30): [E203](https://duckduckgo.com/?q=pep8%20E203) whitespace before ','
> [Line 54:30](https://github.com/skypyproject/skypy/blob/274646a78a6cc78772c15434b70565d7fdda7485/skypy/power_spectrum/tests/test_halofit.py#L54): [E231](https://duckduckgo.com/?q=pep8%20E231) missing whitespace after ','
> [Line 54:43](https://github.com/skypyproject/skypy/blob/274646a78a6cc78772c15434b70565d7fdda7485/skypy/power_spectrum/tests/test_halofit.py#L54): [E231](https://duckduckgo.com/?q=pep8%20E231) missing whitespace after ','
> [Line 55:42](https://github.com/skypyproject/skypy/blob/274646a78a6cc78772c15434b70565d7fdda7485/skypy/power_spectrum/tests/test_halofit.py#L55): [E231](https://duckduckgo.com/?q=pep8%20E231) missing whitespace after ','
> [Line 55:55](https://github.com/skypyproject/skypy/blob/274646a78a6cc78772c15434b70565d7fdda7485/skypy/power_spectrum/tests/test_halofit.py#L55): [E231](https://duckduckgo.com/?q=pep8%20E231) missing whitespace after ','


Lucia-Fonseca: @rrjbca could you help me understand why this is not passing all the checks? Thanks

Lucia-Fonseca: `test_camb` seems to fail here when I run `tox -e test-scipy14`:
`>       assert pkz.shape == (len(redshift), len(wavenumber))
E       assert (2, 2) == (2, 200)
E         At index 1 diff: 2 != 200`
However, if I run the same code in a Jupyter notebook, there is no such error and `pkz.shape` is actually `(2,200)`.
Any idea why this happens?
Lucia-Fonseca: Merge conflict resolved and all required checks passed.
rrjbca: Things like changing how `Mpc` renders, adding references and similar documentation changes have nothing to do with this PR. I am going to revert the Mpc changes that are not working and open a new issue. I will merge the other changes this time but please try to keep your pull requests focused.

Patch:
diff --git a/skypy/power_spectrum/_camb.py b/skypy/power_spectrum/_camb.py
index 2d5752e..4f9c445 100644
--- a/skypy/power_spectrum/_camb.py
+++ b/skypy/power_spectrum/_camb.py
@@ -8,8 +8,9 @@ __all__ = [
 
 
 def camb(wavenumber, redshift, cosmology, A_s, n_s):
-    """ Return the CAMB computation of the linear matter power spectrum, on a
-    two dimensional grid of wavenumber and redshift
+    r'''CAMB linear matter power spectrum.
+    Compute the linear matter power spectrum on a two dimensional grid of
+    redshift and wavenumber using CAMB [1]_.
 
     Parameters
     ----------
@@ -31,11 +32,11 @@ def camb(wavenumber, redshift, cosmology, A_s, n_s):
 
     Returns
     -------
-    power_spectrum : (nk, nz) array_like
+    power_spectrum : (nz, nk) array_like
         Array of values for the linear matter power spectrum in  [Mpc^3]
         evaluated at the input wavenumbers for the given primordial power
         spectrum parameters, cosmology. For nz redshifts and nk wavenumbers
-        the returned array will have shape (nk, nz).
+        the returned array will have shape (nz, nk).
 
     Examples
     --------
@@ -46,23 +47,21 @@ def camb(wavenumber, redshift, cosmology, A_s, n_s):
     >>> wavenumber = np.array([1.e-2, 1.e-1, 1e0])
     >>> A_s = 2.e-9
     >>> n_s = 0.965
-    >>> camb(wavenumber, redshift, cosmology, A_s, n_s)  # doctest: +SKIP
-    array([[2.34758952e+04, 8.70837957e+03],
-           [3.03660813e+03, 1.12836115e+03],
-           [2.53124880e+01, 9.40802814e+00]])
+    >>> power_spectrum = camb(wavenumber, redshift, cosmology, A_s, n_s) # doctest: +SKIP
 
     References
     ----------
-    doi : 10.1086/309179
-    arXiv: astro-ph/9911177
+    .. [1] Lewis, A. and Challinor, A. and Lasenby, A. (2000),
+        doi : 10.1086/309179.
 
-    """
+    '''
 
     try:
         from camb import CAMBparams, get_results, model
     except ImportError:
-        raise Exception("camb is required to use skypy.linear.camb")
+        raise Exception("camb is required to use skypy.power_spectrum.camb")
 
+    return_shape = (*np.shape(redshift), *np.shape(wavenumber))
     redshift = np.atleast_1d(redshift)
 
     h2 = cosmology.h * cosmology.h
@@ -98,4 +97,4 @@ def camb(wavenumber, redshift, cosmology, A_s, n_s):
                                                    maxkh=np.max(k_h.value),
                                                    npoints=len(k_h.value))
 
-    return pzk[redshift_order[::-1]].T
+    return pzk[redshift_order[::-1]].reshape(return_shape)
diff --git a/skypy/power_spectrum/_halofit.py b/skypy/power_spectrum/_halofit.py
index a9942d1..fc7c76f 100644
--- a/skypy/power_spectrum/_halofit.py
+++ b/skypy/power_spectrum/_halofit.py
@@ -72,7 +72,7 @@ def halofit(wavenumber, redshift, linear_power_spectrum,
         Input wavenumbers in units of :math:`1/Mpc`.
     z : (nz,) array_like
         Input redshifts
-    P : (nk, nz) array_like
+    P : (nz, nk) array_like
         Linear power spectrum for given wavenumbers
         and redshifts :math:`Mpc^3`.
     cosmology : astropy.cosmology.Cosmology
@@ -83,7 +83,7 @@ def halofit(wavenumber, redshift, linear_power_spectrum,
 
     Returns
     -------
-    pknl : (nk, nz) array_like
+    pknl : (nz, nk) array_like
            Non-linear halo power spectrum in units of :math:`Mpc^3`.
 
     References
@@ -112,7 +112,7 @@ def halofit(wavenumber, redshift, linear_power_spectrum,
     return_shape = np.shape(linear_power_spectrum)
     redshift = np.atleast_1d(redshift)
     if np.ndim(linear_power_spectrum) == 1:
-        linear_power_spectrum = linear_power_spectrum[:, np.newaxis]
+        linear_power_spectrum = linear_power_spectrum[np.newaxis, :]
 
     # Declaration of variables
     if isiterable(redshift):
@@ -141,7 +141,7 @@ def halofit(wavenumber, redshift, linear_power_spectrum,
     lnk = np.log(wavenumber)
     k2 = np.square(wavenumber)
     k3 = np.power(wavenumber, 3)
-    dl2kz = (linear_power_spectrum.T * k3) / (2 * np.pi * np.pi)
+    dl2kz = (linear_power_spectrum * k3) / (2 * np.pi * np.pi)
 
     # Integrals required to evaluate Smith et al. 2003 equations C5, C7 & C8
     def integral_kn(lnR, n):
@@ -209,7 +209,7 @@ def halofit(wavenumber, redshift, linear_power_spectrum,
     # Halofit non-linear power spectrum, Smith et al. 2003 equation C1
     pknl = 2 * np.pi * np.pi * (dq2 + dh2) / k3
 
-    return pknl.T.reshape(return_shape)
+    return pknl.reshape(return_shape)
 
 
 halofit_smith = partial(halofit, parameters=_smith_parameters)


Test patch:
diff --git a/skypy/power_spectrum/tests/data/camb_result.txt b/skypy/power_spectrum/tests/data/camb_result.txt
index fb4bd4b..1b33627 100644
--- a/skypy/power_spectrum/tests/data/camb_result.txt
+++ b/skypy/power_spectrum/tests/data/camb_result.txt
@@ -1,200 +1,2 @@
-6.02479627e+02, 2.23083390e+02
-6.32085099e+02, 2.34046706e+02
-6.63141705e+02, 2.45547555e+02
-6.95719860e+02, 2.57612081e+02
-7.29893440e+02, 2.70267680e+02
-7.65739946e+02, 2.83543053e+02
-8.03340421e+02, 2.97468252e+02
-8.42779594e+02, 3.12074739e+02
-8.84146145e+02, 3.27395442e+02
-9.27532890e+02, 3.43464818e+02
-9.73036940e+02, 3.60318904e+02
-1.02075989e+03, 3.77995379e+02
-1.07080788e+03, 3.96533665e+02
-1.12329181e+03, 4.15974994e+02
-1.17832753e+03, 4.36362404e+02
-1.23603609e+03, 4.57740811e+02
-1.29654376e+03, 4.80157132e+02
-1.35998231e+03, 5.03660369e+02
-1.42648906e+03, 5.28301586e+02
-1.49620721e+03, 5.54133996e+02
-1.56928590e+03, 5.81213039e+02
-1.64588048e+03, 6.09596466e+02
-1.72615246e+03, 6.39344320e+02
-1.81026970e+03, 6.70519017e+02
-1.89840666e+03, 7.03185368e+02
-1.99074457e+03, 7.37410663e+02
-2.08747135e+03, 7.73264705e+02
-2.18878184e+03, 8.10819882e+02
-2.29487770e+03, 8.50151011e+02
-2.40596757e+03, 8.91335416e+02
-2.52226716e+03, 9.34452921e+02
-2.64399933e+03, 9.79585918e+02
-2.77139349e+03, 1.02681937e+03
-2.90468573e+03, 1.07624081e+03
-3.04411886e+03, 1.12793987e+03
-3.18994246e+03, 1.18200832e+03
-3.34241194e+03, 1.23854050e+03
-3.50178858e+03, 1.29763315e+03
-3.66833803e+03, 1.35938445e+03
-3.84233039e+03, 1.42389407e+03
-4.02403946e+03, 1.49126340e+03
-4.21374253e+03, 1.56159542e+03
-4.41171812e+03, 1.63499336e+03
-4.61824580e+03, 1.71156075e+03
-4.83360395e+03, 1.79140129e+03
-5.05806955e+03, 1.87461852e+03
-5.29191635e+03, 1.96131385e+03
-5.53541402e+03, 2.05158657e+03
-5.78882303e+03, 2.14553359e+03
-6.05239460e+03, 2.24324899e+03
-6.32636876e+03, 2.34482160e+03
-6.61097311e+03, 2.45033499e+03
-6.90641676e+03, 2.55986686e+03
-7.21288965e+03, 2.67348846e+03
-7.53055860e+03, 2.79126212e+03
-7.85956604e+03, 2.91324094e+03
-8.20002455e+03, 3.03946670e+03
-8.55201539e+03, 3.16996949e+03
-8.91558176e+03, 3.30476586e+03
-9.29072768e+03, 3.44385818e+03
-9.67741312e+03, 3.58723181e+03
-1.00755516e+04, 3.73485461e+03
-1.04849997e+04, 3.88667419e+03
-1.09055567e+04, 4.04261725e+03
-1.13369558e+04, 4.20258553e+03
-1.17788632e+04, 4.36645551e+03
-1.22308647e+04, 4.53407408e+03
-1.26924655e+04, 4.70525843e+03
-1.31630743e+04, 4.87979009e+03
-1.36420083e+04, 5.05741667e+03
-1.41284938e+04, 5.23785175e+03
-1.46216566e+04, 5.42077141e+03
-1.51204574e+04, 5.60579109e+03
-1.56237376e+04, 5.79248226e+03
-1.61303434e+04, 5.98041914e+03
-1.66390195e+04, 6.16913852e+03
-1.71480293e+04, 6.35799569e+03
-1.76553683e+04, 6.54624539e+03
-1.81590996e+04, 6.73316990e+03
-1.86572581e+04, 6.91804193e+03
-1.91477913e+04, 7.10010102e+03
-1.96285153e+04, 7.27853781e+03
-2.00968842e+04, 7.45240908e+03
-2.05501261e+04, 7.62068780e+03
-2.09852583e+04, 7.78226840e+03
-2.13991500e+04, 7.93598991e+03
-2.17884874e+04, 8.08062226e+03
-2.21498449e+04, 8.21489365e+03
-2.24796491e+04, 8.33747919e+03
-2.27742444e+04, 8.44702379e+03
-2.30297552e+04, 8.54208947e+03
-2.32422668e+04, 8.62122281e+03
-2.34078255e+04, 8.68295462e+03
-2.35225711e+04, 8.72585018e+03
-2.35826810e+04, 8.74848990e+03
-2.35845630e+04, 8.74953983e+03
-2.35248855e+04, 8.72776064e+03
-2.34007559e+04, 8.68207529e+03
-2.32098173e+04, 8.61160480e+03
-2.29503942e+04, 8.51572301e+03
-2.26217043e+04, 8.39413595e+03
-2.22239084e+04, 8.24689942e+03
-2.17584939e+04, 8.07456012e+03
-2.12281133e+04, 7.87809720e+03
-2.06371732e+04, 7.65914247e+03
-1.99913191e+04, 7.41978807e+03
-1.92982278e+04, 7.16287950e+03
-1.85666544e+04, 6.89166311e+03
-1.78075043e+04, 6.61018463e+03
-1.70321464e+04, 6.32266271e+03
-1.62532741e+04, 6.03380759e+03
-1.54834513e+04, 5.74828267e+03
-1.47368313e+04, 5.47134355e+03
-1.40253323e+04, 5.20741701e+03
-1.33562548e+04, 4.95921530e+03
-1.27364366e+04, 4.72927928e+03
-1.21776854e+04, 4.52199628e+03
-1.16857121e+04, 4.33949023e+03
-1.12491248e+04, 4.17753363e+03
-1.08549305e+04, 4.03130386e+03
-1.04912055e+04, 3.89637507e+03
-1.01443335e+04, 3.76769098e+03
-9.79721734e+03, 3.63890214e+03
-9.42736030e+03, 3.50165367e+03
-9.00995769e+03, 3.34673055e+03
-8.52823749e+03, 3.16790153e+03
-7.98074684e+03, 2.96462581e+03
-7.38340164e+03, 2.74281326e+03
-6.76564554e+03, 2.51340071e+03
-6.16131630e+03, 2.28896085e+03
-5.60397913e+03, 2.08196360e+03
-5.12444645e+03, 1.90385958e+03
-4.74416755e+03, 1.76261984e+03
-4.46343205e+03, 1.65835628e+03
-4.25587234e+03, 1.58127530e+03
-4.07605539e+03, 1.51449615e+03
-3.87567313e+03, 1.44007181e+03
-3.62174237e+03, 1.34574515e+03
-3.31071368e+03, 1.23019763e+03
-2.96939918e+03, 1.10339079e+03
-2.64610021e+03, 9.83273130e+02
-2.39016194e+03, 8.88182044e+02
-2.21511370e+03, 8.23146191e+02
-2.09147460e+03, 7.77211872e+02
-1.97266835e+03, 7.33071712e+02
-1.81754449e+03, 6.75433767e+02
-1.62949990e+03, 6.05559590e+02
-1.44959697e+03, 5.38709330e+02
-1.31341727e+03, 4.88106078e+02
-1.21952849e+03, 4.53218333e+02
-1.13294287e+03, 4.21043841e+02
-1.02743605e+03, 3.81836652e+02
-9.17001811e+02, 3.40797412e+02
-8.28107093e+02, 3.07762511e+02
-7.60846889e+02, 2.82767407e+02
-6.93997917e+02, 2.57924645e+02
-6.22548453e+02, 2.31371759e+02
-5.60904692e+02, 2.08462778e+02
-5.10581550e+02, 1.89760883e+02
-4.61228445e+02, 1.71419276e+02
-4.14232126e+02, 1.53953348e+02
-3.74330494e+02, 1.39124040e+02
-3.37573397e+02, 1.25463305e+02
-3.03254868e+02, 1.12708795e+02
-2.73124773e+02, 1.01510846e+02
-2.45434120e+02, 9.12194604e+01
-2.20387282e+02, 8.19106180e+01
-1.97887571e+02, 7.35483989e+01
-1.77440876e+02, 6.59491542e+01
-1.59092569e+02, 5.91298228e+01
-1.42530124e+02, 5.29741845e+01
-1.27592705e+02, 4.74224684e+01
-1.14141443e+02, 4.24230828e+01
-1.02045800e+02, 3.79275249e+01
-9.11825532e+01, 3.38900057e+01
-8.14326407e+01, 3.02662739e+01
-7.26864260e+01, 2.70155797e+01
-6.48446287e+01, 2.41010232e+01
-5.78174076e+01, 2.14892136e+01
-5.15239802e+01, 1.91501276e+01
-4.58916207e+01, 1.70567377e+01
-4.08543079e+01, 1.51845072e+01
-3.63521466e+01, 1.35111762e+01
-3.23308168e+01, 1.20165562e+01
-2.87409923e+01, 1.06823141e+01
-2.55381034e+01, 9.49188477e+00
-2.26819642e+01, 8.43033222e+00
-2.01363717e+01, 7.48420083e+00
-1.78687953e+01, 6.64140013e+00
-1.58500056e+01, 5.89106656e+00
-1.40536888e+01, 5.22342014e+00
-1.24561746e+01, 4.62966336e+00
-1.10361325e+01, 4.10186843e+00
-9.77422458e+00, 3.63284790e+00
-8.65314346e+00, 3.21616915e+00
-7.65745896e+00, 2.84609721e+00
-6.77343104e+00, 2.51752526e+00
-5.98913478e+00, 2.22602112e+00
-5.29410353e+00, 1.96769461e+00
-4.67882030e+00, 1.73900849e+00
\ No newline at end of file
+6.024796270000000504e+02,6.320850990000000138e+02,6.631417050000000017e+02,6.957198600000000397e+02,7.298934400000000551e+02,7.657399460000000317e+02,8.033404209999999921e+02,8.427795939999999746e+02,8.841461450000000468e+02,9.275328899999999521e+02,9.730369399999999587e+02,1.020759890000000041e+03,1.070807880000000068e+03,1.123291809999999941e+03,1.178327530000000024e+03,1.236036090000000058e+03,1.296543760000000020e+03,1.359982310000000098e+03,1.426489060000000109e+03,1.496207210000000032e+03,1.569285900000000083e+03,1.645880480000000034e+03,1.726152460000000019e+03,1.810269700000000057e+03,1.898406660000000102e+03,1.990744570000000067e+03,2.087471349999999802e+03,2.188781840000000102e+03,2.294877700000000004e+03,2.405967569999999796e+03,2.522267159999999876e+03,2.643999330000000100e+03,2.771393489999999929e+03,2.904685730000000149e+03,3.044118860000000041e+03,3.189942460000000210e+03,3.342411939999999959e+03,3.501788579999999911e+03,3.668338029999999890e+03,3.842330390000000079e+03,4.024039459999999963e+03,4.213742530000000443e+03,4.411718120000000454e+03,4.618245799999999690e+03,4.833603949999999713e+03,5.058069550000000163e+03,5.291916350000000421e+03,5.535414020000000164e+03,5.788823029999999562e+03,6.052394599999999627e+03,6.326368760000000293e+03,6.610973109999999906e+03,6.906416760000000068e+03,7.212889650000000074e+03,7.530558600000000297e+03,7.859566039999999703e+03,8.200024550000000090e+03,8.552015390000000480e+03,8.915581759999999122e+03,9.290727679999999964e+03,9.677413119999999253e+03,1.007555160000000069e+04,1.048499970000000030e+04,1.090555669999999918e+04,1.133695579999999973e+04,1.177886319999999978e+04,1.223086470000000008e+04,1.269246550000000025e+04,1.316307430000000022e+04,1.364200829999999951e+04,1.412849380000000019e+04,1.462165660000000025e+04,1.512045739999999932e+04,1.562373760000000038e+04,1.613034339999999975e+04,1.663901949999999852e+04,1.714802929999999833e+04,1.765536829999999827e+04,1.815909960000000137e+04,1.865725809999999910e+04,1.914779130000000077e+04,1.962851529999999912e+04,2.009688420000000042e+04,2.055012610000000132e+04,2.098525830000000133e+04,2.139915000000000146e+04,2.178848740000000180e+04,2.214984490000000005e+04,2.247964909999999873e+04,2.277424439999999959e+04,2.302975519999999960e+04,2.324226680000000124e+04,2.340782549999999901e+04,2.352257110000000102e+04,2.358268100000000049e+04,2.358456299999999828e+04,2.352488550000000032e+04,2.340075590000000011e+04,2.320981729999999880e+04,2.295039419999999882e+04,2.262170430000000124e+04,2.222390840000000026e+04,2.175849390000000130e+04,2.122811330000000089e+04,2.063717320000000109e+04,1.999131910000000062e+04,1.929822780000000057e+04,1.856665439999999944e+04,1.780750430000000051e+04,1.703214640000000145e+04,1.625327410000000054e+04,1.548345130000000063e+04,1.473683129999999983e+04,1.402533230000000003e+04,1.335625480000000061e+04,1.273643660000000091e+04,1.217768540000000030e+04,1.168571210000000065e+04,1.124912479999999960e+04,1.085493050000000039e+04,1.049120550000000003e+04,1.014433350000000064e+04,9.797217339999999240e+03,9.427360300000000279e+03,9.009957689999999275e+03,8.528237489999999525e+03,7.980746839999999793e+03,7.383401640000000043e+03,6.765645540000000437e+03,6.161316300000000410e+03,5.603979129999999714e+03,5.124446450000000368e+03,4.744167550000000119e+03,4.463432050000000345e+03,4.255872339999999895e+03,4.076055389999999989e+03,3.875673130000000128e+03,3.621742369999999937e+03,3.310713679999999840e+03,2.969399179999999888e+03,2.646100210000000061e+03,2.390161939999999959e+03,2.215113699999999881e+03,2.091474600000000009e+03,1.972668349999999919e+03,1.817544489999999996e+03,1.629499900000000025e+03,1.449596970000000056e+03,1.313417269999999917e+03,1.219528489999999920e+03,1.132942870000000084e+03,1.027436050000000023e+03,9.170018109999999751e+02,8.281070929999999635e+02,7.608468890000000329e+02,6.939979170000000295e+02,6.225484529999999950e+02,5.609046919999999545e+02,5.105815499999999929e+02,4.612284450000000220e+02,4.142321259999999938e+02,3.743304939999999874e+02,3.375733969999999999e+02,3.032548679999999877e+02,2.731247730000000047e+02,2.454341200000000072e+02,2.203872819999999990e+02,1.978875710000000083e+02,1.774408760000000029e+02,1.590925689999999975e+02,1.425301240000000007e+02,1.275927049999999952e+02,1.141414429999999953e+02,1.020457999999999998e+02,9.118255320000000097e+01,8.143264069999999322e+01,7.268642599999999732e+01,6.484462870000000123e+01,5.781740760000000279e+01,5.152398019999999690e+01,4.589162069999999716e+01,4.085430790000000201e+01,3.635214659999999753e+01,3.233081680000000091e+01,2.874099229999999849e+01,2.553810340000000068e+01,2.268196419999999947e+01,2.013637170000000154e+01,1.786879529999999860e+01,1.585000559999999936e+01,1.405368879999999976e+01,1.245617460000000065e+01,1.103613250000000079e+01,9.774224580000000273e+00,8.653143460000000786e+00,7.657458959999999593e+00,6.773431040000000181e+00,5.989134779999999658e+00,5.294103530000000113e+00,4.678820299999999932e+00
+2.230833900000000085e+02,2.340467060000000004e+02,2.455475549999999885e+02,2.576120809999999892e+02,2.702676799999999844e+02,2.835430529999999862e+02,2.974682520000000068e+02,3.120747390000000223e+02,3.273954420000000027e+02,3.434648179999999797e+02,3.603189039999999750e+02,3.779953790000000140e+02,3.965336649999999850e+02,4.159749939999999810e+02,4.363624040000000264e+02,4.577408110000000079e+02,4.801571319999999901e+02,5.036603690000000029e+02,5.283015860000000430e+02,5.541339960000000247e+02,5.812130389999999807e+02,6.095964659999999640e+02,6.393443200000000388e+02,6.705190169999999625e+02,7.031853680000000395e+02,7.374106629999999996e+02,7.732647050000000490e+02,8.108198820000000069e+02,8.501510110000000395e+02,8.913354160000000093e+02,9.344529209999999466e+02,9.795859179999999924e+02,1.026819369999999935e+03,1.076240810000000010e+03,1.127939869999999928e+03,1.182008319999999912e+03,1.238540500000000065e+03,1.297633149999999887e+03,1.359384450000000015e+03,1.423894070000000056e+03,1.491263400000000047e+03,1.561595420000000104e+03,1.634993359999999939e+03,1.711560750000000098e+03,1.791401290000000017e+03,1.874618519999999990e+03,1.961313850000000002e+03,2.051586569999999938e+03,2.145533590000000004e+03,2.243248990000000049e+03,2.344821600000000217e+03,2.450334989999999834e+03,2.559866860000000088e+03,2.673488460000000032e+03,2.791262119999999868e+03,2.913240940000000137e+03,3.039466699999999946e+03,3.169969489999999951e+03,3.304765859999999975e+03,3.443858180000000175e+03,3.587231810000000223e+03,3.734854609999999866e+03,3.886674190000000181e+03,4.042617249999999785e+03,4.202585530000000290e+03,4.366455509999999776e+03,4.534074080000000322e+03,4.705258429999999862e+03,4.879790090000000419e+03,5.057416669999999613e+03,5.237851749999999811e+03,5.420771410000000287e+03,5.605791089999999713e+03,5.792482259999999769e+03,5.980419139999999970e+03,6.169138520000000426e+03,6.357995689999999740e+03,6.546245390000000043e+03,6.733169899999999870e+03,6.918041930000000320e+03,7.100101020000000062e+03,7.278537809999999808e+03,7.452409080000000358e+03,7.620687799999999697e+03,7.782268399999999929e+03,7.935989910000000236e+03,8.080622260000000097e+03,8.214893649999999980e+03,8.337479190000000017e+03,8.447023789999999281e+03,8.542089470000000802e+03,8.621222809999999299e+03,8.682954620000000432e+03,8.725850179999999455e+03,8.748489900000000489e+03,8.749539829999999711e+03,8.727760640000000421e+03,8.682075290000000678e+03,8.611604799999999159e+03,8.515723009999999704e+03,8.394135949999999866e+03,8.246899419999999736e+03,8.074560120000000097e+03,7.878097200000000157e+03,7.659142469999999776e+03,7.419788069999999607e+03,7.162879500000000007e+03,6.891663110000000415e+03,6.610184629999999743e+03,6.322662709999999606e+03,6.033807590000000346e+03,5.748282669999999598e+03,5.471343549999999595e+03,5.207417010000000118e+03,4.959215299999999843e+03,4.729279279999999744e+03,4.521996280000000297e+03,4.339490230000000338e+03,4.177533629999999903e+03,4.031303859999999986e+03,3.896375070000000051e+03,3.767690979999999854e+03,3.638902140000000145e+03,3.501653670000000147e+03,3.346730550000000221e+03,3.167901530000000093e+03,2.964625810000000001e+03,2.742813259999999900e+03,2.513400709999999890e+03,2.288960849999999937e+03,2.081963600000000042e+03,1.903859580000000051e+03,1.762619840000000067e+03,1.658356279999999970e+03,1.581275300000000016e+03,1.514496149999999943e+03,1.440071809999999914e+03,1.345745149999999967e+03,1.230197629999999890e+03,1.103390789999999924e+03,9.832731300000000374e+02,8.881820440000000190e+02,8.231461910000000444e+02,7.772118719999999712e+02,7.330717120000000477e+02,6.754337669999999889e+02,6.055595899999999574e+02,5.387093300000000227e+02,4.881060780000000250e+02,4.532183329999999728e+02,4.210438409999999863e+02,3.818366520000000151e+02,3.407974120000000084e+02,3.077625110000000177e+02,2.827674069999999915e+02,2.579246449999999982e+02,2.313717589999999973e+02,2.084627779999999859e+02,1.897608830000000069e+02,1.714192759999999964e+02,1.539533480000000054e+02,1.391240400000000079e+02,1.254633050000000054e+02,1.127087949999999950e+02,1.015108460000000008e+02,9.121946040000000266e+01,8.191061799999999948e+01,7.354839889999999514e+01,6.594915419999999528e+01,5.912982279999999946e+01,5.297418449999999979e+01,4.742246839999999963e+01,4.242308280000000309e+01,3.792752490000000165e+01,3.389000570000000323e+01,3.026627390000000162e+01,2.701557969999999997e+01,2.410102320000000020e+01,2.148921359999999936e+01,1.915012760000000114e+01,1.705673769999999934e+01,1.518450720000000054e+01,1.351117619999999953e+01,1.201655620000000013e+01,1.068231409999999926e+01,9.491884770000000415e+00,8.430332220000000376e+00,7.484200829999999804e+00,6.641400130000000068e+00,5.891066559999999619e+00,5.223420139999999989e+00,4.629663360000000338e+00,4.101868429999999677e+00,3.632847899999999797e+00,3.216169149999999810e+00,2.846097209999999933e+00,2.517525260000000209e+00,2.226021119999999964e+00,1.967694609999999900e+00,1.739008490000000018e+00
diff --git a/skypy/power_spectrum/tests/data/linear_power.txt b/skypy/power_spectrum/tests/data/linear_power.txt
index d3a3dda..cad6763 100644
--- a/skypy/power_spectrum/tests/data/linear_power.txt
+++ b/skypy/power_spectrum/tests/data/linear_power.txt
@@ -1,100 +1,5 @@
-4.307566660102520473e+02 2.566487270756076100e+02 1.600492036921232284e+02 1.068609742737917543e+02 7.569752992301025074e+01
-4.931290635794836135e+02 2.938107670483471452e+02 1.832238945350652557e+02 1.223341536763868476e+02 8.665832705958763427e+01
-5.645220945652492901e+02 3.363473821964690273e+02 2.097502344853492389e+02 1.400451479557332846e+02 9.920433394880144817e+01
-6.462349969961428542e+02 3.850326703169853886e+02 2.401109601511138862e+02 1.603162686452428431e+02 1.135638676831241298e+02
-7.397514716658428142e+02 4.407506337947823454e+02 2.748573459508031078e+02 1.835155883131517385e+02 1.299976612797983933e+02
-8.467645674632100281e+02 5.045100065079157048e+02 3.146184503479429395e+02 2.100631140493851774e+02 1.488032368180824108e+02
-9.692042938494228110e+02 5.774607055918372680e+02 3.601113753673050724e+02 2.404376374958448253e+02 1.703197578222284960e+02
-1.109267951517405209e+03 6.609119027212760784e+02 4.121525360615732438e+02 2.751842591961697622e+02 1.949333593148076602e+02
-1.269452996079960030e+03 7.563516045935871261e+02 4.716698711340245040e+02 3.149225413325579552e+02 2.230829230030551003e+02
-1.452591979990952950e+03 8.654674716421956191e+02 5.397158257362485756e+02 3.603551760251460792e+02 2.552662176762990782e+02
-1.661888720275040669e+03 9.901683670978836744e+02 6.174807897194829138e+02 4.122769577267299610e+02 2.920462550166060964e+02
-1.900954271762260532e+03 1.132605790168111525e+03 7.063064636205739362e+02 4.715837073676458431e+02 3.340576112304971161e+02
-2.173840498851174743e+03 1.295193878397878279e+03 8.076983323724997490e+02 5.392806007499679026e+02 3.820123266664012931e+02
-2.485067982837536874e+03 1.480626035109163695e+03 9.233360343736912910e+02 6.164890917237838721e+02 4.367048100123470817e+02
-2.839643632832506682e+03 1.691885422145670645e+03 1.055079904888654482e+03 7.044512810572012995e+02 4.990149330896443303e+02
-3.243061664426086281e+03 1.932245542969373219e+03 1.204971339673925058e+03 8.045301592205846646e+02 5.699082028349117763e+02
-3.701279594371046187e+03 2.205255940075554918e+03 1.375223875715696749e+03 9.182036512112415494e+02 6.504315428090467321e+02
-4.220658669616384032e+03 2.514706702070842766e+03 1.568201057420852976e+03 1.047049838345619719e+03 7.417028246998615941e+02
-4.807855912881123913e+03 2.864564143447303650e+03 1.786376325757837776e+03 1.192720177210814427e+03 8.448918973251101079e+02
-5.469653073200213839e+03 3.258868891766866000e+03 2.032269464210761271e+03 1.356897066168450237e+03 9.611905278494376716e+02
-6.212706719389893806e+03 3.701586991082202985e+03 2.308353745098840591e+03 1.541231849202621106e+03 1.091768485325565280e+03
-7.043204131930760923e+03 4.196404879200796131e+03 2.616928074955806551e+03 1.747259450488466200e+03 1.237713070046858093e+03
-7.966412192744414824e+03 4.746460612123860301e+03 2.959949382888062701e+03 1.976286464161232288e+03 1.399949839255538336e+03
-8.986111670954331203e+03 5.354006806373603467e+03 3.338822427394555689e+03 2.229250813424246189e+03 1.579143193311343111e+03
-1.010391732880717973e+04 6.020005551936877055e+03 3.754147179252581282e+03 2.506553084224320628e+03 1.775576896861765590e+03
-1.131849470281023241e+04 6.743661763365764273e+03 4.205427813704868640e+03 2.807862226388079307e+03 1.989016442589466578e+03
-1.262469605332017272e+04 7.521908370708660186e+03 4.690751669391216637e+03 3.131901202281519090e+03 2.218557210307613332e+03
-1.401264880793206976e+04 8.348863205816769550e+03 5.206450556179043815e+03 3.476220850257182519e+03 2.462464277717820096e+03
-1.546683715782898980e+04 9.215281809122470804e+03 5.746759518951603241e+03 3.836972049505911400e+03 2.718011027927357645e+03
-1.696521824105437190e+04 1.010803084361985384e+04 6.303488452292952388e+03 4.208686465140915971e+03 2.981323834979370531e+03
-1.847840567402784654e+04 1.100960163553931125e+04 6.865718738657385984e+03 4.584074000855929626e+03 3.247238584593266296e+03
-1.996893357193833799e+04 1.189767167102497115e+04 7.419529792473534144e+03 4.953840219051125132e+03 3.509171339339017777e+03
-2.139058689781252178e+04 1.274470561203827128e+04 7.947750248908690992e+03 5.306520215601372001e+03 3.759000659851371438e+03
-2.268776614249323393e+04 1.351757676692895075e+04 8.429721908407413139e+03 5.628321011345814441e+03 3.986955959067539425e+03
-2.379489826507436010e+04 1.417721612340544198e+04 8.841080869470737525e+03 5.902975419749129287e+03 4.181513985885901093e+03
-2.463613891687013165e+04 1.467843493087597199e+04 9.153646888890509217e+03 6.111668175411502489e+03 4.329346496527181444e+03
-2.512628121139638097e+04 1.497046615384278084e+04 9.335761038536400520e+03 6.233261379321712411e+03 4.415479954077784896e+03
-2.517521160885320933e+04 1.499961932827630153e+04 9.353941305418487900e+03 6.245399902892967475e+03 4.424078567907582510e+03
-2.470034647761462111e+04 1.471669037770708383e+04 9.177503441276223384e+03 6.127596617240273190e+03 4.340629789704643372e+03
-2.365234461194576579e+04 1.409228136440496201e+04 8.788114541919834664e+03 5.867611086561428237e+03 4.156462813670078503e+03
-2.205369123692036737e+04 1.313978918933174464e+04 8.194129074388030858e+03 5.471021386015196185e+03 3.875529002910140207e+03
-2.003243514681675151e+04 1.193550648507623737e+04 7.443124033246685940e+03 4.969593521773701468e+03 3.520330568536883675e+03
-1.781569366515657020e+04 1.061475181215785960e+04 6.619485684902320827e+03 4.419670158689408709e+03 3.130779186329009008e+03
-1.566440880465207556e+04 9.332996787588223015e+03 5.820167981875827536e+03 3.885985101036702872e+03 2.752730596601364141e+03
-1.378743280726244848e+04 8.214677470690985501e+03 5.122770733183479933e+03 3.420349860548506058e+03 2.422886724321528618e+03
-1.228848024387500482e+04 7.321587943131705288e+03 4.565829464312396340e+03 3.048493673626566306e+03 2.159473490183688682e+03
-1.112325477066422718e+04 6.627336041645168734e+03 4.132885707837310292e+03 2.759427620466566623e+03 1.954706629713728262e+03
-1.002361767305866124e+04 5.972162289002957550e+03 3.724311550524327686e+03 2.486632558033478745e+03 1.761465715135592745e+03
-8.573117377860675333e+03 5.107941062124727978e+03 3.185372897869555345e+03 2.126796281638884011e+03 1.506567072437695515e+03
-6.742857875273539321e+03 4.017455856387148287e+03 2.505333332487551161e+03 1.672750345607630607e+03 1.184932761476930864e+03
-5.232419772215945159e+03 3.117523140158444221e+03 1.944124569638468529e+03 1.298044856385669618e+03 9.195011558280567669e+02
-4.467473668696667119e+03 2.661761316277589231e+03 1.659906066719841419e+03 1.108279050446718884e+03 7.850760032309696044e+02
-3.728585248113538000e+03 2.221524896142763282e+03 1.385369390533277510e+03 9.249775655632391818e+02 6.552300072423062147e+02
-2.751789933317056239e+03 1.639541391446476155e+03 1.022437543763776944e+03 6.826567676704844416e+02 4.835762676604721264e+02
-2.248542864176949934e+03 1.339702224949945048e+03 8.354542675157618987e+02 5.578125659385904100e+02 3.951398879574271064e+02
-1.727670922198509970e+03 1.029361999419959375e+03 6.419224057540799322e+02 4.285960323739692512e+02 3.036062623047691318e+02
-1.339943586669423667e+03 7.983505375715925538e+02 4.978609060775501689e+02 3.324096605855094140e+02 2.354703426566132691e+02
-1.012396154052899192e+03 6.031948075012107893e+02 3.761594678915037662e+02 2.511525599247667628e+02 1.779099296945897493e+02
-7.787483047651917332e+02 4.639853005211925847e+02 2.893467609188279539e+02 1.931898195146944204e+02 1.368506346017953490e+02
-5.860367302088504857e+02 3.491659971759394807e+02 2.177440754962799758e+02 1.453824418560583354e+02 1.029851338851056397e+02
-4.385847963767009787e+02 2.613127981218888181e+02 1.629577739602347890e+02 1.088029561482662899e+02 7.707317928473455027e+01
-3.269127434685278786e+02 1.947775765215795332e+02 1.214656171280236805e+02 8.109964865577636317e+01 5.744887806410242348e+01
-2.423868885696911377e+02 1.444163058169547185e+02 9.005972875662283172e+01 6.013069815879234881e+01 4.259501987605424489e+01
-1.788338783323765142e+02 1.065508461125153019e+02 6.644637698906717560e+01 4.436463548843527605e+01 3.142675186364000695e+01
-1.313709709107551475e+02 7.827201554700847907e+01 4.881136135923902231e+01 3.259016296333562934e+01 2.308602230962368296e+01
-9.607377220583134658e+01 5.724162453562973241e+01 3.569655898691486584e+01 2.383372727615346776e+01 1.688319141692470282e+01
-6.996901040698986662e+01 4.168817077636705193e+01 2.599723993243574327e+01 1.735772702095818332e+01 1.229576156771645579e+01
-5.075620411608954896e+01 3.024100659483251263e+01 1.885865197735943966e+01 1.259146485769225343e+01 8.919465635767227951e+00
-3.668202452203230024e+01 2.185548278877186235e+01 1.362933943412608251e+01 9.099979612773301696e+00 6.446188458583363534e+00
-2.641590711328366581e+01 1.573883695861455578e+01 9.814926226087749228e+00 6.553188361765932335e+00 4.642107892774103739e+00
-1.895848926214262065e+01 1.129563979002863761e+01 7.044095539404557904e+00 4.703171867486696023e+00 3.331604410230888380e+00
-1.356240291332200876e+01 8.080602619641789275e+00 5.039160058819049937e+00 3.364525039704918452e+00 2.383341875746340488e+00
-9.672398201459081690e+00 5.762902543483304107e+00 3.593814680281249174e+00 2.399502960558685061e+00 1.699745378437842680e+00
-6.877990552690430803e+00 4.097969130776124125e+00 2.555542369561032867e+00 1.706273702770608081e+00 1.208679834243294504e+00
-4.877308250036834991e+00 2.905944475616126788e+00 1.812181593867290053e+00 1.209949729298290144e+00 8.570968631095334800e-01
-3.449463096551290242e+00 2.055221387573610503e+00 1.281660541395452046e+00 8.557336805327313556e-01 6.061794432295478652e-01
-2.433504093772473897e+00 1.449903802498835770e+00 9.041772841201642930e-01 6.036972585204244401e-01 4.276434086610874097e-01
-1.712684066745943756e+00 1.020432695062599260e+00 6.363539851809317804e-01 4.248781329162656384e-01 3.009725991984494309e-01
-1.202650160190359863e+00 7.165498693008858222e-01 4.468490348425400716e-01 2.983502705107641262e-01 2.113435581418399156e-01
-8.426899095778834781e-01 5.020822883968446559e-01 3.131044964121753593e-01 2.090522836994074263e-01 1.480871909352470261e-01
-5.892640665071615658e-01 3.510888734032030500e-01 2.189432040190619488e-01 1.461830709080495783e-01 1.035522786452222482e-01
-4.112543256277583215e-01 2.450290558572332245e-01 1.528030382937760889e-01 1.020228852589538660e-01 7.227035372084925080e-02
-2.864914185112704681e-01 1.706941846310342792e-01 1.064469270366772552e-01 7.107203328216479821e-02 5.034557660200295742e-02
-1.992293059008539424e-01 1.187026267734973689e-01 7.402437217490953625e-02 4.942427920999332980e-02 3.501087164745471381e-02
-1.383161501478919753e-01 8.241001630514574461e-02 5.139186792852414726e-02 3.431310465721735398e-02 2.430650931448716939e-02
-9.587514508345165720e-02 5.712328069525785673e-02 3.562275835821427511e-02 2.378445238503851603e-02 1.684828636791148651e-02
-6.635688243758573746e-02 3.953603218274234776e-02 2.465514066676026406e-02 1.646163986904641136e-02 1.166099677676786170e-02
-4.586105557697581214e-02 2.732443271323491477e-02 1.703984175929268777e-02 1.137708935667058885e-02 8.059233671281917921e-03
-3.165262408188262294e-02 1.885892040733864322e-02 1.176064743464902244e-02 7.852299255263430269e-03 5.562364201516683745e-03
-2.181778660666879727e-02 1.299923507179229221e-02 8.106477852251981614e-03 5.412498789353206892e-03 3.834073120235489008e-03
-1.502010555344503000e-02 8.949115068926606284e-03 5.580774768888429639e-03 3.726148054776998782e-03 2.639506197570061670e-03
-1.032811507310447442e-02 6.153584600683980124e-03 3.837448665394871828e-03 2.562171467585624540e-03 1.814975510503212758e-03
-7.093783639760866885e-03 4.226540608546418970e-03 2.635721074786377769e-03 1.759807080998925617e-03 1.246601484573145241e-03
-4.867043401835602703e-03 2.899828585991315062e-03 1.808367652237913813e-03 1.207403252908926129e-03 8.552930055835086158e-04
-3.335824931142205262e-03 1.987514738319446500e-03 1.239437868322936041e-03 8.275426250517417147e-04 5.862096340420900687e-04
-2.284079270565322808e-03 1.360875138067905521e-03 8.486579483716337772e-04 5.666283436351345721e-04 4.013847551834076881e-04
-1.562453159326178658e-03 9.309237583494098028e-04 5.805351459156417359e-04 3.876092467917505234e-04 2.745722913051341484e-04
-1.067843796784676176e-03 6.362310157583220705e-04 3.967612409250406377e-04 2.649078644645270781e-04 1.876538290374015004e-04
-7.291709233128611852e-04 4.344466471572545506e-04 2.709261047834744872e-04 1.808907938652263073e-04 1.281383252816582969e-04
-4.974929598788272334e-04 2.964108160288772185e-04 1.848453160540263168e-04 1.234167375270255073e-04 8.742520125276057475e-05
+4.307566660102520473e+02 4.931290635794836135e+02 5.645220945652492901e+02 6.462349969961428542e+02 7.397514716658428142e+02 8.467645674632100281e+02 9.692042938494228110e+02 1.109267951517405209e+03 1.269452996079960030e+03 1.452591979990952950e+03 1.661888720275040669e+03 1.900954271762260532e+03 2.173840498851174743e+03 2.485067982837536874e+03 2.839643632832506682e+03 3.243061664426086281e+03 3.701279594371046187e+03 4.220658669616384032e+03 4.807855912881123913e+03 5.469653073200213839e+03 6.212706719389893806e+03 7.043204131930760923e+03 7.966412192744414824e+03 8.986111670954331203e+03 1.010391732880717973e+04 1.131849470281023241e+04 1.262469605332017272e+04 1.401264880793206976e+04 1.546683715782898980e+04 1.696521824105437190e+04 1.847840567402784654e+04 1.996893357193833799e+04 2.139058689781252178e+04 2.268776614249323393e+04 2.379489826507436010e+04 2.463613891687013165e+04 2.512628121139638097e+04 2.517521160885320933e+04 2.470034647761462111e+04 2.365234461194576579e+04 2.205369123692036737e+04 2.003243514681675151e+04 1.781569366515657020e+04 1.566440880465207556e+04 1.378743280726244848e+04 1.228848024387500482e+04 1.112325477066422718e+04 1.002361767305866124e+04 8.573117377860675333e+03 6.742857875273539321e+03 5.232419772215945159e+03 4.467473668696667119e+03 3.728585248113538000e+03 2.751789933317056239e+03 2.248542864176949934e+03 1.727670922198509970e+03 1.339943586669423667e+03 1.012396154052899192e+03 7.787483047651917332e+02 5.860367302088504857e+02 4.385847963767009787e+02 3.269127434685278786e+02 2.423868885696911377e+02 1.788338783323765142e+02 1.313709709107551475e+02 9.607377220583134658e+01 6.996901040698986662e+01 5.075620411608954896e+01 3.668202452203230024e+01 2.641590711328366581e+01 1.895848926214262065e+01 1.356240291332200876e+01 9.672398201459081690e+00 6.877990552690430803e+00 4.877308250036834991e+00 3.449463096551290242e+00 2.433504093772473897e+00 1.712684066745943756e+00 1.202650160190359863e+00 8.426899095778834781e-01 5.892640665071615658e-01 4.112543256277583215e-01 2.864914185112704681e-01 1.992293059008539424e-01 1.383161501478919753e-01 9.587514508345165720e-02 6.635688243758573746e-02 4.586105557697581214e-02 3.165262408188262294e-02 2.181778660666879727e-02 1.502010555344503000e-02 1.032811507310447442e-02 7.093783639760866885e-03 4.867043401835602703e-03 3.335824931142205262e-03 2.284079270565322808e-03 1.562453159326178658e-03 1.067843796784676176e-03 7.291709233128611852e-04 4.974929598788272334e-04
+2.566487270756076100e+02 2.938107670483471452e+02 3.363473821964690273e+02 3.850326703169853886e+02 4.407506337947823454e+02 5.045100065079157048e+02 5.774607055918372680e+02 6.609119027212760784e+02 7.563516045935871261e+02 8.654674716421956191e+02 9.901683670978836744e+02 1.132605790168111525e+03 1.295193878397878279e+03 1.480626035109163695e+03 1.691885422145670645e+03 1.932245542969373219e+03 2.205255940075554918e+03 2.514706702070842766e+03 2.864564143447303650e+03 3.258868891766866000e+03 3.701586991082202985e+03 4.196404879200796131e+03 4.746460612123860301e+03 5.354006806373603467e+03 6.020005551936877055e+03 6.743661763365764273e+03 7.521908370708660186e+03 8.348863205816769550e+03 9.215281809122470804e+03 1.010803084361985384e+04 1.100960163553931125e+04 1.189767167102497115e+04 1.274470561203827128e+04 1.351757676692895075e+04 1.417721612340544198e+04 1.467843493087597199e+04 1.497046615384278084e+04 1.499961932827630153e+04 1.471669037770708383e+04 1.409228136440496201e+04 1.313978918933174464e+04 1.193550648507623737e+04 1.061475181215785960e+04 9.332996787588223015e+03 8.214677470690985501e+03 7.321587943131705288e+03 6.627336041645168734e+03 5.972162289002957550e+03 5.107941062124727978e+03 4.017455856387148287e+03 3.117523140158444221e+03 2.661761316277589231e+03 2.221524896142763282e+03 1.639541391446476155e+03 1.339702224949945048e+03 1.029361999419959375e+03 7.983505375715925538e+02 6.031948075012107893e+02 4.639853005211925847e+02 3.491659971759394807e+02 2.613127981218888181e+02 1.947775765215795332e+02 1.444163058169547185e+02 1.065508461125153019e+02 7.827201554700847907e+01 5.724162453562973241e+01 4.168817077636705193e+01 3.024100659483251263e+01 2.185548278877186235e+01 1.573883695861455578e+01 1.129563979002863761e+01 8.080602619641789275e+00 5.762902543483304107e+00 4.097969130776124125e+00 2.905944475616126788e+00 2.055221387573610503e+00 1.449903802498835770e+00 1.020432695062599260e+00 7.165498693008858222e-01 5.020822883968446559e-01 3.510888734032030500e-01 2.450290558572332245e-01 1.706941846310342792e-01 1.187026267734973689e-01 8.241001630514574461e-02 5.712328069525785673e-02 3.953603218274234776e-02 2.732443271323491477e-02 1.885892040733864322e-02 1.299923507179229221e-02 8.949115068926606284e-03 6.153584600683980124e-03 4.226540608546418970e-03 2.899828585991315062e-03 1.987514738319446500e-03 1.360875138067905521e-03 9.309237583494098028e-04 6.362310157583220705e-04 4.344466471572545506e-04 2.964108160288772185e-04
+1.600492036921232284e+02 1.832238945350652557e+02 2.097502344853492389e+02 2.401109601511138862e+02 2.748573459508031078e+02 3.146184503479429395e+02 3.601113753673050724e+02 4.121525360615732438e+02 4.716698711340245040e+02 5.397158257362485756e+02 6.174807897194829138e+02 7.063064636205739362e+02 8.076983323724997490e+02 9.233360343736912910e+02 1.055079904888654482e+03 1.204971339673925058e+03 1.375223875715696749e+03 1.568201057420852976e+03 1.786376325757837776e+03 2.032269464210761271e+03 2.308353745098840591e+03 2.616928074955806551e+03 2.959949382888062701e+03 3.338822427394555689e+03 3.754147179252581282e+03 4.205427813704868640e+03 4.690751669391216637e+03 5.206450556179043815e+03 5.746759518951603241e+03 6.303488452292952388e+03 6.865718738657385984e+03 7.419529792473534144e+03 7.947750248908690992e+03 8.429721908407413139e+03 8.841080869470737525e+03 9.153646888890509217e+03 9.335761038536400520e+03 9.353941305418487900e+03 9.177503441276223384e+03 8.788114541919834664e+03 8.194129074388030858e+03 7.443124033246685940e+03 6.619485684902320827e+03 5.820167981875827536e+03 5.122770733183479933e+03 4.565829464312396340e+03 4.132885707837310292e+03 3.724311550524327686e+03 3.185372897869555345e+03 2.505333332487551161e+03 1.944124569638468529e+03 1.659906066719841419e+03 1.385369390533277510e+03 1.022437543763776944e+03 8.354542675157618987e+02 6.419224057540799322e+02 4.978609060775501689e+02 3.761594678915037662e+02 2.893467609188279539e+02 2.177440754962799758e+02 1.629577739602347890e+02 1.214656171280236805e+02 9.005972875662283172e+01 6.644637698906717560e+01 4.881136135923902231e+01 3.569655898691486584e+01 2.599723993243574327e+01 1.885865197735943966e+01 1.362933943412608251e+01 9.814926226087749228e+00 7.044095539404557904e+00 5.039160058819049937e+00 3.593814680281249174e+00 2.555542369561032867e+00 1.812181593867290053e+00 1.281660541395452046e+00 9.041772841201642930e-01 6.363539851809317804e-01 4.468490348425400716e-01 3.131044964121753593e-01 2.189432040190619488e-01 1.528030382937760889e-01 1.064469270366772552e-01 7.402437217490953625e-02 5.139186792852414726e-02 3.562275835821427511e-02 2.465514066676026406e-02 1.703984175929268777e-02 1.176064743464902244e-02 8.106477852251981614e-03 5.580774768888429639e-03 3.837448665394871828e-03 2.635721074786377769e-03 1.808367652237913813e-03 1.239437868322936041e-03 8.486579483716337772e-04 5.805351459156417359e-04 3.967612409250406377e-04 2.709261047834744872e-04 1.848453160540263168e-04
+1.068609742737917543e+02 1.223341536763868476e+02 1.400451479557332846e+02 1.603162686452428431e+02 1.835155883131517385e+02 2.100631140493851774e+02 2.404376374958448253e+02 2.751842591961697622e+02 3.149225413325579552e+02 3.603551760251460792e+02 4.122769577267299610e+02 4.715837073676458431e+02 5.392806007499679026e+02 6.164890917237838721e+02 7.044512810572012995e+02 8.045301592205846646e+02 9.182036512112415494e+02 1.047049838345619719e+03 1.192720177210814427e+03 1.356897066168450237e+03 1.541231849202621106e+03 1.747259450488466200e+03 1.976286464161232288e+03 2.229250813424246189e+03 2.506553084224320628e+03 2.807862226388079307e+03 3.131901202281519090e+03 3.476220850257182519e+03 3.836972049505911400e+03 4.208686465140915971e+03 4.584074000855929626e+03 4.953840219051125132e+03 5.306520215601372001e+03 5.628321011345814441e+03 5.902975419749129287e+03 6.111668175411502489e+03 6.233261379321712411e+03 6.245399902892967475e+03 6.127596617240273190e+03 5.867611086561428237e+03 5.471021386015196185e+03 4.969593521773701468e+03 4.419670158689408709e+03 3.885985101036702872e+03 3.420349860548506058e+03 3.048493673626566306e+03 2.759427620466566623e+03 2.486632558033478745e+03 2.126796281638884011e+03 1.672750345607630607e+03 1.298044856385669618e+03 1.108279050446718884e+03 9.249775655632391818e+02 6.826567676704844416e+02 5.578125659385904100e+02 4.285960323739692512e+02 3.324096605855094140e+02 2.511525599247667628e+02 1.931898195146944204e+02 1.453824418560583354e+02 1.088029561482662899e+02 8.109964865577636317e+01 6.013069815879234881e+01 4.436463548843527605e+01 3.259016296333562934e+01 2.383372727615346776e+01 1.735772702095818332e+01 1.259146485769225343e+01 9.099979612773301696e+00 6.553188361765932335e+00 4.703171867486696023e+00 3.364525039704918452e+00 2.399502960558685061e+00 1.706273702770608081e+00 1.209949729298290144e+00 8.557336805327313556e-01 6.036972585204244401e-01 4.248781329162656384e-01 2.983502705107641262e-01 2.090522836994074263e-01 1.461830709080495783e-01 1.020228852589538660e-01 7.107203328216479821e-02 4.942427920999332980e-02 3.431310465721735398e-02 2.378445238503851603e-02 1.646163986904641136e-02 1.137708935667058885e-02 7.852299255263430269e-03 5.412498789353206892e-03 3.726148054776998782e-03 2.562171467585624540e-03 1.759807080998925617e-03 1.207403252908926129e-03 8.275426250517417147e-04 5.666283436351345721e-04 3.876092467917505234e-04 2.649078644645270781e-04 1.808907938652263073e-04 1.234167375270255073e-04
+7.569752992301025074e+01 8.665832705958763427e+01 9.920433394880144817e+01 1.135638676831241298e+02 1.299976612797983933e+02 1.488032368180824108e+02 1.703197578222284960e+02 1.949333593148076602e+02 2.230829230030551003e+02 2.552662176762990782e+02 2.920462550166060964e+02 3.340576112304971161e+02 3.820123266664012931e+02 4.367048100123470817e+02 4.990149330896443303e+02 5.699082028349117763e+02 6.504315428090467321e+02 7.417028246998615941e+02 8.448918973251101079e+02 9.611905278494376716e+02 1.091768485325565280e+03 1.237713070046858093e+03 1.399949839255538336e+03 1.579143193311343111e+03 1.775576896861765590e+03 1.989016442589466578e+03 2.218557210307613332e+03 2.462464277717820096e+03 2.718011027927357645e+03 2.981323834979370531e+03 3.247238584593266296e+03 3.509171339339017777e+03 3.759000659851371438e+03 3.986955959067539425e+03 4.181513985885901093e+03 4.329346496527181444e+03 4.415479954077784896e+03 4.424078567907582510e+03 4.340629789704643372e+03 4.156462813670078503e+03 3.875529002910140207e+03 3.520330568536883675e+03 3.130779186329009008e+03 2.752730596601364141e+03 2.422886724321528618e+03 2.159473490183688682e+03 1.954706629713728262e+03 1.761465715135592745e+03 1.506567072437695515e+03 1.184932761476930864e+03 9.195011558280567669e+02 7.850760032309696044e+02 6.552300072423062147e+02 4.835762676604721264e+02 3.951398879574271064e+02 3.036062623047691318e+02 2.354703426566132691e+02 1.779099296945897493e+02 1.368506346017953490e+02 1.029851338851056397e+02 7.707317928473455027e+01 5.744887806410242348e+01 4.259501987605424489e+01 3.142675186364000695e+01 2.308602230962368296e+01 1.688319141692470282e+01 1.229576156771645579e+01 8.919465635767227951e+00 6.446188458583363534e+00 4.642107892774103739e+00 3.331604410230888380e+00 2.383341875746340488e+00 1.699745378437842680e+00 1.208679834243294504e+00 8.570968631095334800e-01 6.061794432295478652e-01 4.276434086610874097e-01 3.009725991984494309e-01 2.113435581418399156e-01 1.480871909352470261e-01 1.035522786452222482e-01 7.227035372084925080e-02 5.034557660200295742e-02 3.501087164745471381e-02 2.430650931448716939e-02 1.684828636791148651e-02 1.166099677676786170e-02 8.059233671281917921e-03 5.562364201516683745e-03 3.834073120235489008e-03 2.639506197570061670e-03 1.814975510503212758e-03 1.246601484573145241e-03 8.552930055835086158e-04 5.862096340420900687e-04 4.013847551834076881e-04 2.745722913051341484e-04 1.876538290374015004e-04 1.281383252816582969e-04 8.742520125276057475e-05
diff --git a/skypy/power_spectrum/tests/data/truth_bird.txt b/skypy/power_spectrum/tests/data/truth_bird.txt
index c0199e5..f471a79 100644
--- a/skypy/power_spectrum/tests/data/truth_bird.txt
+++ b/skypy/power_spectrum/tests/data/truth_bird.txt
@@ -1,100 +1,5 @@
-4.307269013457246842e+02 2.566372050509418727e+02 1.600445443906299090e+02 1.068589186525389323e+02 7.569654554520784018e+01
-4.930899095542520172e+02 2.937956056329187504e+02 1.832177624840515477e+02 1.223314481262159887e+02 8.665703142299147999e+01
-5.644705908182455687e+02 3.363274322722764964e+02 2.097421643284513095e+02 1.400415870596666537e+02 9.920262866952434422e+01
-6.461672506949836361e+02 3.850064202318699813e+02 2.401003396046942271e+02 1.603115821133931718e+02 1.135616233049270392e+02
-7.396623643672360231e+02 4.407160951923852963e+02 2.748433694966484495e+02 1.835094205317375042e+02 1.299947074784229244e+02
-8.466473702082029149e+02 5.044645643480864692e+02 3.146000583896338867e+02 2.100549972085824777e+02 1.487993495300450491e+02
-9.690501620345186211e+02 5.774009212317585025e+02 3.600871743282839361e+02 2.404269562985884079e+02 1.703146423412462696e+02
-1.109065262440231209e+03 6.608332555390960579e+02 4.121206935247508341e+02 2.751702045410015103e+02 1.949266281074130234e+02
-1.269186480915614084e+03 7.562481532642976845e+02 4.716279783439352968e+02 3.149040495775216755e+02 2.230740666185803320e+02
-1.452241587671554498e+03 8.653314105663698683e+02 5.396607175017364852e+02 3.603308494307695469e+02 2.552545666433662177e+02
-1.661428132569519903e+03 9.899894463399404003e+02 6.174083088458933162e+02 4.122449603904642004e+02 2.920309300027826112e+02
-1.900348965943235271e+03 1.132370558246708697e+03 7.062111533280722142e+02 4.715416293390209148e+02 3.340374579648135409e+02
-2.173045225806472899e+03 1.294884696033375121e+03 8.075730355762785848e+02 5.392252809910291944e+02 3.819858311552784471e+02
-2.484023493511534980e+03 1.480219794240075544e+03 9.231713730757762733e+02 6.164163880928063008e+02 4.366699883892551952e+02
-2.838272443883833148e+03 1.691351887938967593e+03 1.054863606160904965e+03 7.043557725019380769e+02 4.989691890066966948e+02
-3.241262604912159077e+03 1.931545217139445867e+03 1.204687366784980668e+03 8.044047618659324144e+02 5.698481436281476817e+02
-3.698920820032097254e+03 2.204337321951985814e+03 1.374851314019202846e+03 9.180391260833532669e+02 6.503527437803829798e+02
-4.217568772419810557e+03 2.513502800514278988e+03 1.567712695095607842e+03 1.046834164280719961e+03 7.415995288474113067e+02
-4.803812695735952730e+03 2.862988069880992498e+03 1.785736860207064865e+03 1.192437758434088892e+03 8.447566358997962652e+02
-5.464369511237957340e+03 3.256808345636588001e+03 2.031433257330329070e+03 1.356527740760672714e+03 9.610136455321628546e+02
-6.205813602138261558e+03 3.698897439208063133e+03 2.307262046995361743e+03 1.540749663260740590e+03 1.091537553103515620e+03
-7.034228892064775209e+03 4.192901237298452543e+03 2.615505639420132411e+03 1.746631164826466829e+03 1.237412169765083718e+03
-7.954753498732950902e+03 4.741907270532071379e+03 2.958100413777570338e+03 1.975469768178839104e+03 1.399558707394340217e+03
-8.971009518700651824e+03 5.348105915979500423e+03 3.336425829496752158e+03 2.228192237462644698e+03 1.578636219252471847e+03
-1.008441863920382275e+04 6.012383616720258942e+03 3.751051148628974715e+03 2.505185631597579686e+03 1.774921984707324555e+03
-1.129341484491272786e+04 6.733854792146437831e+03 4.201443901728283890e+03 2.806102794957200331e+03 1.988173768034433124e+03
-1.259257728963055888e+04 7.509346144892929260e+03 4.685648605260679687e+03 3.129647940231665416e+03 2.217477938413597258e+03
-1.397171741819885392e+04 8.332853648301292196e+03 5.199948331523130037e+03 3.473350700936650355e+03 2.461089357820826990e+03
-1.541496196479661194e+04 9.194997024154421524e+03 5.738524545952745029e+03 3.833338897162211651e+03 2.716270253373651485e+03
-1.689987449346785797e+04 1.008249718161225610e+04 6.293131028155137756e+03 4.204120509989336824e+03 2.979135453639252319e+03
-1.839664989941351814e+04 1.097769718486012607e+04 6.852794610808294237e+03 4.578383279968901661e+03 3.244509876566112325e+03
-1.986739749739583203e+04 1.185813599158647048e+04 7.403548342518211939e+03 4.946815553053824260e+03 3.505800743260301260e+03
-2.126550274199267733e+04 1.269616845782909695e+04 7.928192696512293878e+03 5.297945279809251588e+03 3.754882221113598916e+03
-2.253504322580065127e+04 1.345861519558747386e+04 8.406073899882243495e+03 5.617989622032812804e+03 3.981987058556846478e+03
-2.361028473725260847e+04 1.410645287036274385e+04 8.812884574901814631e+03 5.890718269356811106e+03 4.175607392252891259e+03
-2.441552547880502607e+04 1.459469472687603047e+04 9.120577506390171038e+03 6.097390631855999345e+03 4.322447545207881376e+03
-2.486623482817330296e+04 1.487300817929185723e+04 9.297729594801439816e+03 6.216991570065852102e+03 4.407588637689520510e+03
-2.487384749385593022e+04 1.488845542425277199e+04 9.311216494063448408e+03 6.227340590201335544e+03 4.415273802255197552e+03
-2.435859293537778285e+04 1.459296348951615801e+04 9.130825943432868371e+03 6.108164330571360551e+03 4.331088535249802590e+03
-2.327540438318622546e+04 1.395859700686417273e+04 8.738749174250617216e+03 5.847434943998574454e+03 4.146461355776842538e+03
-2.165197393134290178e+04 1.300027678509019097e+04 8.143783249262372010e+03 5.450875265940903773e+03 3.865413324015332819e+03
-1.962073978624396477e+04 1.179534941385216553e+04 7.393698588420975284e+03 4.950267251363956348e+03 3.510456265449885450e+03
-1.740985921237814546e+04 1.047915037160502106e+04 6.572736103625030410e+03 4.401841015991898530e+03 3.121447252850642144e+03
-1.527635727521488116e+04 9.205964332040335648e+03 5.777456432525072159e+03 3.870174794662428212e+03 2.744159312352199777e+03
-1.342066657546548049e+04 8.098213693630070338e+03 5.085049674463397423e+03 3.407006406911242266e+03 2.415241394620433312e+03
-1.193544634075051363e+04 7.215480057051692711e+03 4.533870682606760056e+03 3.038179881879046661e+03 2.152948451643580938e+03
-1.076823790719756289e+04 6.530223487369859868e+03 4.107751593626251633e+03 2.753039836680869030e+03 1.949631091664078895e+03
-9.663874283269122316e+03 5.885948990063721794e+03 3.707847525826492983e+03 2.485234047650671528e+03 1.758267355012300413e+03
-8.260333090039557646e+03 5.044945988897807183e+03 3.179709040644539982e+03 2.130371433070030889e+03 1.505284372814509652e+03
-6.567593631768332671e+03 3.996285669519063049e+03 2.511587581916398904e+03 1.679719373012314918e+03 1.184971322640226845e+03
-5.196248783916698812e+03 3.138532618495913539e+03 1.962256803655259546e+03 1.308204710525487144e+03 9.207559942835440552e+02
-4.465262712763136733e+03 2.703322226465698350e+03 1.689280713546306515e+03 1.123809432986656475e+03 7.883868321718200605e+02
-3.771825174973546382e+03 2.284516461570183765e+03 1.425586879613462315e+03 9.455095617259846676e+02 6.605016427043894964e+02
-2.940839819393791004e+03 1.742566985655430926e+03 1.072238293025411167e+03 7.048852048445424998e+02 4.895449236646347799e+02
-2.477118534366473341e+03 1.458781625614147742e+03 8.935138705849365124e+02 5.840099203465522351e+02 4.027971073758608895e+02
-2.028957449640702407e+03 1.169413988777075701e+03 7.065885390313513881e+02 4.569945990888368783e+02 3.123285711312957460e+02
-1.690079789383751859e+03 9.522511019116781199e+02 5.674122888755709937e+02 3.628005742294832885e+02 2.452652382576368382e+02
-1.410148845149354429e+03 7.692036685063405912e+02 4.489611812225294898e+02 2.826056365581287650e+02 1.884701795340540968e+02
-1.199399958480103578e+03 6.349400277239973320e+02 3.637364292755124779e+02 2.255030917469377698e+02 1.481485424898141616e+02
-1.025477489343606067e+03 5.232468096408149449e+02 2.923767303288539665e+02 1.777726156525733643e+02 1.147177676775025645e+02
-8.854781345671450481e+02 4.351050906456204075e+02 2.366147856253086275e+02 1.407917593998938344e+02 8.903896084745807116e+01
-7.708918638170872555e+02 3.652323721913830354e+02 1.931091021424126382e+02 1.122804390005792214e+02 6.945575653171330544e+01
-6.749430720288331713e+02 3.090758249523728409e+02 1.588462794702028589e+02 9.015202284365858532e+01 5.446072647654650467e+01
-5.928357729227226400e+02 2.633838347258957242e+02 1.317047622042278476e+02 7.294670747710922853e+01 4.299294637500825900e+01
-5.210829556534134781e+02 2.256570314627952598e+02 1.100269735689040971e+02 5.952052646115501489e+01 3.422172045997492518e+01
-4.572146441464641953e+02 1.939819941788163931e+02 9.250234001102158743e+01 4.895912976027293695e+01 2.748441671661727526e+01
-3.995665866901977097e+02 1.669623193643859906e+02 7.815578644855651191e+01 4.057879347212503518e+01 2.228480538445809245e+01
-3.470623371602093243e+02 1.435775361937998298e+02 6.624888978176419130e+01 3.385500865088642541e+01 1.824176197503834373e+01
-2.990602734437238723e+02 1.230982672953774539e+02 5.623262680172326355e+01 2.839192878973010892e+01 1.506672133534975977e+01
-2.552307844480522760e+02 1.050122907709820765e+02 4.770252659771870185e+01 2.389233961435146014e+01 1.254189181682893484e+01
-2.154544821452882388e+02 8.896734536890564016e+01 4.036484738213990653e+01 2.013609333344681573e+01 1.050475166946161210e+01
-1.797288756738040547e+02 7.472574349853043429e+01 3.400791223610865188e+01 1.696159941662111237e+01 8.834914366482303549e+00
-1.480802602322040968e+02 6.212947771672407526e+01 2.847978148530639686e+01 1.425177420199413625e+01 7.444345116358795700e+00
-1.204892768208950002e+02 5.107206029081356036e+01 2.367044702482261798e+01 1.192262152944657494e+01 6.269572851132196867e+00
-9.684426413622729513e+01 4.147408580838982317e+01 1.949821634567302553e+01 9.914077758655523098e+00 5.265582628650760988e+00
-7.692843971844459361e+01 3.326128359702440918e+01 1.589972877787024963e+01 8.182627753324782205e+00 4.400928027054657576e+00
-6.043374424126144362e+01 2.634720144665046604e+01 1.282292020930636767e+01 6.695508158014927602e+00 3.653793195195512045e+00
-4.698885891392644965e+01 2.062447142473543238e+01 1.022194970536965819e+01 5.426450687485676383e+00 3.008861155689652289e+00
-3.619130953744849677e+01 1.596609704321752687e+01 8.053200643496714051e+00 4.352848395873063936e+00 2.454866823349546756e+00
-2.763692728960397105e+01 1.223350221668543902e+01 6.272260545448747671e+00 3.454122160078960224e+00 1.982791706105456520e+00
-2.094270840202186434e+01 9.286250008171895942e+00 4.832578681816528388e+00 2.710889819763047104e+00 1.584657531211403514e+00
-1.576181945925353745e+01 6.990175125066887318e+00 3.686255867226801541e+00 2.104521166381269293e+00 1.252853042915384130e+00
-1.179144917372067525e+01 5.222981950427214137e+00 2.786253601591068829e+00 1.616873882018566411e+00 9.798754621146523736e-01
-8.775065012182748703e+00 3.877434660403003441e+00 2.088676122513974942e+00 1.230285159011821117e+00 7.583249627345184374e-01
-6.500762336011747244e+00 2.862550559093461455e+00 1.554291387860955664e+00 9.279174278483200977e-01 5.810007025587953233e-01
-4.797203433029175734e+00 2.103281537441191062e+00 1.149219348942160934e+00 6.943053719891815190e-01 4.410184655114193220e-01
-3.528341362750625265e+00 1.539187485111150000e+00 8.450248268484529257e-01 5.158032599984636590e-01 3.319453540496589694e-01
-2.587798156287789197e+00 1.122562906016414619e+00 6.184327778808454967e-01 3.807723487546819108e-01 2.479537214738308237e-01
-1.893467228177847961e+00 8.163806260104576884e-01 4.508121891336519527e-01 2.795448463487534285e-01 1.839516195976669821e-01
-1.382664253624534823e+00 5.922989298620008336e-01 3.275378560290994057e-01 2.042629483474907026e-01 1.356379967262777986e-01
-1.007969648484281722e+00 4.288724108388075051e-01 2.373187605403186684e-01 1.486628057895998112e-01 9.947598587554040694e-02
-7.337855196135111280e-01 3.100271948296682289e-01 1.715583980231222549e-01 1.078392854794387457e-01 7.261564961220443037e-02
-5.335591340181766729e-01 2.238093360641297547e-01 1.237863571894008280e-01 7.801202190343449472e-02 5.279876712406497696e-02
-3.875900097483609974e-01 1.613858595998066692e-01 8.917794899880705783e-02 5.630738044088808708e-02 3.826322277083853141e-02
-2.813263320321804928e-01 1.162643948373295461e-01 6.416302411290354668e-02 4.056606942237907937e-02 2.765365904604897423e-02
-2.040589100085554164e-01 8.369368341424217317e-02 4.611616172058426166e-02 2.918090436874877514e-02 1.994110947691092942e-02
-1.479305405369756576e-01 6.020907527345398247e-02 3.311644657928903418e-02 2.096484709447135608e-02 1.435320562548800596e-02
-1.071910855231500148e-01 4.329154661049863101e-02 2.376422247196396248e-02 1.504663881063740376e-02 1.031566935668742739e-02
-7.764124920212671366e-02 3.111402825430063107e-02 1.704307884652621688e-02 1.079002170753740920e-02 7.404817951845461127e-03
-5.621963589264222100e-02 2.235396226917294241e-02 1.221694350330704976e-02 7.732250577483334129e-03 5.310034910426884858e-03
+4.307269013457246842e+02 4.930899095542520172e+02 5.644705908182455687e+02 6.461672506949836361e+02 7.396623643672360231e+02 8.466473702082029149e+02 9.690501620345186211e+02 1.109065262440231209e+03 1.269186480915614084e+03 1.452241587671554498e+03 1.661428132569519903e+03 1.900348965943235271e+03 2.173045225806472899e+03 2.484023493511534980e+03 2.838272443883833148e+03 3.241262604912159077e+03 3.698920820032097254e+03 4.217568772419810557e+03 4.803812695735952730e+03 5.464369511237957340e+03 6.205813602138261558e+03 7.034228892064775209e+03 7.954753498732950902e+03 8.971009518700651824e+03 1.008441863920382275e+04 1.129341484491272786e+04 1.259257728963055888e+04 1.397171741819885392e+04 1.541496196479661194e+04 1.689987449346785797e+04 1.839664989941351814e+04 1.986739749739583203e+04 2.126550274199267733e+04 2.253504322580065127e+04 2.361028473725260847e+04 2.441552547880502607e+04 2.486623482817330296e+04 2.487384749385593022e+04 2.435859293537778285e+04 2.327540438318622546e+04 2.165197393134290178e+04 1.962073978624396477e+04 1.740985921237814546e+04 1.527635727521488116e+04 1.342066657546548049e+04 1.193544634075051363e+04 1.076823790719756289e+04 9.663874283269122316e+03 8.260333090039557646e+03 6.567593631768332671e+03 5.196248783916698812e+03 4.465262712763136733e+03 3.771825174973546382e+03 2.940839819393791004e+03 2.477118534366473341e+03 2.028957449640702407e+03 1.690079789383751859e+03 1.410148845149354429e+03 1.199399958480103578e+03 1.025477489343606067e+03 8.854781345671450481e+02 7.708918638170872555e+02 6.749430720288331713e+02 5.928357729227226400e+02 5.210829556534134781e+02 4.572146441464641953e+02 3.995665866901977097e+02 3.470623371602093243e+02 2.990602734437238723e+02 2.552307844480522760e+02 2.154544821452882388e+02 1.797288756738040547e+02 1.480802602322040968e+02 1.204892768208950002e+02 9.684426413622729513e+01 7.692843971844459361e+01 6.043374424126144362e+01 4.698885891392644965e+01 3.619130953744849677e+01 2.763692728960397105e+01 2.094270840202186434e+01 1.576181945925353745e+01 1.179144917372067525e+01 8.775065012182748703e+00 6.500762336011747244e+00 4.797203433029175734e+00 3.528341362750625265e+00 2.587798156287789197e+00 1.893467228177847961e+00 1.382664253624534823e+00 1.007969648484281722e+00 7.337855196135111280e-01 5.335591340181766729e-01 3.875900097483609974e-01 2.813263320321804928e-01 2.040589100085554164e-01 1.479305405369756576e-01 1.071910855231500148e-01 7.764124920212671366e-02 5.621963589264222100e-02
+2.566372050509418727e+02 2.937956056329187504e+02 3.363274322722764964e+02 3.850064202318699813e+02 4.407160951923852963e+02 5.044645643480864692e+02 5.774009212317585025e+02 6.608332555390960579e+02 7.562481532642976845e+02 8.653314105663698683e+02 9.899894463399404003e+02 1.132370558246708697e+03 1.294884696033375121e+03 1.480219794240075544e+03 1.691351887938967593e+03 1.931545217139445867e+03 2.204337321951985814e+03 2.513502800514278988e+03 2.862988069880992498e+03 3.256808345636588001e+03 3.698897439208063133e+03 4.192901237298452543e+03 4.741907270532071379e+03 5.348105915979500423e+03 6.012383616720258942e+03 6.733854792146437831e+03 7.509346144892929260e+03 8.332853648301292196e+03 9.194997024154421524e+03 1.008249718161225610e+04 1.097769718486012607e+04 1.185813599158647048e+04 1.269616845782909695e+04 1.345861519558747386e+04 1.410645287036274385e+04 1.459469472687603047e+04 1.487300817929185723e+04 1.488845542425277199e+04 1.459296348951615801e+04 1.395859700686417273e+04 1.300027678509019097e+04 1.179534941385216553e+04 1.047915037160502106e+04 9.205964332040335648e+03 8.098213693630070338e+03 7.215480057051692711e+03 6.530223487369859868e+03 5.885948990063721794e+03 5.044945988897807183e+03 3.996285669519063049e+03 3.138532618495913539e+03 2.703322226465698350e+03 2.284516461570183765e+03 1.742566985655430926e+03 1.458781625614147742e+03 1.169413988777075701e+03 9.522511019116781199e+02 7.692036685063405912e+02 6.349400277239973320e+02 5.232468096408149449e+02 4.351050906456204075e+02 3.652323721913830354e+02 3.090758249523728409e+02 2.633838347258957242e+02 2.256570314627952598e+02 1.939819941788163931e+02 1.669623193643859906e+02 1.435775361937998298e+02 1.230982672953774539e+02 1.050122907709820765e+02 8.896734536890564016e+01 7.472574349853043429e+01 6.212947771672407526e+01 5.107206029081356036e+01 4.147408580838982317e+01 3.326128359702440918e+01 2.634720144665046604e+01 2.062447142473543238e+01 1.596609704321752687e+01 1.223350221668543902e+01 9.286250008171895942e+00 6.990175125066887318e+00 5.222981950427214137e+00 3.877434660403003441e+00 2.862550559093461455e+00 2.103281537441191062e+00 1.539187485111150000e+00 1.122562906016414619e+00 8.163806260104576884e-01 5.922989298620008336e-01 4.288724108388075051e-01 3.100271948296682289e-01 2.238093360641297547e-01 1.613858595998066692e-01 1.162643948373295461e-01 8.369368341424217317e-02 6.020907527345398247e-02 4.329154661049863101e-02 3.111402825430063107e-02 2.235396226917294241e-02
+1.600445443906299090e+02 1.832177624840515477e+02 2.097421643284513095e+02 2.401003396046942271e+02 2.748433694966484495e+02 3.146000583896338867e+02 3.600871743282839361e+02 4.121206935247508341e+02 4.716279783439352968e+02 5.396607175017364852e+02 6.174083088458933162e+02 7.062111533280722142e+02 8.075730355762785848e+02 9.231713730757762733e+02 1.054863606160904965e+03 1.204687366784980668e+03 1.374851314019202846e+03 1.567712695095607842e+03 1.785736860207064865e+03 2.031433257330329070e+03 2.307262046995361743e+03 2.615505639420132411e+03 2.958100413777570338e+03 3.336425829496752158e+03 3.751051148628974715e+03 4.201443901728283890e+03 4.685648605260679687e+03 5.199948331523130037e+03 5.738524545952745029e+03 6.293131028155137756e+03 6.852794610808294237e+03 7.403548342518211939e+03 7.928192696512293878e+03 8.406073899882243495e+03 8.812884574901814631e+03 9.120577506390171038e+03 9.297729594801439816e+03 9.311216494063448408e+03 9.130825943432868371e+03 8.738749174250617216e+03 8.143783249262372010e+03 7.393698588420975284e+03 6.572736103625030410e+03 5.777456432525072159e+03 5.085049674463397423e+03 4.533870682606760056e+03 4.107751593626251633e+03 3.707847525826492983e+03 3.179709040644539982e+03 2.511587581916398904e+03 1.962256803655259546e+03 1.689280713546306515e+03 1.425586879613462315e+03 1.072238293025411167e+03 8.935138705849365124e+02 7.065885390313513881e+02 5.674122888755709937e+02 4.489611812225294898e+02 3.637364292755124779e+02 2.923767303288539665e+02 2.366147856253086275e+02 1.931091021424126382e+02 1.588462794702028589e+02 1.317047622042278476e+02 1.100269735689040971e+02 9.250234001102158743e+01 7.815578644855651191e+01 6.624888978176419130e+01 5.623262680172326355e+01 4.770252659771870185e+01 4.036484738213990653e+01 3.400791223610865188e+01 2.847978148530639686e+01 2.367044702482261798e+01 1.949821634567302553e+01 1.589972877787024963e+01 1.282292020930636767e+01 1.022194970536965819e+01 8.053200643496714051e+00 6.272260545448747671e+00 4.832578681816528388e+00 3.686255867226801541e+00 2.786253601591068829e+00 2.088676122513974942e+00 1.554291387860955664e+00 1.149219348942160934e+00 8.450248268484529257e-01 6.184327778808454967e-01 4.508121891336519527e-01 3.275378560290994057e-01 2.373187605403186684e-01 1.715583980231222549e-01 1.237863571894008280e-01 8.917794899880705783e-02 6.416302411290354668e-02 4.611616172058426166e-02 3.311644657928903418e-02 2.376422247196396248e-02 1.704307884652621688e-02 1.221694350330704976e-02
+1.068589186525389323e+02 1.223314481262159887e+02 1.400415870596666537e+02 1.603115821133931718e+02 1.835094205317375042e+02 2.100549972085824777e+02 2.404269562985884079e+02 2.751702045410015103e+02 3.149040495775216755e+02 3.603308494307695469e+02 4.122449603904642004e+02 4.715416293390209148e+02 5.392252809910291944e+02 6.164163880928063008e+02 7.043557725019380769e+02 8.044047618659324144e+02 9.180391260833532669e+02 1.046834164280719961e+03 1.192437758434088892e+03 1.356527740760672714e+03 1.540749663260740590e+03 1.746631164826466829e+03 1.975469768178839104e+03 2.228192237462644698e+03 2.505185631597579686e+03 2.806102794957200331e+03 3.129647940231665416e+03 3.473350700936650355e+03 3.833338897162211651e+03 4.204120509989336824e+03 4.578383279968901661e+03 4.946815553053824260e+03 5.297945279809251588e+03 5.617989622032812804e+03 5.890718269356811106e+03 6.097390631855999345e+03 6.216991570065852102e+03 6.227340590201335544e+03 6.108164330571360551e+03 5.847434943998574454e+03 5.450875265940903773e+03 4.950267251363956348e+03 4.401841015991898530e+03 3.870174794662428212e+03 3.407006406911242266e+03 3.038179881879046661e+03 2.753039836680869030e+03 2.485234047650671528e+03 2.130371433070030889e+03 1.679719373012314918e+03 1.308204710525487144e+03 1.123809432986656475e+03 9.455095617259846676e+02 7.048852048445424998e+02 5.840099203465522351e+02 4.569945990888368783e+02 3.628005742294832885e+02 2.826056365581287650e+02 2.255030917469377698e+02 1.777726156525733643e+02 1.407917593998938344e+02 1.122804390005792214e+02 9.015202284365858532e+01 7.294670747710922853e+01 5.952052646115501489e+01 4.895912976027293695e+01 4.057879347212503518e+01 3.385500865088642541e+01 2.839192878973010892e+01 2.389233961435146014e+01 2.013609333344681573e+01 1.696159941662111237e+01 1.425177420199413625e+01 1.192262152944657494e+01 9.914077758655523098e+00 8.182627753324782205e+00 6.695508158014927602e+00 5.426450687485676383e+00 4.352848395873063936e+00 3.454122160078960224e+00 2.710889819763047104e+00 2.104521166381269293e+00 1.616873882018566411e+00 1.230285159011821117e+00 9.279174278483200977e-01 6.943053719891815190e-01 5.158032599984636590e-01 3.807723487546819108e-01 2.795448463487534285e-01 2.042629483474907026e-01 1.486628057895998112e-01 1.078392854794387457e-01 7.801202190343449472e-02 5.630738044088808708e-02 4.056606942237907937e-02 2.918090436874877514e-02 2.096484709447135608e-02 1.504663881063740376e-02 1.079002170753740920e-02 7.732250577483334129e-03
+7.569654554520784018e+01 8.665703142299147999e+01 9.920262866952434422e+01 1.135616233049270392e+02 1.299947074784229244e+02 1.487993495300450491e+02 1.703146423412462696e+02 1.949266281074130234e+02 2.230740666185803320e+02 2.552545666433662177e+02 2.920309300027826112e+02 3.340374579648135409e+02 3.819858311552784471e+02 4.366699883892551952e+02 4.989691890066966948e+02 5.698481436281476817e+02 6.503527437803829798e+02 7.415995288474113067e+02 8.447566358997962652e+02 9.610136455321628546e+02 1.091537553103515620e+03 1.237412169765083718e+03 1.399558707394340217e+03 1.578636219252471847e+03 1.774921984707324555e+03 1.988173768034433124e+03 2.217477938413597258e+03 2.461089357820826990e+03 2.716270253373651485e+03 2.979135453639252319e+03 3.244509876566112325e+03 3.505800743260301260e+03 3.754882221113598916e+03 3.981987058556846478e+03 4.175607392252891259e+03 4.322447545207881376e+03 4.407588637689520510e+03 4.415273802255197552e+03 4.331088535249802590e+03 4.146461355776842538e+03 3.865413324015332819e+03 3.510456265449885450e+03 3.121447252850642144e+03 2.744159312352199777e+03 2.415241394620433312e+03 2.152948451643580938e+03 1.949631091664078895e+03 1.758267355012300413e+03 1.505284372814509652e+03 1.184971322640226845e+03 9.207559942835440552e+02 7.883868321718200605e+02 6.605016427043894964e+02 4.895449236646347799e+02 4.027971073758608895e+02 3.123285711312957460e+02 2.452652382576368382e+02 1.884701795340540968e+02 1.481485424898141616e+02 1.147177676775025645e+02 8.903896084745807116e+01 6.945575653171330544e+01 5.446072647654650467e+01 4.299294637500825900e+01 3.422172045997492518e+01 2.748441671661727526e+01 2.228480538445809245e+01 1.824176197503834373e+01 1.506672133534975977e+01 1.254189181682893484e+01 1.050475166946161210e+01 8.834914366482303549e+00 7.444345116358795700e+00 6.269572851132196867e+00 5.265582628650760988e+00 4.400928027054657576e+00 3.653793195195512045e+00 3.008861155689652289e+00 2.454866823349546756e+00 1.982791706105456520e+00 1.584657531211403514e+00 1.252853042915384130e+00 9.798754621146523736e-01 7.583249627345184374e-01 5.810007025587953233e-01 4.410184655114193220e-01 3.319453540496589694e-01 2.479537214738308237e-01 1.839516195976669821e-01 1.356379967262777986e-01 9.947598587554040694e-02 7.261564961220443037e-02 5.279876712406497696e-02 3.826322277083853141e-02 2.765365904604897423e-02 1.994110947691092942e-02 1.435320562548800596e-02 1.031566935668742739e-02 7.404817951845461127e-03 5.310034910426884858e-03
diff --git a/skypy/power_spectrum/tests/data/truth_smith.txt b/skypy/power_spectrum/tests/data/truth_smith.txt
index 8396b9e..7eb1ada 100644
--- a/skypy/power_spectrum/tests/data/truth_smith.txt
+++ b/skypy/power_spectrum/tests/data/truth_smith.txt
@@ -1,100 +1,5 @@
-4.307268924531355196e+02 2.566372070647824444e+02 1.600445454886789491e+02 1.068589188878538749e+02 7.569654554222167064e+01
-4.930898975252965215e+02 2.937956082549575285e+02 1.832177639030060448e+02 1.223314484124126409e+02 8.665703140076294630e+01
-5.644705745323444717e+02 3.363274356739386803e+02 2.097421661538284638e+02 1.400415874001882628e+02 9.920262861245024055e+01
-6.461672286240507219e+02 3.850064246260228629e+02 2.401003419400704502e+02 1.603115825061008195e+02 1.135616231875471698e+02
-7.396623344240108509e+02 4.407161008392331496e+02 2.748433724645088887e+02 1.835094209636677078e+02 1.299947072597673525e+02
-8.466473295364911564e+02 5.044645715590253303e+02 3.146000621299231170e+02 2.100549976472497633e+02 1.487993491448931138e+02
-9.690501067183487294e+02 5.774009303684969154e+02 3.600871789925964208e+02 2.404269566778199874e+02 1.703146416866574100e+02
-1.109065187099530249e+03 6.608332670034329794e+02 4.121206992627674595e+02 2.751702047381854754e+02 1.949266270220325907e+02
-1.269186378142639114e+03 7.562481674709129038e+02 4.716279852766159024e+02 3.149040493774637639e+02 2.230740648509327855e+02
-1.452241447243328366e+03 8.653314278862086439e+02 5.396607256725123989e+02 3.603308484687854047e+02 2.552545638033934665e+02
-1.661427940344499348e+03 9.899894669943378176e+02 6.174083181360579147e+02 4.122449580634386166e+02 2.920309254879463197e+02
-1.900348702312104933e+03 1.132370582120972813e+03 7.062111633148324472e+02 4.715416246672880334e+02 3.340374508476671167e+02
-2.173044863512668144e+03 1.294884722361138529e+03 8.075730453001588103e+02 5.392252724050856614e+02 3.819858200128091994e+02
-2.484022994580630893e+03 1.480219821083515853e+03 9.231713806663123023e+02 6.164163731056534061e+02 4.366699710444571565e+02
-2.838271755294170362e+03 1.691351911350992168e+03 1.054863608243006183e+03 7.043557472081972719e+02 4.989691621382403923e+02
-3.241261652491735731e+03 1.931545229836732233e+03 1.204687357548991486e+03 8.044047201798651940e+02 5.698481021824939035e+02
-3.698919499867241484e+03 2.204337311245250021e+03 1.374851283780088579e+03 9.180390585854337360e+02 6.503526800891851281e+02
-4.217566938798318006e+03 2.513502745125577349e+03 1.567712628083412710e+03 1.046834056480774507e+03 7.415994313072965269e+02
-4.803810144315382786e+03 2.862987935117602774e+03 1.785736731212292170e+03 1.192437588170634854e+03 8.447564870058025690e+02
-5.464365955738852790e+03 3.256808076178578176e+03 2.031433026662544535e+03 1.356527474331028998e+03 9.610134189625468935e+02
-6.205808642458262511e+03 3.698896948499309474e+03 2.307261652987914658e+03 1.540749249702308362e+03 1.091537209422325077e+03
-7.034221971411966479e+03 4.192900392220923095e+03 2.615504987415869891e+03 1.746630527531652660e+03 1.237411650127502071e+03
-7.954743847440484387e+03 4.741905869734218868e+03 2.958099360151757537e+03 1.975468792708408728e+03 1.399557924393697476e+03
-8.970996083303058185e+03 5.348103660024029523e+03 3.336424158818431351e+03 2.228190754010133787e+03 1.578635043721100374e+03
-1.008439999801260819e+04 6.012380068318095255e+03 3.751048541559980549e+03 2.505183390041592247e+03 1.774920226860842604e+03
-1.129338911721163640e+04 6.733849325518218393e+03 4.201439890784090494e+03 2.806099429823723312e+03 1.988171150820222920e+03
-1.259254205705160712e+04 7.509337885350612851e+03 4.685642515255811304e+03 3.129642922206254298e+03 2.217474060291238402e+03
-1.397166969722000249e+04 8.332841407389925735e+03 5.199939201651379335e+03 3.473343270895439218e+03 2.461083641493130017e+03
-1.541489830298934248e+04 9.194979243404755834e+03 5.738511031411903787e+03 3.833327978188506677e+03 2.716261876279684657e+03
-1.689979131369342213e+04 1.008247191063525679e+04 6.293111281599033646e+03 4.204104592793131815e+03 2.979123255485607842e+03
-1.839654428798639492e+04 1.097766213846122446e+04 6.852766148448641616e+03 4.578360278012604795e+03 3.244492239146854445e+03
-1.986726871873374694e+04 1.185808875572474244e+04 7.403507907234705272e+03 4.946782626300369884e+03 3.505775438935838338e+03
-2.126535483812315579e+04 1.269610694168860209e+04 7.928136141482349558e+03 5.297898631614168153e+03 3.754846229744550783e+03
-2.253488905730105034e+04 1.345853844428342018e+04 8.405996130777855797e+03 5.617924284254152553e+03 3.981936360456334569e+03
-2.361015159935536576e+04 1.410636233094699310e+04 8.812779604219087560e+03 5.890627909040604209e+03 4.175536760149389011e+03
-2.441546172541224223e+04 1.459459594429773097e+04 9.120438683067710372e+03 6.097267441977914132e+03 4.322350385863453084e+03
-2.486631541117378219e+04 1.487291260787819738e+04 9.297550061366824593e+03 6.216826347229060957e+03 4.407456977112778986e+03
-2.487417383802523545e+04 1.488838151935294627e+04 9.310989869241813722e+03 6.227123142119775366e+03 4.415098560019019715e+03
-2.435928017612599069e+04 1.459293565766150823e+04 9.130547112630281845e+03 6.107884350493817692e+03 4.330860250959804944e+03
-2.327655061839192058e+04 1.395864108315190788e+04 8.738414923747541252e+03 5.847083336827551648e+03 4.146171405217351094e+03
-2.165361805442990226e+04 1.300041277017523316e+04 8.143392422562437787e+03 5.450445496112046385e+03 3.865055252057541111e+03
-1.962283556616375063e+04 1.179558622742311491e+04 7.393251582426176356e+03 4.949755702844156986e+03 3.510026244985114317e+03
-1.741230059613273625e+04 1.047948904778120777e+04 6.572233696912924643e+03 4.401245211635934538e+03 3.120942499177726404e+03
-1.527905863525586574e+04 9.206410480489948895e+03 5.776897900315601873e+03 3.869489260814816589e+03 2.743574247525914870e+03
-1.342366198447084207e+04 8.098792878366159130e+03 5.084430169154232317e+03 3.406217264347990749e+03 2.414562673628659468e+03
-1.193896959892624000e+04 7.216250232059411246e+03 4.533178560788861432e+03 3.037259836327594257e+03 2.152150430956434775e+03
-1.077269347091320378e+04 6.531271458645319399e+03 4.106969054172840515e+03 2.751949166685053115e+03 1.948676758735185331e+03
-9.669380723427724661e+03 5.887313135566280835e+03 3.706961866080707296e+03 2.483945655575433193e+03 1.757131469621372162e+03
-8.265749528105183344e+03 5.046433552770399729e+03 3.178737492817685506e+03 2.128930625051486004e+03 1.504008597322270816e+03
-6.570931177289904554e+03 3.997547216703016602e+03 2.510596357717497085e+03 1.678252127553695345e+03 1.183667913587031308e+03
-5.197453799547990457e+03 3.139561900391413019e+03 1.961277083060902214e+03 1.306741056368453656e+03 9.194472054789081312e+02
-4.466210302796373981e+03 2.704380832301299506e+03 1.688187881683597425e+03 1.122176256201643810e+03 7.869241121442331632e+02
-3.772152735520938222e+03 2.285511303808846606e+03 1.424385605999264271e+03 9.437320696721025115e+02 6.589099940404860263e+02
-2.938908440860989231e+03 1.743271670977121630e+03 1.071146764640740230e+03 7.032337126683634096e+02 4.880480025843961585e+02
-2.474669128531984825e+03 1.459394622274818175e+03 8.923375464071239094e+02 5.822596297134774659e+02 4.012149126720584604e+02
-2.025642891775987891e+03 1.169929166911697166e+03 7.054619066893744730e+02 4.552918270922349961e+02 3.107803446117438853e+02
-1.686382479470304588e+03 9.527472197269701155e+02 5.663252623211387800e+02 3.611283546374926345e+02 2.437404219017894889e+02
-1.406286320224776546e+03 7.697754348222712224e+02 4.479988244488304190e+02 2.810376970202713665e+02 1.870263876458986942e+02
-1.195782657322279420e+03 6.356608109143477350e+02 3.628761365821521849e+02 2.240052880611867749e+02 1.467616270460216015e+02
-1.022270971493611114e+03 5.242121203221487349e+02 2.917039754964362714e+02 1.764130995204149031e+02 1.134377959578459638e+02
-8.828291567488212195e+02 4.363778885378634982e+02 2.361709650221392849e+02 1.395980508657663677e+02 8.788478427270899829e+01
-7.688408083713314909e+02 3.668417746739735321e+02 1.929258272383900135e+02 1.112753819475748429e+02 6.844225891513558224e+01
-6.734167349371214186e+02 3.110104485809366111e+02 1.589460242856839614e+02 8.935720349086699343e+01 5.360182254377985345e+01
-5.916586916884594984e+02 2.655837846866302812e+02 1.320907989079396145e+02 7.237526338827024119e+01 4.229714418071976922e+01
-5.199976980896733494e+02 2.280131925622416986e+02 1.106787982124160834e+02 5.917406451819297075e+01 3.369061053189702903e+01
-4.559135133833511873e+02 1.963426923006732352e+02 9.337498505863452181e+01 4.882703002251533775e+01 2.711270039021696476e+01
-3.977322815435029497e+02 1.691463525221310249e+02 7.918060640330755007e+01 4.063717196442842550e+01 2.205990053825261654e+01
-3.444118677656650789e+02 1.453936467006655846e+02 6.733876416561122369e+01 3.406832230293183983e+01 1.814497057429624149e+01
-2.953861350555572471e+02 1.243682539025089540e+02 5.728985466910523172e+01 2.871574675831018553e+01 1.507487471569938897e+01
-2.504326543522320776e+02 1.055945966000173399e+02 4.862868149996033651e+01 2.427702740314572338e+01 1.262925862195758420e+01
-2.095555439216587104e+02 8.877730754612444741e+01 4.107133534394322538e+01 2.053077514630150802e+01 1.064476314913351018e+01
-1.728730507604634283e+02 7.374868082728224294e+01 3.442608262145343900e+01 1.731819652545134858e+01 9.001623920025169312e+00
-1.405102565461263850e+02 6.042350662820458496e+01 2.856916059923916862e+01 1.452889839044627784e+01 7.613624062187170694e+00
-1.125098265927821473e+02 4.875937518261158488e+01 2.342358364769205181e+01 1.208912100010555157e+01 6.420184437960062773e+00
-8.877878963069832707e+01 3.872216598544438426e+01 1.894083763650656138e+01 9.951830780880669636e+00 5.380239579486063128e+00
-6.907873568814957821e+01 3.025816793225992996e+01 1.508572283763530741e+01 8.088012260198567560e+00 4.467322605073089647e+00
-5.305007979037982579e+01 2.327636888915649038e+01 1.182496820578950825e+01 6.479003691266574272e+00 3.665431125293586945e+00
-4.025348430063843352e+01 1.764434703487938094e+01 9.119917918658297040e+00 5.110166876342798759e+00 2.965418340465647340e+00
-3.021446068580046074e+01 1.319722319072422501e+01 6.923010817939688089e+00 3.966349446692774894e+00 2.361806499356021050e+00
-2.246248982072604150e+01 9.754045565665814266e+00 5.177532304073872105e+00 3.029463047482390259e+00 1.850151783932875826e+00
-1.656015298985475681e+01 7.134592581918813181e+00 3.820131567781743787e+00 2.278010983876620710e+00 1.425187108895539900e+00
-1.212104196316129467e+01 5.172192912078578786e+00 2.785263161702906221e+00 1.687939408797406227e+00 1.079909946057611148e+00
-8.817609251253863079e+00 3.721322948950293696e+00 2.010058906742148377e+00 1.234079979208950961e+00 8.055682003949958814e-01
-6.381396580455243495e+00 2.660571015263709427e+00 1.438114244220764171e+00 8.916904573179076365e-01 5.922611037834141223e-01
-4.598359600549411397e+00 1.892255194133234397e+00 1.021516989930042918e+00 6.378379042000109633e-01 4.297672118214306280e-01
-3.301649435334715221e+00 1.340042007465594542e+00 7.213014528012988702e-01 4.524207196726385272e-01 3.082911623010851088e-01
-2.363586489249736466e+00 9.456596298715985727e-01 5.068520600950924271e-01 3.186771611514723213e-01 2.189939025734843892e-01
-1.687927183687062849e+00 6.654509581220939829e-01 3.547633630385326198e-01 2.231989529683754969e-01 1.542969824575534943e-01
-1.203009738511493065e+00 4.671959996503354251e-01 2.475264780853942415e-01 1.556102158772473543e-01 1.079887483285981026e-01
-8.560059531933452703e-01 3.273996768213129349e-01 1.722672032410733634e-01 1.080890842578590694e-01 7.517055853999345116e-02
-6.082859937534358385e-01 2.290928403394646151e-01 1.196474241551674922e-01 7.485934696730291160e-02 5.209894317475911862e-02
-4.317874232116069577e-01 1.601131243797833392e-01 8.296654149057455796e-02 5.172407378999929056e-02 3.598356435433126138e-02
-3.062326423160630084e-01 1.117963823270008705e-01 5.745731268654837021e-02 3.567244573924009676e-02 2.478475128904975705e-02
-2.170322408451179630e-01 7.800043332819341091e-02 3.975074996509905118e-02 2.456604917794153950e-02 1.703415184231726540e-02
-1.537258462344259224e-01 5.438778394891596868e-02 2.747860719089641537e-02 1.689796459832801356e-02 1.168724536889349623e-02
-1.088346057088414032e-01 3.790479668540509134e-02 1.898306731580501686e-02 1.161279382077663215e-02 8.007897514648740223e-03
-7.702349878025624430e-02 2.640694362177795768e-02 1.310745045369341409e-02 7.974924767301149256e-03 5.481069532485032501e-03
-5.449377824405470666e-02 1.839108656400300496e-02 9.046823515999731502e-03 5.473569032761559268e-03 3.748450071894476442e-03
-3.854458849543985349e-02 1.280528281560912307e-02 6.242181881462068559e-03 3.755097378574730367e-03 2.561862103790463890e-03
-2.725795436662901972e-02 8.914259017347641451e-03 4.305939266274396576e-03 2.575251966350863668e-03 1.750002219125025267e-03
+4.307268924531355196e+02 4.930898975252965215e+02 5.644705745323444717e+02 6.461672286240507219e+02 7.396623344240108509e+02 8.466473295364911564e+02 9.690501067183487294e+02 1.109065187099530249e+03 1.269186378142639114e+03 1.452241447243328366e+03 1.661427940344499348e+03 1.900348702312104933e+03 2.173044863512668144e+03 2.484022994580630893e+03 2.838271755294170362e+03 3.241261652491735731e+03 3.698919499867241484e+03 4.217566938798318006e+03 4.803810144315382786e+03 5.464365955738852790e+03 6.205808642458262511e+03 7.034221971411966479e+03 7.954743847440484387e+03 8.970996083303058185e+03 1.008439999801260819e+04 1.129338911721163640e+04 1.259254205705160712e+04 1.397166969722000249e+04 1.541489830298934248e+04 1.689979131369342213e+04 1.839654428798639492e+04 1.986726871873374694e+04 2.126535483812315579e+04 2.253488905730105034e+04 2.361015159935536576e+04 2.441546172541224223e+04 2.486631541117378219e+04 2.487417383802523545e+04 2.435928017612599069e+04 2.327655061839192058e+04 2.165361805442990226e+04 1.962283556616375063e+04 1.741230059613273625e+04 1.527905863525586574e+04 1.342366198447084207e+04 1.193896959892624000e+04 1.077269347091320378e+04 9.669380723427724661e+03 8.265749528105183344e+03 6.570931177289904554e+03 5.197453799547990457e+03 4.466210302796373981e+03 3.772152735520938222e+03 2.938908440860989231e+03 2.474669128531984825e+03 2.025642891775987891e+03 1.686382479470304588e+03 1.406286320224776546e+03 1.195782657322279420e+03 1.022270971493611114e+03 8.828291567488212195e+02 7.688408083713314909e+02 6.734167349371214186e+02 5.916586916884594984e+02 5.199976980896733494e+02 4.559135133833511873e+02 3.977322815435029497e+02 3.444118677656650789e+02 2.953861350555572471e+02 2.504326543522320776e+02 2.095555439216587104e+02 1.728730507604634283e+02 1.405102565461263850e+02 1.125098265927821473e+02 8.877878963069832707e+01 6.907873568814957821e+01 5.305007979037982579e+01 4.025348430063843352e+01 3.021446068580046074e+01 2.246248982072604150e+01 1.656015298985475681e+01 1.212104196316129467e+01 8.817609251253863079e+00 6.381396580455243495e+00 4.598359600549411397e+00 3.301649435334715221e+00 2.363586489249736466e+00 1.687927183687062849e+00 1.203009738511493065e+00 8.560059531933452703e-01 6.082859937534358385e-01 4.317874232116069577e-01 3.062326423160630084e-01 2.170322408451179630e-01 1.537258462344259224e-01 1.088346057088414032e-01 7.702349878025624430e-02 5.449377824405470666e-02 3.854458849543985349e-02 2.725795436662901972e-02
+2.566372070647824444e+02 2.937956082549575285e+02 3.363274356739386803e+02 3.850064246260228629e+02 4.407161008392331496e+02 5.044645715590253303e+02 5.774009303684969154e+02 6.608332670034329794e+02 7.562481674709129038e+02 8.653314278862086439e+02 9.899894669943378176e+02 1.132370582120972813e+03 1.294884722361138529e+03 1.480219821083515853e+03 1.691351911350992168e+03 1.931545229836732233e+03 2.204337311245250021e+03 2.513502745125577349e+03 2.862987935117602774e+03 3.256808076178578176e+03 3.698896948499309474e+03 4.192900392220923095e+03 4.741905869734218868e+03 5.348103660024029523e+03 6.012380068318095255e+03 6.733849325518218393e+03 7.509337885350612851e+03 8.332841407389925735e+03 9.194979243404755834e+03 1.008247191063525679e+04 1.097766213846122446e+04 1.185808875572474244e+04 1.269610694168860209e+04 1.345853844428342018e+04 1.410636233094699310e+04 1.459459594429773097e+04 1.487291260787819738e+04 1.488838151935294627e+04 1.459293565766150823e+04 1.395864108315190788e+04 1.300041277017523316e+04 1.179558622742311491e+04 1.047948904778120777e+04 9.206410480489948895e+03 8.098792878366159130e+03 7.216250232059411246e+03 6.531271458645319399e+03 5.887313135566280835e+03 5.046433552770399729e+03 3.997547216703016602e+03 3.139561900391413019e+03 2.704380832301299506e+03 2.285511303808846606e+03 1.743271670977121630e+03 1.459394622274818175e+03 1.169929166911697166e+03 9.527472197269701155e+02 7.697754348222712224e+02 6.356608109143477350e+02 5.242121203221487349e+02 4.363778885378634982e+02 3.668417746739735321e+02 3.110104485809366111e+02 2.655837846866302812e+02 2.280131925622416986e+02 1.963426923006732352e+02 1.691463525221310249e+02 1.453936467006655846e+02 1.243682539025089540e+02 1.055945966000173399e+02 8.877730754612444741e+01 7.374868082728224294e+01 6.042350662820458496e+01 4.875937518261158488e+01 3.872216598544438426e+01 3.025816793225992996e+01 2.327636888915649038e+01 1.764434703487938094e+01 1.319722319072422501e+01 9.754045565665814266e+00 7.134592581918813181e+00 5.172192912078578786e+00 3.721322948950293696e+00 2.660571015263709427e+00 1.892255194133234397e+00 1.340042007465594542e+00 9.456596298715985727e-01 6.654509581220939829e-01 4.671959996503354251e-01 3.273996768213129349e-01 2.290928403394646151e-01 1.601131243797833392e-01 1.117963823270008705e-01 7.800043332819341091e-02 5.438778394891596868e-02 3.790479668540509134e-02 2.640694362177795768e-02 1.839108656400300496e-02 1.280528281560912307e-02 8.914259017347641451e-03
+1.600445454886789491e+02 1.832177639030060448e+02 2.097421661538284638e+02 2.401003419400704502e+02 2.748433724645088887e+02 3.146000621299231170e+02 3.600871789925964208e+02 4.121206992627674595e+02 4.716279852766159024e+02 5.396607256725123989e+02 6.174083181360579147e+02 7.062111633148324472e+02 8.075730453001588103e+02 9.231713806663123023e+02 1.054863608243006183e+03 1.204687357548991486e+03 1.374851283780088579e+03 1.567712628083412710e+03 1.785736731212292170e+03 2.031433026662544535e+03 2.307261652987914658e+03 2.615504987415869891e+03 2.958099360151757537e+03 3.336424158818431351e+03 3.751048541559980549e+03 4.201439890784090494e+03 4.685642515255811304e+03 5.199939201651379335e+03 5.738511031411903787e+03 6.293111281599033646e+03 6.852766148448641616e+03 7.403507907234705272e+03 7.928136141482349558e+03 8.405996130777855797e+03 8.812779604219087560e+03 9.120438683067710372e+03 9.297550061366824593e+03 9.310989869241813722e+03 9.130547112630281845e+03 8.738414923747541252e+03 8.143392422562437787e+03 7.393251582426176356e+03 6.572233696912924643e+03 5.776897900315601873e+03 5.084430169154232317e+03 4.533178560788861432e+03 4.106969054172840515e+03 3.706961866080707296e+03 3.178737492817685506e+03 2.510596357717497085e+03 1.961277083060902214e+03 1.688187881683597425e+03 1.424385605999264271e+03 1.071146764640740230e+03 8.923375464071239094e+02 7.054619066893744730e+02 5.663252623211387800e+02 4.479988244488304190e+02 3.628761365821521849e+02 2.917039754964362714e+02 2.361709650221392849e+02 1.929258272383900135e+02 1.589460242856839614e+02 1.320907989079396145e+02 1.106787982124160834e+02 9.337498505863452181e+01 7.918060640330755007e+01 6.733876416561122369e+01 5.728985466910523172e+01 4.862868149996033651e+01 4.107133534394322538e+01 3.442608262145343900e+01 2.856916059923916862e+01 2.342358364769205181e+01 1.894083763650656138e+01 1.508572283763530741e+01 1.182496820578950825e+01 9.119917918658297040e+00 6.923010817939688089e+00 5.177532304073872105e+00 3.820131567781743787e+00 2.785263161702906221e+00 2.010058906742148377e+00 1.438114244220764171e+00 1.021516989930042918e+00 7.213014528012988702e-01 5.068520600950924271e-01 3.547633630385326198e-01 2.475264780853942415e-01 1.722672032410733634e-01 1.196474241551674922e-01 8.296654149057455796e-02 5.745731268654837021e-02 3.975074996509905118e-02 2.747860719089641537e-02 1.898306731580501686e-02 1.310745045369341409e-02 9.046823515999731502e-03 6.242181881462068559e-03 4.305939266274396576e-03
+1.068589188878538749e+02 1.223314484124126409e+02 1.400415874001882628e+02 1.603115825061008195e+02 1.835094209636677078e+02 2.100549976472497633e+02 2.404269566778199874e+02 2.751702047381854754e+02 3.149040493774637639e+02 3.603308484687854047e+02 4.122449580634386166e+02 4.715416246672880334e+02 5.392252724050856614e+02 6.164163731056534061e+02 7.043557472081972719e+02 8.044047201798651940e+02 9.180390585854337360e+02 1.046834056480774507e+03 1.192437588170634854e+03 1.356527474331028998e+03 1.540749249702308362e+03 1.746630527531652660e+03 1.975468792708408728e+03 2.228190754010133787e+03 2.505183390041592247e+03 2.806099429823723312e+03 3.129642922206254298e+03 3.473343270895439218e+03 3.833327978188506677e+03 4.204104592793131815e+03 4.578360278012604795e+03 4.946782626300369884e+03 5.297898631614168153e+03 5.617924284254152553e+03 5.890627909040604209e+03 6.097267441977914132e+03 6.216826347229060957e+03 6.227123142119775366e+03 6.107884350493817692e+03 5.847083336827551648e+03 5.450445496112046385e+03 4.949755702844156986e+03 4.401245211635934538e+03 3.869489260814816589e+03 3.406217264347990749e+03 3.037259836327594257e+03 2.751949166685053115e+03 2.483945655575433193e+03 2.128930625051486004e+03 1.678252127553695345e+03 1.306741056368453656e+03 1.122176256201643810e+03 9.437320696721025115e+02 7.032337126683634096e+02 5.822596297134774659e+02 4.552918270922349961e+02 3.611283546374926345e+02 2.810376970202713665e+02 2.240052880611867749e+02 1.764130995204149031e+02 1.395980508657663677e+02 1.112753819475748429e+02 8.935720349086699343e+01 7.237526338827024119e+01 5.917406451819297075e+01 4.882703002251533775e+01 4.063717196442842550e+01 3.406832230293183983e+01 2.871574675831018553e+01 2.427702740314572338e+01 2.053077514630150802e+01 1.731819652545134858e+01 1.452889839044627784e+01 1.208912100010555157e+01 9.951830780880669636e+00 8.088012260198567560e+00 6.479003691266574272e+00 5.110166876342798759e+00 3.966349446692774894e+00 3.029463047482390259e+00 2.278010983876620710e+00 1.687939408797406227e+00 1.234079979208950961e+00 8.916904573179076365e-01 6.378379042000109633e-01 4.524207196726385272e-01 3.186771611514723213e-01 2.231989529683754969e-01 1.556102158772473543e-01 1.080890842578590694e-01 7.485934696730291160e-02 5.172407378999929056e-02 3.567244573924009676e-02 2.456604917794153950e-02 1.689796459832801356e-02 1.161279382077663215e-02 7.974924767301149256e-03 5.473569032761559268e-03 3.755097378574730367e-03 2.575251966350863668e-03
+7.569654554222167064e+01 8.665703140076294630e+01 9.920262861245024055e+01 1.135616231875471698e+02 1.299947072597673525e+02 1.487993491448931138e+02 1.703146416866574100e+02 1.949266270220325907e+02 2.230740648509327855e+02 2.552545638033934665e+02 2.920309254879463197e+02 3.340374508476671167e+02 3.819858200128091994e+02 4.366699710444571565e+02 4.989691621382403923e+02 5.698481021824939035e+02 6.503526800891851281e+02 7.415994313072965269e+02 8.447564870058025690e+02 9.610134189625468935e+02 1.091537209422325077e+03 1.237411650127502071e+03 1.399557924393697476e+03 1.578635043721100374e+03 1.774920226860842604e+03 1.988171150820222920e+03 2.217474060291238402e+03 2.461083641493130017e+03 2.716261876279684657e+03 2.979123255485607842e+03 3.244492239146854445e+03 3.505775438935838338e+03 3.754846229744550783e+03 3.981936360456334569e+03 4.175536760149389011e+03 4.322350385863453084e+03 4.407456977112778986e+03 4.415098560019019715e+03 4.330860250959804944e+03 4.146171405217351094e+03 3.865055252057541111e+03 3.510026244985114317e+03 3.120942499177726404e+03 2.743574247525914870e+03 2.414562673628659468e+03 2.152150430956434775e+03 1.948676758735185331e+03 1.757131469621372162e+03 1.504008597322270816e+03 1.183667913587031308e+03 9.194472054789081312e+02 7.869241121442331632e+02 6.589099940404860263e+02 4.880480025843961585e+02 4.012149126720584604e+02 3.107803446117438853e+02 2.437404219017894889e+02 1.870263876458986942e+02 1.467616270460216015e+02 1.134377959578459638e+02 8.788478427270899829e+01 6.844225891513558224e+01 5.360182254377985345e+01 4.229714418071976922e+01 3.369061053189702903e+01 2.711270039021696476e+01 2.205990053825261654e+01 1.814497057429624149e+01 1.507487471569938897e+01 1.262925862195758420e+01 1.064476314913351018e+01 9.001623920025169312e+00 7.613624062187170694e+00 6.420184437960062773e+00 5.380239579486063128e+00 4.467322605073089647e+00 3.665431125293586945e+00 2.965418340465647340e+00 2.361806499356021050e+00 1.850151783932875826e+00 1.425187108895539900e+00 1.079909946057611148e+00 8.055682003949958814e-01 5.922611037834141223e-01 4.297672118214306280e-01 3.082911623010851088e-01 2.189939025734843892e-01 1.542969824575534943e-01 1.079887483285981026e-01 7.517055853999345116e-02 5.209894317475911862e-02 3.598356435433126138e-02 2.478475128904975705e-02 1.703415184231726540e-02 1.168724536889349623e-02 8.007897514648740223e-03 5.481069532485032501e-03 3.748450071894476442e-03 2.561862103790463890e-03 1.750002219125025267e-03
diff --git a/skypy/power_spectrum/tests/data/truth_takahashi.txt b/skypy/power_spectrum/tests/data/truth_takahashi.txt
index 3821b05..7ccdde9 100644
--- a/skypy/power_spectrum/tests/data/truth_takahashi.txt
+++ b/skypy/power_spectrum/tests/data/truth_takahashi.txt
@@ -1,100 +1,5 @@
-4.307265640670998437e+02 2.566374549793677602e+02 1.600448095248837319e+02 1.068590681396608062e+02 7.569661560088660224e+01
-4.930894566634436842e+02 2.937959381880738192e+02 1.832181140972656692e+02 1.223316460795109890e+02 8.665712412121320085e+01
-5.644699826749822478e+02 3.363278747588973374e+02 2.097426306184939904e+02 1.400418491866120689e+02 9.920275132448260536e+01
-6.461664340624427041e+02 3.850070089716037955e+02 2.401009579590414091e+02 1.603119292089488965e+02 1.135617855914026677e+02
-7.396612677463605223e+02 4.407168784981828367e+02 2.748441894846869218e+02 1.835098801244325557e+02 1.299949221925355118e+02
-8.466458975703293390e+02 5.044656064779655367e+02 3.146011457278915486e+02 2.100556057382765687e+02 1.487996335945859983e+02
-9.690481844025078999e+02 5.774023076434120867e+02 3.600886161341001639e+02 2.404277619971090587e+02 1.703150181339045730e+02
-1.109062606579969952e+03 6.608350998717271523e+02 4.121226052757016305e+02 2.751712712416614863e+02 1.949271252150973908e+02
-1.269182914147416795e+03 7.562506066128376006e+02 4.716305130946259396e+02 3.149054617516602548e+02 2.230747241537352750e+02
-1.452236797473573006e+03 8.653346737965007378e+02 5.396640780864727276e+02 3.603327188442603983e+02 2.552554363010440284e+02
-1.661421699195238716e+03 9.899937864338784266e+02 6.174127640282739549e+02 4.122474348974250233e+02 2.920320800933119472e+02
-1.900340325677399733e+03 1.132376329987141844e+03 7.062170591633214372e+02 4.715449044924264399e+02 3.340389787300423450e+02
-2.173033621694780322e+03 1.294892370748510075e+03 8.075808636499572231e+02 5.392296153613460774e+02 3.819878417713579211e+02
-2.484007909367616776e+03 1.480229997873758066e+03 9.231817477986957101e+02 6.164221234591439043e+02 4.366726461815823086e+02
-2.838251516047000223e+03 1.691365451408511490e+03 1.054877353964017402e+03 7.043633604304251321e+02 4.989727015596757838e+02
-3.241234504552677208e+03 1.931563242835537039e+03 1.204705580900979839e+03 8.044147986324705926e+02 5.698527846710610447e+02
-3.698883096762272544e+03 2.204361271353182019e+03 1.374875439586798393e+03 9.180523984450588841e+02 6.503588739773073257e+02
-4.217518147641132600e+03 2.513534609252618793e+03 1.567744640587978438e+03 1.046851709254309981e+03 7.416076229167205156e+02
-4.803744791802210784e+03 2.863030298186096843e+03 1.785779142634125719e+03 1.192460940976926395e+03 8.447673178312820710e+02
-5.464278500806233751e+03 3.256864373798410270e+03 2.031489190166658545e+03 1.356558353994014624e+03 9.610277340316514483e+02
-6.205691762442397703e+03 3.698971719254930576e+03 2.307335981025174988e+03 1.540790056441992192e+03 1.091556119711737210e+03
-7.034066054108157914e+03 4.192999612882504152e+03 2.615603266999501557e+03 1.746684404288879477e+03 1.237436612233084588e+03
-7.954536396847890501e+03 4.742037375859893473e+03 2.958229145099687685e+03 1.975539835186776145e+03 1.399590840587212597e+03
-8.970721080979541512e+03 5.348277659340700666e+03 3.336595242958679137e+03 2.228284263066102540e+03 1.578678384615464438e+03
-1.008403732998496889e+04 6.012609740972447980e+03 3.751273502290708166e+03 2.505306159859875152e+03 1.774977176334740534e+03
-1.129291430269161174e+04 6.734151477224823793e+03 4.201734662523469524e+03 2.806260048712626030e+03 1.988245767281655617e+03
-1.259192673690367155e+04 7.509733566524773778e+03 4.686026896938557911e+03 3.129852032203881663e+03 2.217571437719482674e+03
-1.397088370933270562e+04 8.333356319195196193e+03 5.200437106962725011e+03 3.473613679713103011e+03 2.461210035050604347e+03
-1.541391475313140108e+04 9.195643602341226142e+03 5.739150136650830973e+03 3.833674432349369454e+03 2.716424726947648196e+03
-1.689859690651369237e+04 1.008331921959524152e+04 6.293921496163569827e+03 4.204542894450379208e+03 2.979331002578181142e+03
-1.839515833130610190e+04 1.097872600987671285e+04 6.853776021736013718e+03 4.578905257056580922e+03 3.244753747706088689e+03
-1.986577553125675331e+04 1.185939658908412821e+04 7.404737728671934747e+03 4.947444283459657527e+03 3.506098798232423633e+03
-2.126395531349316661e+04 1.269766901151056118e+04 7.929586221012993519e+03 5.298675620532538233e+03 3.755236626800945032e+03
-2.253397670315176583e+04 1.346033115230911244e+04 8.407628902935895894e+03 5.618793985877475279e+03 3.982392767788485344e+03
-2.361041404202426929e+04 1.410830573953881685e+04 8.814495487246986158e+03 5.891533057808501326e+03 4.176047444709057345e+03
-2.441799611533794450e+04 1.459652949186358273e+04 9.122049291480454485e+03 6.098101275102925683e+03 4.322888002467423576e+03
-2.487271952444912313e+04 1.487458068934260518e+04 9.298760039602373581e+03 6.217422465271039982e+03 4.407975590894411653e+03
-2.488653151181447174e+04 1.488945259512788107e+04 9.311410718664987144e+03 6.227262960123927769e+03 4.415537449346890753e+03
-2.437991796078946936e+04 1.459308833111326385e+04 9.129777116453391500e+03 6.107341069922797033e+03 4.331161608411184716e+03
-2.330747132843887084e+04 1.395773696546067367e+04 8.736208110460160242e+03 5.845715592169390220e+03 4.146316883102971588e+03
-2.169573485915516358e+04 1.299870772973169369e+04 8.139874065983102810e+03 5.448318296947064482e+03 3.865112942192857190e+03
-1.967554028770895457e+04 1.179382075265963249e+04 7.389024186377510887e+03 4.947203649151039826e+03 3.510176054140917131e+03
-1.747410093751401655e+04 1.047867168683310047e+04 6.568176692569712031e+03 4.398768771789787934e+03 3.121438484103347946e+03
-1.534950196352905368e+04 9.207292240966866302e+03 5.773630852942241290e+03 3.867463760089305651e+03 2.744635357564802234e+03
-1.350601701191330540e+04 8.101260743527091108e+03 5.081629919950226395e+03 3.404513382538053065e+03 2.416227704959256698e+03
-1.204305813980304629e+04 7.218916151502538014e+03 4.528974775694330674e+03 3.034890456357917628e+03 2.154138909412273733e+03
-1.091575058790722323e+04 6.531817883374426856e+03 4.097988791913282512e+03 2.747053491836332796e+03 1.950371969309190263e+03
-9.865142370597644913e+03 5.884961397291072899e+03 3.691026471389237486e+03 2.475282946129894754e+03 1.758130989010129269e+03
-8.492297563328149408e+03 5.045774792120902930e+03 3.161081404978128376e+03 2.119565129707965298e+03 1.505512761503495085e+03
-6.770065873078516233e+03 4.005368435461730314e+03 2.502323773652543423e+03 1.674903607979238132e+03 1.188238273359719187e+03
-5.364504445805525393e+03 3.154382033091373614e+03 1.961915175291856940e+03 1.309327874928307665e+03 9.270201331461443033e+02
-4.672297731354738971e+03 2.719093536384417803e+03 1.683822662900574414e+03 1.122151540948170350e+03 7.941443444678848209e+02
-4.005591448272348316e+03 2.301963040196355450e+03 1.416840122726524442e+03 9.419469237429468649e+02 6.659561129139799505e+02
-3.111675403075856593e+03 1.764399557270857940e+03 1.073751009408775417e+03 7.082216812562309087e+02 4.980278665293651557e+02
-2.660440224330383899e+03 1.482414913255337069e+03 8.927389887259163288e+02 5.856906842304076690e+02 4.107220714589107047e+02
-2.187252619884640353e+03 1.194975088935287204e+03 7.088238750199743663e+02 4.604666849814812508e+02 3.208873586949387686e+02
-1.832569945036744002e+03 9.793745005835763777e+02 5.710298145089752779e+02 3.667762738000701574e+02 2.537687582431594251e+02
-1.528529210865050118e+03 7.970833505947541653e+02 4.549951789413874508e+02 2.878046976019009549e+02 1.970726139392105836e+02
-1.304979309951210780e+03 6.635677861633905650e+02 3.705551773578180814e+02 2.306611573423447794e+02 1.562331264281119161e+02
-1.114433278860039763e+03 5.517910706982075908e+02 3.005005603741109894e+02 1.833661610952427452e+02 1.224233980805752253e+02
-9.605831502320733080e+02 4.631059936848866982e+02 2.456604652292004687e+02 1.466232123520373989e+02 9.626528239465909564e+01
-8.349058236137399263e+02 3.922993796007798437e+02 2.026827863801484284e+02 1.181545763329396266e+02 7.613177073125643801e+01
-7.299355661379674984e+02 3.348336471002563712e+02 1.686268673530603905e+02 9.593729183286072271e+01 6.056137224592987423e+01
-6.404680351628857125e+02 2.875129578959206356e+02 1.414019129497345375e+02 7.852766078851192333e+01 4.851087143171739768e+01
-5.625711504996520489e+02 2.478972936834242660e+02 1.193910594128699501e+02 6.479902201675587037e+01 3.916134230936003746e+01
-4.933366579403630681e+02 2.141287508339894146e+02 1.013364925748184078e+02 5.386322253489907297e+01 3.186156926690134128e+01
-4.307905543571280873e+02 1.848789412958264791e+02 8.631154429392528016e+01 4.505697602785391354e+01 2.612198311342227086e+01
-3.736536959105059736e+02 1.592007831461585283e+02 7.362613556984116769e+01 3.787693955337223173e+01 2.156755717551892459e+01
-3.211923679700412322e+02 1.364423121111404953e+02 6.277633101503271718e+01 3.194694029745793173e+01 1.791514443325376504e+01
-2.730795860858679021e+02 1.161666881512263814e+02 5.339811725725967761e+01 2.698746083390275885e+01 1.495185484128012021e+01
-2.292736588730092819e+02 9.808803991082135099e+01 4.523195745204996854e+01 2.279283364593328542e+01 1.251903517860096748e+01
-1.898969589949338683e+02 8.201923349032446708e+01 3.809331872034308475e+01 1.921228478206160162e+01 1.049878310205313703e+01
-1.551079350224469238e+02 6.783307957493508411e+01 3.184995996128871809e+01 1.613560476168447977e+01 8.803820804141428980e+00
-1.249802049542186353e+02 5.543410218709757231e+01 2.640434535818594597e+01 1.348198408632537415e+01 7.369623183239951913e+00
-9.942371664277064269e+01 4.473734432675032480e+01 2.168067072424146247e+01 1.119148718313602586e+01 6.148461532948975794e+00
-7.817107322232011768e+01 3.565102318682105675e+01 1.761580319753583623e+01 9.218543801688994677e+00 5.104872907153407802e+00
-6.081627046638685385e+01 2.806332105640140284e+01 1.415335943983063416e+01 7.527066551513696524e+00 4.212206016181656132e+00
-4.687345309139724492e+01 2.183681350676216226e+01 1.123992655623993464e+01 6.086945017049108841e+00 3.450004256264182168e+00
-3.583166773540314409e+01 1.681260303272659229e+01 8.822500250636153396e+00 4.871691301408283437e+00 2.802025017713299704e+00
-2.719624674727603164e+01 1.282119760432201971e+01 6.846834696742503112e+00 3.857009779398825167e+00 2.254783410194939997e+00
-2.051551794188647548e+01 9.694607637571394321e+00 5.257073823785801459e+00 3.020003398631996738e+00 1.796540437689756686e+00
-1.539478157869204722e+01 7.275926284221493567e+00 3.996951618779873261e+00 2.338743865728087457e+00 1.416669669894781380e+00
-1.150067444575264375e+01 5.425334510803968335e+00 3.012031247656790534e+00 1.792069864967342774e+00 1.105320997942948580e+00
-8.559129309399482466e+00 4.022865551535909745e+00 2.251961027604939325e+00 1.359639806457449751e+00 8.532792911082427434e-01
-6.349646757002925135e+00 2.968711141551550803e+00 1.672049916213899090e+00 1.022265793735524397e+00 6.519219579007310417e-01
-4.697898079749368350e+00 2.181910008671726242e+00 1.234011436985801069e+00 7.623959016271072420e-01 4.932240533609070776e-01
-3.468001037648732687e+00 1.598145100810399732e+00 9.060148386309134771e-01 5.645245500138303951e-01 3.698071903194494192e-01
-2.555261087211646132e+00 1.167194355345001489e+00 6.622582007600448240e-01 4.153990885317878634e-01 2.750290614150741053e-01
-1.879774486682399326e+00 8.503956334427152930e-01 4.822677625709745897e-01 3.040175786648222633e-01 2.030753181929662032e-01
-1.381030541355414698e+00 6.183333577850390617e-01 3.500857586925881226e-01 2.214729288904968285e-01 1.490062378801289000e-01
-1.013496806721725596e+00 4.488429095138153913e-01 2.534590599481115758e-01 1.607069213399734409e-01 1.087404284827924450e-01
-7.430913291225851314e-01 3.253562259588215766e-01 1.830957832490689163e-01 1.162271691412471442e-01 7.898722057050032441e-02
-5.444135032868325785e-01 2.355700215106088236e-01 1.320223301792243231e-01 8.382471578077654861e-02 5.714879560942737885e-02
-3.986004224003147911e-01 1.703974818020464466e-01 9.504978707413792860e-02 6.031528806613471738e-02 4.121080934123119016e-02
-2.916855683919730713e-01 1.231573421744894536e-01 6.834455013297406623e-02 4.331551504592954377e-02 2.963488674184570904e-02
-2.133530995401369534e-01 8.895514436898650790e-02 4.909091244956988870e-02 3.105730987187258971e-02 2.126105368981827046e-02
-1.559990349234907092e-01 6.421625290177684908e-02 3.523078280797605627e-02 2.223867755630027504e-02 1.522393805505509526e-02
-1.140277578489452825e-01 4.633647823629277740e-02 2.526582312348636325e-02 1.590667844556230281e-02 1.088365043061141277e-02
-8.332729811337266645e-02 3.342252399546118830e-02 1.810878192078373139e-02 1.136734901306653972e-02 7.770497516601956867e-03
-6.087944257146948174e-02 2.410026124380630283e-02 1.297283334788827160e-02 8.117409412399672480e-03 5.541801156290020701e-03
+4.307265640670998437e+02 4.930894566634436842e+02 5.644699826749822478e+02 6.461664340624427041e+02 7.396612677463605223e+02 8.466458975703293390e+02 9.690481844025078999e+02 1.109062606579969952e+03 1.269182914147416795e+03 1.452236797473573006e+03 1.661421699195238716e+03 1.900340325677399733e+03 2.173033621694780322e+03 2.484007909367616776e+03 2.838251516047000223e+03 3.241234504552677208e+03 3.698883096762272544e+03 4.217518147641132600e+03 4.803744791802210784e+03 5.464278500806233751e+03 6.205691762442397703e+03 7.034066054108157914e+03 7.954536396847890501e+03 8.970721080979541512e+03 1.008403732998496889e+04 1.129291430269161174e+04 1.259192673690367155e+04 1.397088370933270562e+04 1.541391475313140108e+04 1.689859690651369237e+04 1.839515833130610190e+04 1.986577553125675331e+04 2.126395531349316661e+04 2.253397670315176583e+04 2.361041404202426929e+04 2.441799611533794450e+04 2.487271952444912313e+04 2.488653151181447174e+04 2.437991796078946936e+04 2.330747132843887084e+04 2.169573485915516358e+04 1.967554028770895457e+04 1.747410093751401655e+04 1.534950196352905368e+04 1.350601701191330540e+04 1.204305813980304629e+04 1.091575058790722323e+04 9.865142370597644913e+03 8.492297563328149408e+03 6.770065873078516233e+03 5.364504445805525393e+03 4.672297731354738971e+03 4.005591448272348316e+03 3.111675403075856593e+03 2.660440224330383899e+03 2.187252619884640353e+03 1.832569945036744002e+03 1.528529210865050118e+03 1.304979309951210780e+03 1.114433278860039763e+03 9.605831502320733080e+02 8.349058236137399263e+02 7.299355661379674984e+02 6.404680351628857125e+02 5.625711504996520489e+02 4.933366579403630681e+02 4.307905543571280873e+02 3.736536959105059736e+02 3.211923679700412322e+02 2.730795860858679021e+02 2.292736588730092819e+02 1.898969589949338683e+02 1.551079350224469238e+02 1.249802049542186353e+02 9.942371664277064269e+01 7.817107322232011768e+01 6.081627046638685385e+01 4.687345309139724492e+01 3.583166773540314409e+01 2.719624674727603164e+01 2.051551794188647548e+01 1.539478157869204722e+01 1.150067444575264375e+01 8.559129309399482466e+00 6.349646757002925135e+00 4.697898079749368350e+00 3.468001037648732687e+00 2.555261087211646132e+00 1.879774486682399326e+00 1.381030541355414698e+00 1.013496806721725596e+00 7.430913291225851314e-01 5.444135032868325785e-01 3.986004224003147911e-01 2.916855683919730713e-01 2.133530995401369534e-01 1.559990349234907092e-01 1.140277578489452825e-01 8.332729811337266645e-02 6.087944257146948174e-02
+2.566374549793677602e+02 2.937959381880738192e+02 3.363278747588973374e+02 3.850070089716037955e+02 4.407168784981828367e+02 5.044656064779655367e+02 5.774023076434120867e+02 6.608350998717271523e+02 7.562506066128376006e+02 8.653346737965007378e+02 9.899937864338784266e+02 1.132376329987141844e+03 1.294892370748510075e+03 1.480229997873758066e+03 1.691365451408511490e+03 1.931563242835537039e+03 2.204361271353182019e+03 2.513534609252618793e+03 2.863030298186096843e+03 3.256864373798410270e+03 3.698971719254930576e+03 4.192999612882504152e+03 4.742037375859893473e+03 5.348277659340700666e+03 6.012609740972447980e+03 6.734151477224823793e+03 7.509733566524773778e+03 8.333356319195196193e+03 9.195643602341226142e+03 1.008331921959524152e+04 1.097872600987671285e+04 1.185939658908412821e+04 1.269766901151056118e+04 1.346033115230911244e+04 1.410830573953881685e+04 1.459652949186358273e+04 1.487458068934260518e+04 1.488945259512788107e+04 1.459308833111326385e+04 1.395773696546067367e+04 1.299870772973169369e+04 1.179382075265963249e+04 1.047867168683310047e+04 9.207292240966866302e+03 8.101260743527091108e+03 7.218916151502538014e+03 6.531817883374426856e+03 5.884961397291072899e+03 5.045774792120902930e+03 4.005368435461730314e+03 3.154382033091373614e+03 2.719093536384417803e+03 2.301963040196355450e+03 1.764399557270857940e+03 1.482414913255337069e+03 1.194975088935287204e+03 9.793745005835763777e+02 7.970833505947541653e+02 6.635677861633905650e+02 5.517910706982075908e+02 4.631059936848866982e+02 3.922993796007798437e+02 3.348336471002563712e+02 2.875129578959206356e+02 2.478972936834242660e+02 2.141287508339894146e+02 1.848789412958264791e+02 1.592007831461585283e+02 1.364423121111404953e+02 1.161666881512263814e+02 9.808803991082135099e+01 8.201923349032446708e+01 6.783307957493508411e+01 5.543410218709757231e+01 4.473734432675032480e+01 3.565102318682105675e+01 2.806332105640140284e+01 2.183681350676216226e+01 1.681260303272659229e+01 1.282119760432201971e+01 9.694607637571394321e+00 7.275926284221493567e+00 5.425334510803968335e+00 4.022865551535909745e+00 2.968711141551550803e+00 2.181910008671726242e+00 1.598145100810399732e+00 1.167194355345001489e+00 8.503956334427152930e-01 6.183333577850390617e-01 4.488429095138153913e-01 3.253562259588215766e-01 2.355700215106088236e-01 1.703974818020464466e-01 1.231573421744894536e-01 8.895514436898650790e-02 6.421625290177684908e-02 4.633647823629277740e-02 3.342252399546118830e-02 2.410026124380630283e-02
+1.600448095248837319e+02 1.832181140972656692e+02 2.097426306184939904e+02 2.401009579590414091e+02 2.748441894846869218e+02 3.146011457278915486e+02 3.600886161341001639e+02 4.121226052757016305e+02 4.716305130946259396e+02 5.396640780864727276e+02 6.174127640282739549e+02 7.062170591633214372e+02 8.075808636499572231e+02 9.231817477986957101e+02 1.054877353964017402e+03 1.204705580900979839e+03 1.374875439586798393e+03 1.567744640587978438e+03 1.785779142634125719e+03 2.031489190166658545e+03 2.307335981025174988e+03 2.615603266999501557e+03 2.958229145099687685e+03 3.336595242958679137e+03 3.751273502290708166e+03 4.201734662523469524e+03 4.686026896938557911e+03 5.200437106962725011e+03 5.739150136650830973e+03 6.293921496163569827e+03 6.853776021736013718e+03 7.404737728671934747e+03 7.929586221012993519e+03 8.407628902935895894e+03 8.814495487246986158e+03 9.122049291480454485e+03 9.298760039602373581e+03 9.311410718664987144e+03 9.129777116453391500e+03 8.736208110460160242e+03 8.139874065983102810e+03 7.389024186377510887e+03 6.568176692569712031e+03 5.773630852942241290e+03 5.081629919950226395e+03 4.528974775694330674e+03 4.097988791913282512e+03 3.691026471389237486e+03 3.161081404978128376e+03 2.502323773652543423e+03 1.961915175291856940e+03 1.683822662900574414e+03 1.416840122726524442e+03 1.073751009408775417e+03 8.927389887259163288e+02 7.088238750199743663e+02 5.710298145089752779e+02 4.549951789413874508e+02 3.705551773578180814e+02 3.005005603741109894e+02 2.456604652292004687e+02 2.026827863801484284e+02 1.686268673530603905e+02 1.414019129497345375e+02 1.193910594128699501e+02 1.013364925748184078e+02 8.631154429392528016e+01 7.362613556984116769e+01 6.277633101503271718e+01 5.339811725725967761e+01 4.523195745204996854e+01 3.809331872034308475e+01 3.184995996128871809e+01 2.640434535818594597e+01 2.168067072424146247e+01 1.761580319753583623e+01 1.415335943983063416e+01 1.123992655623993464e+01 8.822500250636153396e+00 6.846834696742503112e+00 5.257073823785801459e+00 3.996951618779873261e+00 3.012031247656790534e+00 2.251961027604939325e+00 1.672049916213899090e+00 1.234011436985801069e+00 9.060148386309134771e-01 6.622582007600448240e-01 4.822677625709745897e-01 3.500857586925881226e-01 2.534590599481115758e-01 1.830957832490689163e-01 1.320223301792243231e-01 9.504978707413792860e-02 6.834455013297406623e-02 4.909091244956988870e-02 3.523078280797605627e-02 2.526582312348636325e-02 1.810878192078373139e-02 1.297283334788827160e-02
+1.068590681396608062e+02 1.223316460795109890e+02 1.400418491866120689e+02 1.603119292089488965e+02 1.835098801244325557e+02 2.100556057382765687e+02 2.404277619971090587e+02 2.751712712416614863e+02 3.149054617516602548e+02 3.603327188442603983e+02 4.122474348974250233e+02 4.715449044924264399e+02 5.392296153613460774e+02 6.164221234591439043e+02 7.043633604304251321e+02 8.044147986324705926e+02 9.180523984450588841e+02 1.046851709254309981e+03 1.192460940976926395e+03 1.356558353994014624e+03 1.540790056441992192e+03 1.746684404288879477e+03 1.975539835186776145e+03 2.228284263066102540e+03 2.505306159859875152e+03 2.806260048712626030e+03 3.129852032203881663e+03 3.473613679713103011e+03 3.833674432349369454e+03 4.204542894450379208e+03 4.578905257056580922e+03 4.947444283459657527e+03 5.298675620532538233e+03 5.618793985877475279e+03 5.891533057808501326e+03 6.098101275102925683e+03 6.217422465271039982e+03 6.227262960123927769e+03 6.107341069922797033e+03 5.845715592169390220e+03 5.448318296947064482e+03 4.947203649151039826e+03 4.398768771789787934e+03 3.867463760089305651e+03 3.404513382538053065e+03 3.034890456357917628e+03 2.747053491836332796e+03 2.475282946129894754e+03 2.119565129707965298e+03 1.674903607979238132e+03 1.309327874928307665e+03 1.122151540948170350e+03 9.419469237429468649e+02 7.082216812562309087e+02 5.856906842304076690e+02 4.604666849814812508e+02 3.667762738000701574e+02 2.878046976019009549e+02 2.306611573423447794e+02 1.833661610952427452e+02 1.466232123520373989e+02 1.181545763329396266e+02 9.593729183286072271e+01 7.852766078851192333e+01 6.479902201675587037e+01 5.386322253489907297e+01 4.505697602785391354e+01 3.787693955337223173e+01 3.194694029745793173e+01 2.698746083390275885e+01 2.279283364593328542e+01 1.921228478206160162e+01 1.613560476168447977e+01 1.348198408632537415e+01 1.119148718313602586e+01 9.218543801688994677e+00 7.527066551513696524e+00 6.086945017049108841e+00 4.871691301408283437e+00 3.857009779398825167e+00 3.020003398631996738e+00 2.338743865728087457e+00 1.792069864967342774e+00 1.359639806457449751e+00 1.022265793735524397e+00 7.623959016271072420e-01 5.645245500138303951e-01 4.153990885317878634e-01 3.040175786648222633e-01 2.214729288904968285e-01 1.607069213399734409e-01 1.162271691412471442e-01 8.382471578077654861e-02 6.031528806613471738e-02 4.331551504592954377e-02 3.105730987187258971e-02 2.223867755630027504e-02 1.590667844556230281e-02 1.136734901306653972e-02 8.117409412399672480e-03
+7.569661560088660224e+01 8.665712412121320085e+01 9.920275132448260536e+01 1.135617855914026677e+02 1.299949221925355118e+02 1.487996335945859983e+02 1.703150181339045730e+02 1.949271252150973908e+02 2.230747241537352750e+02 2.552554363010440284e+02 2.920320800933119472e+02 3.340389787300423450e+02 3.819878417713579211e+02 4.366726461815823086e+02 4.989727015596757838e+02 5.698527846710610447e+02 6.503588739773073257e+02 7.416076229167205156e+02 8.447673178312820710e+02 9.610277340316514483e+02 1.091556119711737210e+03 1.237436612233084588e+03 1.399590840587212597e+03 1.578678384615464438e+03 1.774977176334740534e+03 1.988245767281655617e+03 2.217571437719482674e+03 2.461210035050604347e+03 2.716424726947648196e+03 2.979331002578181142e+03 3.244753747706088689e+03 3.506098798232423633e+03 3.755236626800945032e+03 3.982392767788485344e+03 4.176047444709057345e+03 4.322888002467423576e+03 4.407975590894411653e+03 4.415537449346890753e+03 4.331161608411184716e+03 4.146316883102971588e+03 3.865112942192857190e+03 3.510176054140917131e+03 3.121438484103347946e+03 2.744635357564802234e+03 2.416227704959256698e+03 2.154138909412273733e+03 1.950371969309190263e+03 1.758130989010129269e+03 1.505512761503495085e+03 1.188238273359719187e+03 9.270201331461443033e+02 7.941443444678848209e+02 6.659561129139799505e+02 4.980278665293651557e+02 4.107220714589107047e+02 3.208873586949387686e+02 2.537687582431594251e+02 1.970726139392105836e+02 1.562331264281119161e+02 1.224233980805752253e+02 9.626528239465909564e+01 7.613177073125643801e+01 6.056137224592987423e+01 4.851087143171739768e+01 3.916134230936003746e+01 3.186156926690134128e+01 2.612198311342227086e+01 2.156755717551892459e+01 1.791514443325376504e+01 1.495185484128012021e+01 1.251903517860096748e+01 1.049878310205313703e+01 8.803820804141428980e+00 7.369623183239951913e+00 6.148461532948975794e+00 5.104872907153407802e+00 4.212206016181656132e+00 3.450004256264182168e+00 2.802025017713299704e+00 2.254783410194939997e+00 1.796540437689756686e+00 1.416669669894781380e+00 1.105320997942948580e+00 8.532792911082427434e-01 6.519219579007310417e-01 4.932240533609070776e-01 3.698071903194494192e-01 2.750290614150741053e-01 2.030753181929662032e-01 1.490062378801289000e-01 1.087404284827924450e-01 7.898722057050032441e-02 5.714879560942737885e-02 4.121080934123119016e-02 2.963488674184570904e-02 2.126105368981827046e-02 1.522393805505509526e-02 1.088365043061141277e-02 7.770497516601956867e-03 5.541801156290020701e-03
diff --git a/skypy/power_spectrum/tests/test_camb.py b/skypy/power_spectrum/tests/test_camb.py
index 5c59e70..f99fde9 100644
--- a/skypy/power_spectrum/tests/test_camb.py
+++ b/skypy/power_spectrum/tests/test_camb.py
@@ -24,14 +24,15 @@ def test_camb():
     '''
     from skypy.power_spectrum import camb
 
+    # test shape and compare with the mocked power spectrum
     redshift = [0.0, 1.0]
     wavenumber = np.logspace(-4.0, np.log10(2.0), 200)
     pkz = camb(wavenumber, redshift, Planck15, 2.e-9, 0.965)
-    assert pkz.shape == (len(wavenumber), len(redshift))
+    assert pkz.shape == (len(redshift), len(wavenumber))
     assert allclose(pkz, test_pkz, rtol=1.e-4)
 
     # also check redshifts are ordered correctly
     redshift = [1.0, 0.0]
     pkz = camb(wavenumber, redshift, Planck15, 2.e-9, 0.965)
-    assert pkz.shape == (len(wavenumber), len(redshift))
-    assert allclose(pkz, test_pkz[:, np.argsort(redshift)], rtol=1.e-4)
+    assert pkz.shape == (len(redshift), len(wavenumber))
+    assert allclose(pkz, test_pkz[np.argsort(redshift), :], rtol=1.e-4)
diff --git a/skypy/power_spectrum/tests/test_halofit.py b/skypy/power_spectrum/tests/test_halofit.py
index c81f417..5dfc2db 100644
--- a/skypy/power_spectrum/tests/test_halofit.py
+++ b/skypy/power_spectrum/tests/test_halofit.py
@@ -43,15 +43,15 @@ def test_halofit():
 
     # Test when redshift is a scalar
     z_scalar = z[0]
-    power_1d = linear_power[:, 0]
-    truth_scalar_redshift = truth_smith[:, 0]
+    power_1d = linear_power[0, :]
+    truth_scalar_redshift = truth_smith[0, :]
     smith_scalar_redshift = halofit_smith(k, z_scalar, power_1d, Planck15)
     assert allclose(smith_scalar_redshift, truth_scalar_redshift)
     assert np.shape(smith_scalar_redshift) == np.shape(power_1d)
 
     # Test for failure when wavenumber is a scalar
     k_scalar = k[0]
-    power_1d = linear_power[0, :]
+    power_1d = linear_power[:, 0]
     with pytest.raises(TypeError):
         halofit_smith(k_scalar, z, power_1d, Planck15)