- 21 Nov, 2021 7 commits
-
-
Goran Jelic-Cizmek authored
Now the signature of the functions is available when using Coffe interactively, or when generating the docs.
-
Goran Jelic-Cizmek authored
This is to be able to add the `covariance_matrix` method, which returns the block-diagonal matrix that can be used for, say, Fisher forecasts.
-
Goran Jelic-Cizmek authored
-
Goran Jelic-Cizmek authored
-
Goran Jelic-Cizmek authored
Now instead of taking a function, they take two lists, one z, the other bias(z). This is to prevent double interpolation (one by Python sampling a non-analytic function, one by GSL), and it's probably more familiar to the user.
-
Goran Jelic-Cizmek authored
-
Goran Jelic-Cizmek authored
I should make it possible to set either of those
-
- 19 Nov, 2021 9 commits
-
-
Goran Jelic-Cizmek authored
-
Goran Jelic-Cizmek authored
I don't want to figure out how distutils packaging works just yet, for now it's easiest to put everything in one enormous file and package that.
-
Goran Jelic-Cizmek authored
-
Goran Jelic-Cizmek authored
-
Goran Jelic-Cizmek authored
-
Goran Jelic-Cizmek authored
-
Goran Jelic-Cizmek authored
Forgot to set the power spectrum each time the contributions changed
-
Goran Jelic-Cizmek authored
-
Goran Jelic-Cizmek authored
This one was quite challenging to find; apparently, by calling `set_power_spectrum_linear`, I modified k_min and k_max, but whenever I re-computed it using CLASS, it was not being adjusted accordingly, so the integrals would all give `nan`s, which of course propagated further and caused the tests to fail. Hopefully, that's all I missed, seems to work now.
-
- 18 Nov, 2021 20 commits
-
-
Goran Jelic-Cizmek authored
-
Goran Jelic-Cizmek authored
-
Goran Jelic-Cizmek authored
-
Goran Jelic-Cizmek authored
-
Goran Jelic-Cizmek authored
-
Goran Jelic-Cizmek authored
Something goes wrong with the `pk_type` setter, there's probably something that gets freed improperly, or some value isn't changed when it should be.
-
Goran Jelic-Cizmek authored
-
Goran Jelic-Cizmek authored
-
Goran Jelic-Cizmek authored
-
Goran Jelic-Cizmek authored
Still need to put the in the actual Coffe class.
-
Goran Jelic-Cizmek authored
This is primarily useful for nonlinearities, where we can't just rescale the power spectrum by the linear growth factor.
-
Goran Jelic-Cizmek authored
-
Goran Jelic-Cizmek authored
Since there's no other way to evaluate nonlinearities for now, there's no point in having a toggle for the midpoint approximation.
-
Goran Jelic-Cizmek authored
-
Goran Jelic-Cizmek authored
-
Goran Jelic-Cizmek authored
Sadly, C doesn't have constructors so I usually forget to initialize structures, which lead to segfaults since they are accidentally freed later.
-
Goran Jelic-Cizmek authored
-
Goran Jelic-Cizmek authored
-
Goran Jelic-Cizmek authored
This way I need to modify one function instead of hunting around for various pieces in the parameters.
-
Goran Jelic-Cizmek authored
-
- 17 Nov, 2021 3 commits
-
-
Goran Jelic-Cizmek authored
-
Goran Jelic-Cizmek authored
There are a couple of issues with the Zeldovich approximation: - computing the integrals on-the-fly is ridiculously slow, even for density-density - on the other hand, GSL doesn't have support for 3D interpolations - the midpoint approximation has about the same accuracy (see arXiv:2011.06185), and only requires 2D interpolation - lastly, the code wasn't using it anymore Hence, I just removed the option altogether from everywhere.
-
Goran Jelic-Cizmek authored
-
- 16 Nov, 2021 1 commit
-
-
Goran Jelic-Cizmek authored
-