Update src/seismic_hazard_forecasting.py
This commit is contained in:
@@ -158,11 +158,13 @@ def compute_IMT_exceedance(rx_lat, rx_lon, r, fr, p, lambdas, D, percentages_D,
|
|||||||
|
|
||||||
mid_point_value = exceedance_root_function(IMT_mid)
|
mid_point_value = exceedance_root_function(IMT_mid)
|
||||||
|
|
||||||
return None
|
|
||||||
|
|
||||||
|
|
||||||
upper_bound_value = exceedance_root_function(IMT_max)
|
upper_bound_value = exceedance_root_function(IMT_max)
|
||||||
|
|
||||||
|
return None
|
||||||
|
|
||||||
|
|
||||||
logger.info(f"Receiver: {str(rx_label)}")
|
logger.info(f"Receiver: {str(rx_label)}")
|
||||||
logger.info(f"Function value at {imt} = {str(IMT_min)} : {lower_bound_value}")
|
logger.info(f"Function value at {imt} = {str(IMT_min)} : {lower_bound_value}")
|
||||||
logger.info(f"Function value at {imt} = {str(IMT_mid)} : {mid_point_value}")
|
logger.info(f"Function value at {imt} = {str(IMT_mid)} : {mid_point_value}")
|
||||||
|
Reference in New Issue
Block a user