Remove unnecessary comment regarding splitting valid intervals in rule_base_event.py
This commit is contained in:
parent
ddedfbf2cf
commit
f79f42fae7
@ -225,8 +225,6 @@ def position_based_sleep_recognition_v2(signal_data, movement_mask, sampling_rat
|
||||
valid_starts = np.where(np.diff(np.concatenate([[0], valid_mask])) == 1)[0]
|
||||
valid_ends = np.where(np.diff(np.concatenate([valid_mask, [0]])) == -1)[0]
|
||||
|
||||
# 对于有效区间大于12分钟的,拆成多个5分钟
|
||||
|
||||
movement_start = np.where(np.diff(np.concatenate([[0], movement_mask])) == 1)[0]
|
||||
movement_end = np.where(np.diff(np.concatenate([movement_mask, [0]])) == -1)[0]
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user