Raw gaze¶
Samples under translucent fixations. The demo samples are synthetic.
- Select the bundled demo in Scanpath, then participant
l37_1129and triall37_1129_2_2_2_Adv_r0. Start with Reset visualization, turn off Stimulus → Highlight → Show. - Turn on Raw gaze and turn off Saccades.
- In Fixations ▾ → Marker → Opacity, choose 0.35 so the samples show through.
import scanpath_studio as sps
words, fixations = sps.load_sample_data()
pid, tid = "l37_1129", "l37_1129_2_1_1_Ele_r0"
raw_gaze = sps.load_sample_raw_gaze()
fig = sps.plot_scanpath(
words,
fixations,
"l37_1129",
"l37_1129_2_2_2_Adv_r0",
raw_gaze=raw_gaze,
highlight_column=None,
fixation_opacity=0.35,
show_saccades=False,
)
sps.save_figure(fig, "raw-gaze.html")