first_reading_time#

pymovements.measure.reading.first_reading_time(duration: str | Expr = 'duration', run_id: str | Expr = 'run_id') → Expr[source]#

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:
  • duration (str | pl.Expr) – Column name or expression of the fixation duration. (default: 'duration')

  • run_id (str | pl.Expr) – Column name or expression of the run ID. (default: 'run_id')

Returns:

Aggregation expression producing the FRT column.

Return type:

pl.Expr