LSSTDESC / N5K

Non-local No-Nonsense Non-Limber Numerical Knockout
BSD 3-Clause "New" or "Revised" License
7 stars 7 forks source link

New benchmarks for half/quarter-width bins #27

Closed damonge closed 2 years ago

damonge commented 3 years ago

@c-d-leonard here are the new benchmarks. I haven't yet had time to do any visual checks, but hopefully there are no catastrophes.

c-d-leonard commented 2 years ago

I just did some visual checks on these and quite a few of them have some wiggles that look like they might be numerical artefacts indicating higher res might be needed. Eg here for what I think is the lowest z autocorr bin C_ell_artifacts @damonge what do you think?

c-d-leonard commented 2 years ago

C_ell_gs_wiggles here's one from galaxy-galaxy lensing just as another example

damonge commented 2 years ago

OK, @c-d-leonard , I've looked at the benchmarks comparing them with Limber and I find the following:

In any case, I'm rerunning all these benchmarks with a higher resolution integral in log(k). I'll compare the results with these and get back to you.

damonge commented 2 years ago

Update on this: the more accurate benchmarks do mitigate these wiggles, probably enough to make them irrelevant (I haven't quantified it yet). I'm running yet-more-accurate benchmarks now, and will do the numbers (check relative chi2s) to make sure they're fine before we merge.

damonge commented 2 years ago

@c-d-leonard ok, much higher precision benchmarks in. Most of these issues have gone away. Some of the power spectra are still a bit wiggly, but they are the weird ones (e.g. last clustering bin with first source bin) and I don't think they matter. I'll be happy to revisit this if we are convinced that this is an issue after comparing with the other non-Limber methods

c-d-leonard commented 2 years ago

thanks, happy to merge!