-
Notifications
You must be signed in to change notification settings - Fork 38
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
BUG: Fixed wavenumber definition and amplitude scaling in Eisenstein & Hu model #445
BUG: Fixed wavenumber definition and amplitude scaling in Eisenstein & Hu model #445
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some suggestions for improved clarity. Could you also confirm where the updated numerical values for test_eisenstein_hu
came from? Did you re-calculate them using cosmosis for the correct wavenumbers?
Review does not request any changes
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks great thanks @jucordero @Lucia-Fonseca @ntessore for working on this
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me too!
Description
The Eisenstein & Hu approximation for the linear matter power spectrum now assumes the input wavenumber vector to be in units of Mpc instead of Mpc/h (See ADR-2)
The overall amplitude was also missing factors of h. This has now been fixed such that multiplying
eisenstein_hu
by the square ofgrowth_function_carroll
gives a power spectrum that closely matches CAMB and CLASS.This addresses issue #442
Returns a power spectrum which has the correct wavenumbers and amplitude
Checklist