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

Cross-correlating with Galaxies #1

Open
ShimingGu opened this issue Jul 15, 2022 · 2 comments
Open

Cross-correlating with Galaxies #1

ShimingGu opened this issue Jul 15, 2022 · 2 comments

Comments

@ShimingGu
Copy link

ShimingGu commented Jul 15, 2022

Hi Tilman,

I am curious whether HMx can work with galaxy tracers. Can I use this to compute correlations with some types of galaxies? I don't know whether it is legitimate to only use different combinations of built-in field_gas and field_stars for different types of galaxies, or I must use an external HOD.

Best Regards,

Shiming

@tilmantroester
Copy link
Owner

The star field shouldn't be used as a galaxy tracer. There might be some rudimentary HOD implementation in the fortran code but 1) this is not exposed to the python layer and 2) not properly tested. Your best bet is to use an external HOD. CCL supports that and you can follow the example in https://github.com/tilmantroester/pyhmcode/blob/master/notebooks/CCL_HMx_halomodel.ipynb to see how to get CCL to use the HMx profiles.

@ShimingGu
Copy link
Author

I see. That's very helpful. Thanks a lot!

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