Update src/seismic_hazard_forecasting.py
This commit is contained in:
@@ -151,9 +151,12 @@ def compute_IMT_exceedance(rx_lat, rx_lon, r, fr, p, lambdas, D, percentages_D,
|
|||||||
# Check function values at different test points
|
# Check function values at different test points
|
||||||
IMT_mid = (IMT_max-IMT_min)/2
|
IMT_mid = (IMT_max-IMT_min)/2
|
||||||
|
|
||||||
return None
|
|
||||||
|
|
||||||
lower_bound_value = exceedance_root_function(IMT_min)
|
lower_bound_value = exceedance_root_function(IMT_min)
|
||||||
|
|
||||||
|
return None
|
||||||
|
|
||||||
mid_point_value = exceedance_root_function(IMT_mid)
|
mid_point_value = exceedance_root_function(IMT_mid)
|
||||||
upper_bound_value = exceedance_root_function(IMT_max)
|
upper_bound_value = exceedance_root_function(IMT_max)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user