Update src/seismic_hazard_forecasting.py

This commit is contained in:
2025-08-22 11:23:33 +02:00
parent 524f04389f
commit ba2ff8ba6e

View File

@@ -26,6 +26,8 @@ def my_trivial_task(x):
def compute_IMT_exceedance(rx_lat, rx_lon, r, fr, p, lambdas, D, percentages_D, magnitudes, magnitude_pdf, magnitude_cdf, model, imt='PGA', IMT_min=0.01, IMT_max=2.0, rx_label=None, rtol=0.1, use_cython=False, **kwargs): def compute_IMT_exceedance(rx_lat, rx_lon, r, fr, p, lambdas, D, percentages_D, magnitudes, magnitude_pdf, magnitude_cdf, model, imt='PGA', IMT_min=0.01, IMT_max=2.0, rx_label=None, rtol=0.1, use_cython=False, **kwargs):
return 0
n_events = len(r) n_events = len(r)
try: try: