Update src/seismic_hazard_forecasting.py
fix time_win_duration name
This commit is contained in:
@@ -616,7 +616,7 @@ verbose: {verbose}")
|
||||
|
||||
#-------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(
|
||||
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-----
|
||||
if len(cps) > 0:
|
||||
|
||||
Reference in New Issue
Block a user