呼吸体动检测基本稳定调整
This commit is contained in:
parent
f258838a86
commit
85f2408f13
@ -195,7 +195,7 @@ def movement_revise(signal_data, sampling_rate, movement_mask, movement_list, up
|
||||
# 往左右两边取compare_size个点的mav,取平均值
|
||||
for start, end in movement_list:
|
||||
left_points = start - 5
|
||||
right_points = end + 5
|
||||
right_points = end + 10
|
||||
|
||||
left_values = collect_values(arr=mav, index=left_points, step=-1, limit=compare_size, mask=movement_mask)
|
||||
right_values = collect_values(arr=mav, index=right_points, step=1, limit=compare_size, mask=movement_mask)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user