Adjust Y-axis limits in draw_statics.py and update resp_movement parameters in HYS_config.yaml
This commit is contained in:
parent
965f88843a
commit
7e3459d9f1
@ -30,15 +30,15 @@ resp_low_amp:
|
|||||||
min_duration_sec: 30
|
min_duration_sec: 30
|
||||||
|
|
||||||
resp_movement:
|
resp_movement:
|
||||||
window_size_sec: 30
|
window_size_sec: 20
|
||||||
stride_sec: 5
|
stride_sec: 5
|
||||||
std_median_multiplier: 5
|
std_median_multiplier: 5
|
||||||
compare_intervals_sec:
|
compare_intervals_sec:
|
||||||
- 60
|
- 60
|
||||||
- 90
|
- 90
|
||||||
interval_multiplier: 3.5
|
interval_multiplier: 3.5
|
||||||
merge_gap_sec: 45
|
merge_gap_sec: 30
|
||||||
min_duration_sec: 10
|
min_duration_sec: 5
|
||||||
|
|
||||||
bcg:
|
bcg:
|
||||||
downsample_fs: 100
|
downsample_fs: 100
|
||||||
|
|||||||
@ -278,7 +278,7 @@ def draw_signal_with_mask(samp_id, signal_data, resp_data, bcg_data, signal_fs,
|
|||||||
# 重新锁定 ax1 的 Y 轴范围
|
# 重新锁定 ax1 的 Y 轴范围
|
||||||
ax0_twin.set_ylim(-2, 2)
|
ax0_twin.set_ylim(-2, 2)
|
||||||
elif event_ax == ax1_twin:
|
elif event_ax == ax1_twin:
|
||||||
ax1_twin.set_ylim(-3, 5)
|
ax1_twin.set_ylim(-4, 5)
|
||||||
elif event_ax == ax2_twin:
|
elif event_ax == ax2_twin:
|
||||||
ax2_twin.set_ylim(-4, 2)
|
ax2_twin.set_ylim(-4, 2)
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user