aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim
diff options
context:
space:
mode:
Diffstat (limited to 'fg21sim')
-rw-r--r--fg21sim/configs/manager.py4
-rw-r--r--fg21sim/utils/cosmology.py4
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)