Skip to content
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

Redshifts of galaxies vs halos #1070

Open
olakusiak opened this issue Jul 17, 2023 · 1 comment
Open

Redshifts of galaxies vs halos #1070

olakusiak opened this issue Jul 17, 2023 · 1 comment

Comments

@olakusiak
Copy link

Hi,
I am trying to populate some halos with an HOD using halotools, and I started with this example before putting my own data:

https://halotools.readthedocs.io/en/stable/quickstart_and_tutorials/tutorials/catalog_analysis/galcat_analysis/basic_examples/clustering_examples/galaxy_catalog_analysis_tutorial9.html

I followed each step here, particularly specifying the redshift=0 for the Bolshoi halos. Maybe I am not understanding something correctly, but why are the galaxy redshifts (the outputs of mock_survey.ra_dec_z) not the same as the redshifts of the halos (zero in this case)? I attach the distribution of the redshifts of galaxies, which goes up to z=0.07 when shifting the catalog.
I tried both with and without shifting, and also for Bolshoi at z=0.5. Does it have to do with peculiar velocities (in any case, it seems like a significant difference)?

Please let me know what I am missing here, Thank you!

redshifts
@aphearin
Copy link
Contributor

Hi @olakusiak the mock survey function transforms your box into a lightcone, and so as the line-of-sight serves as the redshift direction. So even in the complete absence of peculiar velocities, the redshift histogram would look something like what you report.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants