-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathtrial.py
33 lines (32 loc) · 1.38 KB
/
trial.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
'Bpod start timestamp': 3.682831,
'Trial start timestamp': 3.682831,
'Trial end timestamp': 20.529734,
'States timestamps': {
'block_0': [(0, 0.0001)],
'start': [(0.0001, 1.0001)],
'reset_rotary_encoder_wheel_stopping_check': [(1.0001, 1.0002)],
'wheel_stopping_check': [(1.0002, 2.0002)],
'present_stim': [(2.0002, 3.0002)],
'reset_rotary_encoder_open_loop': [(3.0002, 3.0003)],
'open_loop': [(3.0003, 12.3466)],
'stop_open_loop_reward_left': [(12.3466, 14.3466)],
'check_reward_left': [(14.3466, 14.3467)],
'no_reward_left': [(14.3467, 14.3468)],
'reward_left_waiting': [(
14.3468, 15.3468)],
'inter_trial': [(15.3468, 16.8468)],
'end_state': [(16.8468, 16.8469)],
'wheel_stopping_check_failed_punish': [(nan, nan)],
'stop_open_loop_fail': [(nan, nan)],
'open_loop_fail_punish': [(nan, nan)],
'stop_open_loop_reward_right': [(nan, nan)],
'check_reward_right': [(nan, nan)],
'no_reward_right': [(nan, nan)],
'reward_right_waiting': [(nan, nan)]
},
'Events timestamps': {
'Tup': [0.0001, 1.0001, 1.0002, 2.0002, 3.0002, 3.0003, 14.3466, 14.3467, 14.3468, 15.3468, 16.8468, 16.8469],
'RotaryEncoder1_4': [10.8062],
'RotaryEncoder1_3': [11.3262],
'RotaryEncoder1_2': [12.3466]
}