Closed flepri95 closed 3 years ago
Hi, at a glance, the pi
function looks suspicious, as the line-of-sight distance (in the theory module) is just abs(z1-z2)
. Could that be the cause of the difference?
It was indeed that. I'm so sorry for wasting your time! Fixing rp and pi definition, the pair counts are the same.
No worries, glad it's fixed!
General information
Issue description
DDrppi function doesn't return expected pair counts, calculated through two-loop pairs counting. I can't figure out if there is a mistake in my thought process (and code) or something more in Corrfunc. If there is a mistake on my part, I apologize for wasting your time.
Minimal failing example
Thanks!