first_duration#

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

Duration of the first fixation on each word (FD), regardless of reading pass.

Warning

Requires onset-sorted input.

Parameters:

duration (str | pl.Expr) – Column name or expression of the fixation duration. (default: 'duration')

Returns:

Aggregation expression producing the FD column.

Return type:

pl.Expr