Raw gaze¶
EyeLink gaze samples recorded at 1,000 Hz under translucent fixation markers.
- Open the bundled demo in the Scanpath View. In Select trial, choose
l37_273and2_2_2_Adv. - Turn on Raw gaze and turn off Saccades.
- In Fixations → Opacity, set 0.35 so the samples show through.
import scanpath_studio as sps
words, fixations = sps.load_sample_data()
pid, tid = "l37_273", "l37_273_2_2_2_Adv"
raw_gaze = sps.load_sample_raw_gaze()
fig = sps.plot_scanpath(
words,
fixations,
pid,
tid,
raw_gaze=raw_gaze,
fixation_opacity=0.35,
show_saccades=False,
)
sps.save_figure(fig, "raw-gaze.html")