custom AOI feature, changes to plotting and activity rate calculation #24

Merged
ymlesni merged 50 commits from July2026 into master 2026-07-22 12:43:46 +02:00
Showing only changes of commit 4212037a78 - Show all commits
+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: