fix bug calculate find_tps_tm when the end time fall into the last 5 minute of a day
Compare changes
- Lan Dam authored
handling_data.py: change name of each_day_5_min_list to be more descriptive; handle when time passed to find_tps_tm_idx is at the last 5m of the last day
+ 41
− 26
@@ -822,14 +822,15 @@ def trim_downsample_wf_chan(chan: Dict, start_tm: float, end_tm: float,
@@ -841,43 +842,57 @@ def get_each_day_5_min_list(start_tm: float, end_tm: float) -> np.ndarray: