-
Notifications
You must be signed in to change notification settings - Fork 143
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
Different non-linear matter power spectra for different variables #91
Labels
Comments
Yes, it at assumes all sources scale the same way (by the ratio of the nonlinear to nonlinear that you do calculate). Clearly it's wrong, though it will be right in the linear limit and approximately correct in most cases. In principle there should be separate results for each density and the velocity (the latter is implemented in SecondOrderPK but only used for high-redshift 21cm). |
cmbant
changed the title
Confusion over 'var' with non-linear matter power spectrum
Using different non-linear matter power spectrum
Dec 11, 2020
cmbant
changed the title
Using different non-linear matter power spectrum
Using different non-linear matter power spectra
Dec 11, 2020
cmbant
changed the title
Using different non-linear matter power spectra
Different non-linear matter power spectra for different variables
Dec 11, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I run the above code I get the following printed out: 810.7663200215078 820.4239789024388
I'm confused by the fact that these numbers are different, since the HMcode model for the non-linear power spectrum only calculates the result for the total matter power spectrum, and has not been calibrated for the non-linear CDM-CDM power spectrum, or anything else like that.
I checked and the two results are also different if
halofit_version='takahashi'
and HALOFIT was also only calibrated to provide the total matter power spectrum.In principle, one ought to be able to calculate the non-linear (cross) power for any combination of
var1
andvar2
, but the above models have not been calibrated to do this. I'm not sure what either calculation would be doing when eithervar1
orvar2
is set todelta_cdm
. Should an error message be generated instead of a result?The text was updated successfully, but these errors were encountered: