-
Notifications
You must be signed in to change notification settings - Fork 35
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] growth_rate
, currently implemented following Hamilton (2001) eq. 4, is very far from the CAMB
growth rate
#198
Comments
Hmmm, this is interesting. In principle, Eq (4) should be more accurate than Eq (5), right? Is your Eq (4) plot including the fix in #197? |
Yes. The fix in #197 is included. If I were not to include it, the growth rate from I am actually not familiar with Eq(4) in Hamilton 2000. So I went back to check the paper and Hamilton actually cited Lahav et al. 1991. Checking the latter, I think the proper expression for growth rate, should be their Eq(9). Here is what I get if I implement Eq(9) in Lahav et al. 1991 instead: |
@steven-murray Actually, we can also follow the definition
Then I would still get a growth rate In summary, I'm really skeptical about Hamilton Eq. (4). Maybe I'm being dense but I just can't derive Hamilton Eq. (4) straight from the definition of *One can also write this as |
Another technical detail, independently from all this, that makes me wonder is, whether picking the reference scale |
Thanks @MinhMPA -- I think you're right about the CAMB reference scale. I'm not sure why I originally set it at |
Describe the bug$f(a)$ following eq. 4 of Hamilton (2001). However, this particular eq. does not yield an accurate growth rate when compared to $d\ln D/d\ln a$ from
Currently,
growth_rate()
in the growth modelGrowthFactor
implements the linear growth rateCAMB
and the growth modelCambGrowth
.My suggestion, if I may, and I can make a PR for this, is to either a/ use Hamilton (2001) eq. 5 instead, or b/ simply$f(a)=\Omega_m(a)^\gamma$ where $\gamma=0.55$ .
To Reproduce
Code snippet reproduce the behavior:
Expected behavior$d\ln D/d\lna$ .
This is the comparison between either Hamilton eq. 4 or eq. 5, against the CAMB numerical derivative
Additional context
This is related to, but not the same issue, #196.
The text was updated successfully, but these errors were encountered: