-
Notifications
You must be signed in to change notification settings - Fork 52
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
Distance units in mocks #202
Comments
@Christopher-Bradshaw Thanks for opening the issue. Assuming If @Christopher-Bradshaw For the second question, do you want all pairs within |
Thanks for the response, that makes sense. For the second question, both. I want all pairs within a single |
@Christopher-Bradshaw I am still not sure I understand. Are you proposing to calculate physical separations between arbitrary points within the kernel? |
Related to this question. If you go to the link below in the docs, the first parenthesis states: (speed of light times redshift, in Mpc/h). Is this a mistake? I think it should read "speed of light in km/s times z", based in the discussion above. Thank you! |
@patogallardo Took me a while to get to but looks like the documentation is correct - these lines do the distance calculation. Particularly, these two lines effectively multiply the integral with |
Hey, a couple of questions about the distance units in the mocks package (particularly
DDrppi_mocks
).From a couple of tests it looks like both the
pi
andr
distances in which pairs are found are comoving distances? Where (assuming a flat cosmology) ther
distance is the comoving distance * angle?It also looks like those distances are assumed to be in comoving
Mpc/h
ifis_comoving_dist
isn't set? (Corrfunc/utils/set_cosmo_dist.c
Line 39 in d8a7958
Corrfunc/utils/set_cosmo_dist.c
Line 68 in d8a7958
I'm guessing though if
is_comoving_dist
is set, and theCZ
are passed in as Mpc thatr
/pi
are also then assumed to be in units of comoving Mpc.If this is right so far, is there any way to pass a physical bin size? E.g. if we want counts within 10 physical Mpc over a large redshift range?
Thanks for all your help! I'm also happy to help put some of this in the docs if it is right and you think it would help others.
The text was updated successfully, but these errors were encountered: