Heatmap
Where fixation time concentrates.
- Open your data in the Scanpath view and pick a trial in Select trial.
- Turn on Heatmap. In Heatmap ▾ → Style, choose Smoothed. Keep Color → By at Duration (ms).
- Turn off Fixations and Saccades, and keep Stimulus on.
Open the demo · All controls
scanpath-studio render --sample \
-p l37_1129 -t l37_1129_2_1_1_Ele \
--heatmap --heatmap-style smoothed --no-fixations --no-saccades \
--highlight-column '' \
-o heatmap.html
import scanpath_studio as sps
words, fixations = sps.load_sample_data()
pid, tid = "l37_1129", "l37_1129_2_1_1_Ele"
fig = sps.plot_scanpath(
words,
fixations,
pid,
tid,
show_heatmap=True,
heatmap_style="Smoothed",
show_fixations=False,
show_saccades=False,
)
sps.save_figure(fig, "heatmap.html")
← All examples