New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom r_pi (line-of-sight) binning #116
Comments
I'd be interested in having this functionality. Is there any way I can help? |
Thanks for the offer! What kind of functionality did you need - could you provide a bit more details about the custom binning strategy? |
So I’m looking to be able to compute \xi(r_p, pi). Because of that, I think the basic thing that might help would be to be able to also specify a pimin, so that it would at least be possible to run in a loop over parallel bins. But the idea in the original post with being able to provide bins in pi the same way as for r_p seems like the ideal case. I don’t know if binning in both directions could be handled the same way as just in r_p, though.
… On Apr 12, 2017, at 7:06 PM, Manodeep Sinha ***@***.***> wrote:
Thanks for the offer!
What kind of functionality did you need - could you provide a bit more details about the custom binning strategy?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub <#116 (comment)>, or mute the thread <https://github.com/notifications/unsubscribe-auth/AKq1RwpBg0WyRTUPcuhvifHgybFOWBaWks5rvYNBgaJpZM4MyTPI>.
|
I think this should be a fairly straightforward change, especially since nearly all the parts of the code that need to change can be found just by searching the codebase for
I used Note that the AVX and SSE kernels would also have to be updated. If you haven't used AVX/SSE before, I'd start by updating the Fallback (i.e. plain C) kernels, and then deciding if you can figure out the AVX and SSE. If not, Manodeep or I could jump in and update those, since it would just be a reimplementation of the logic laid out in the Fallback kernel. @manodeep, let me know what I missed! |
@lgarrison looks good. I don't think any of the combine pair counts sort of utilities will have to change. I would simply change the internal API to be in arbitrary-but-contiguous pi-bins, similar to what already exists for rp-bins. However, I will add a functionality to the python wrappers, All of the existing python wrappers have a similar functionality for the |
Currently,
DDrppi
for both theory and mocks only supports unit binning in the line-of-sight direction via thepimax
argument. We should change this to allow arbitrary binning as we do forr_p
(i.e. read the bins from a file or from an array argument passed to the Python interface).The text was updated successfully, but these errors were encountered: