anne-urai / human_ibl_snapshots

2 stars 1 forks source link

Pupillometry #15

Open anne-urai opened 5 months ago

anne-urai commented 5 months ago

Image

anne-urai commented 5 months ago
anne-urai commented 5 months ago

We should also talk with Chris and Evania from the COPAN lab about collecting facial video data together with eyetracking: #32

anne-urai commented 1 month ago
anne-urai commented 3 weeks ago

first, use edf2asc tool

import mne

# load pupil data:
raw_et = mne.io.read_raw_eyelink(filename)
raw_et_df = raw_et.to_data_frame()
events = raw_et.annotations.to_data_frame()
events['onset'] = raw_et.annotations.onset

# interpolate blinks:
mne.preprocessing.eyetracking.interpolate_blinks(raw_et, buffer=(0.05, 0.1), interpolate_gaze=True)
anne-urai commented 1 week ago

Things to fix before pupil experiment works