Skip to content

Commit 7928eda

Browse files
committed
Add log As for spt candl likelihood.
1 parent 0f7f014 commit 7928eda

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

utility/consistency/consistency_interface.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,7 @@ def execute(block, config):
7474
block[cosmo, "A_s"] = np.exp(block[cosmo, 'log1e10As']) * 1.0e-10
7575
elif block.has_value(cosmo, "A_s_1e9"):
7676
block[cosmo, "A_s"] = block[cosmo, "A_s_1e9"] * 1e-9
77+
block[cosmo, "log1e10as"] = np.log(block[cosmo, "A_s_1e9"]*10.0)
7778

7879
# Set or replace the new values
7980
for param, value in list(filled_parameters.items()):
@@ -95,7 +96,7 @@ def execute(block, config):
9596

9697
block[cosmo, "sigma_8"] = sigma_8
9798

98-
# Add a marker to the consistency
99+
# Add a marker to the consistency
99100
block[cosmo, "consistency_module_was_used"] = True
100101

101102
return 0

0 commit comments

Comments
 (0)