Update src/seismic_hazard_forecasting.py

fix time_win_duration name
This commit is contained in:
2026-06-19 15:08:17 +02:00
parent a00d4d6f52
commit 4212037a78
+1 -1
View File
@@ -616,7 +616,7 @@ verbose: {verbose}")
#-------split the data into bins and apply BEAST for changepoint detection-------------------- #-------split the data into bins and apply BEAST for changepoint detection--------------------
act_rate, bin_counts, bin_edges, bin_edges_dt, out, cps, rt, boundaries, bin_dur, time_unit = bins_and_beast( act_rate, bin_counts, bin_edges, bin_edges_dt, out, cps, rt, boundaries, bin_dur, time_unit = bins_and_beast(
np.array(datenum_data), time_unit, time_range, multiplicator) np.array(datenum_data), time_unit, time_win_duration, multiplicator)
#------Forecasted rate is taken from BEAST or is equal to last value if no changepoints detected----- #------Forecasted rate is taken from BEAST or is equal to last value if no changepoints detected-----
if len(cps) > 0: if len(cps) > 0: