aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVolker Hoffmann <volker@cheleb.net>2015-08-11 11:16:40 +0200
committerVolker Hoffmann <volker@cheleb.net>2015-08-11 11:16:40 +0200
commitae46e6996fb090905ba7c2e2ff772e0d0fe9b107 (patch)
treee5f6e3a4c44300c3f3c135720b71603aea98cfb1
parent913df3c914e54ed6c62c3dc93bee9417702b379e (diff)
feat: set default upper time for calibration
-rw-r--r--Helpers/impact_helpers.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/Helpers/impact_helpers.py b/Helpers/impact_helpers.py
index dec516d..cf45820 100644
--- a/Helpers/impact_helpers.py
+++ b/Helpers/impact_helpers.py
@@ -368,10 +368,13 @@ def load_all():
# For Morby/Morby_HD runs, the lower time limit is a dummy values. All
# calibrations for these are obtained from Blowup2/Blowup2_HD runs
#
+ # For the upper time limit, we chop off the last 100 Myr because our
+ # cummulative impact count drops steeply. Courtesy of being logarithmic.
+ #
tlo_all = np.array([tblowup, tblowup, \
0.0, 0.0, \
tblowup, tblowup, tblowup ])
- thi_all = np.ones_like(tlo_all) * np.nan
+ thi_all = np.ones_like(tlo_all) * 9.0e9 * 36.0 / 365.25
assert len(dfc_all) == len(dfe_all) == len(blk_all) == \
len(tag_all) == len(tlo_all) == len(thi_all) == len(dfo_all)