diff options
author | Aaron LI <aly@aaronly.me> | 2017-07-21 10:27:03 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2017-07-21 10:27:03 +0800 |
commit | b3219ca75b4e566f904f2c57997edc5bdde47ea9 (patch) | |
tree | 4e73c6cfc6c6c2eee84705c65362afcb2336942f | |
parent | f252691a199cb1761c3a5f81ee0931212b3c5ac9 (diff) | |
download | fg21sim-b3219ca75b4e566f904f2c57997edc5bdde47ea9.tar.bz2 |
Fix parameter names about cosmology
Signed-off-by: Aaron LI <aly@aaronly.me>
-rw-r--r-- | fg21sim/configs/manager.py | 4 | ||||
-rw-r--r-- | fg21sim/utils/cosmology.py | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/fg21sim/configs/manager.py b/fg21sim/configs/manager.py index ce376aa..3f773a5 100644 --- a/fg21sim/configs/manager.py +++ b/fg21sim/configs/manager.py @@ -553,8 +553,8 @@ class ConfigManager: conf = self.get("cosmology") cosmoconf = { "H0": conf["H0"], - "OmegaM0": conf["OmegaM0"], - "Omegab0": conf["Omegab0"], + "Om0": conf["OmegaM0"], + "Ob0": conf["Omegab0"], "sigma8": conf["sigma8"], } return cosmoconf diff --git a/fg21sim/utils/cosmology.py b/fg21sim/utils/cosmology.py index fd9f1ff..9da3d80 100644 --- a/fg21sim/utils/cosmology.py +++ b/fg21sim/utils/cosmology.py @@ -56,8 +56,8 @@ class Cosmology: def __init__(self, H0=configs.cosmology["H0"], - Om0=configs.cosmology["OmegaM0"], - Ob0=configs.cosmology["Omegab0"], + Om0=configs.cosmology["Om0"], + Ob0=configs.cosmology["Ob0"], sigma8=configs.cosmology["sigma8"]): self.setup(H0=H0, Om0=Om0, Ob0=Ob0, sigma8=sigma8) |