summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2017-02-12 18:41:56 +0800
committerAaron LI <aaronly.me@outlook.com>2017-02-12 18:41:56 +0800
commit1f120458658f131b19ee400fbf34de9e16aee30b (patch)
treee538da76d8d7f037b3791632f536792eb2e6b3ff
parentc8c9045555ebbb6bac1ac8dc29f54c20d579c713 (diff)
downloadcexcess-1f120458658f131b19ee400fbf34de9e16aee30b.tar.bz2
calc_coolfunc.py: Fix a minor typo
-rwxr-xr-xcalc_coolfunc.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/calc_coolfunc.py b/calc_coolfunc.py
index cf49afd..f589621 100755
--- a/calc_coolfunc.py
+++ b/calc_coolfunc.py
@@ -4,9 +4,11 @@
#
# Aaron LI
# Created: 2016-06-19
-# Updated: 2016-07-13
+# Updated: 2017-02-09
#
# Change logs:
+# 2017-02-09:
+# * Fix a minor error of the default 'energy_high' value
# 2016-07-13:
# * Error on missing user config file
# * Add check of the existence of t_profile
@@ -204,7 +206,7 @@ def main():
"redshift": redshift,
"nh": config.as_float("nh"),
"energy_low": float(config.get("energy_low", 0.7)),
- "energy_high": float(config.get("energy_high", 0.7)),
+ "energy_high": float(config.get("energy_high", 7.0)),
"xspec_script": config["xspec_script"],
"coolfunc": config["coolfunc"],
"apec_norm": calc_apec_norm(z=redshift),