total_fixation_count#

pymovements.measure.reading.total_fixation_count(fixations: DataFrame) DataFrame[source]#

Compute the total number of fixations on each word (TFC).

Parameters:

fixations (pl.DataFrame) – Fixation table containing at least trial, page, and word_idx columns.

Returns:

DataFrame with columns trial, page, word_idx, and TFC.

Return type:

pl.DataFrame