Description
Hello hello, while writing our own HOD code with @bhorowitz and others we were trying to compare our results to halotools as God's truth, but were finding some residual differences in the 2pt functions that I can't explain.
I have isolated at least one potential thing that could explain our discrepancies, related to NFW sampling of the satellites. And actually, as far as I understand, I seem to be getting inconsistent results within halotools itself depending on whether I sample manually positions with mc_generate_nfw_radial_positions
or if I sample satellites for the catalog normally.
I made a minimal demo notebook here. and I'm getting this sort of discrepancy on the radial distribution of satellites :
And this amount of difference actually can explain away the differences I'm seeing downstream in the 2pt function.