Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
alexander-mead committed Apr 8, 2023
1 parent f6eac1f commit d3a0612
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,12 +53,12 @@ I coded this `Python` version of `HMcode-2020` ([Mead et al. 2021](https://arxiv
You might also be interested in [`pyhalomodel`](https://pypi.org/project/pyhalomodel/), upon which this code depends, which implements a vanilla halo-model calculation for any desired large-scale-structure tracer. Alternatively, and very confusingly, you might be interested in this [`pyhmcode`](https://pypi.org/project/pyhmcode/), which provides a wrapper around the original `Fortran` `HMcode` implementation.

I compared it against the `CAMB-HMcode` version for 100 random sets of cosmological parameters ($k < 10 h\mathrm{Mpc}^{-1}$; $z < 3$). The level of agreement between the two codes is as follows:
- LCDM: Mean error: 0.10%; Std error: 0.03%; Worst error; 0.21%
- k-LCDM: Mean error: 0.11%; Std error: 0.03%; Worst error; 0.23%
- w-CDM: Mean error: 0.10%; Std error: 0.03%; Worst error; 0.20%
- w(a)-CDM: Mean error: 0.13%; Std error: 0.06%; Worst error; 0.48%
- nu-LCDM: Mean error: 0.47%; Std error: 0.44%; Worst error; 2.01% (larger errors strongly correlated with neutrino mass)
- nu-k-w(a)-CDM: Mean error: 0.42%; Std error: 0.43%; Worst error; 2.02% (larger errors strongly correlated with neutrino mass)
- LCDM: Mean error: 0.10%; Standard deviation of error: 0.03%; Worst-case error; 0.21%
- k-LCDM: Mean error: 0.11%; Standard deviation of error: 0.03%; Worst-case error; 0.23%
- w-CDM: Mean error: 0.10%; Standard deviation of error: 0.03%; Worst-case error; 0.20%
- w(a)-CDM: Mean error: 0.13%; Standard deviation of error: 0.06%; Worst-case error; 0.48%
- nu-LCDM: Mean error: 0.47%; Standard deviation of error: 0.44%; Worst-case error; 2.01% (larger errors strongly correlated with neutrino mass)
- nu-k-w(a)-CDM: Mean error: 0.42%; Standard deviation of error: 0.43%; Worst-case error; 2.02% (larger errors strongly correlated with neutrino mass)

These comparisons can be reproduced using the `comparisons/CAMB.py` script.

Expand Down

0 comments on commit d3a0612

Please sign in to comment.