first_reading_time#
- pymovements.measure.reading.first_reading_time(fixations: DataFrame) DataFrame[source]#
Compute the sum of fixation durations during the first run (FRT).
FRT is the total dwell time from first entering a word until first leaving it (i.e., the first contiguous run of fixations).
- Parameters:
fixations (pl.DataFrame) – Fixation table containing at least
trial,page,word_idx,run_id, anddurationcolumns.- Returns:
DataFrame with columns
trial,page,word_idx, andFRT.- Return type:
pl.DataFrame