delta_out#

pymovements.measure.reading.delta_out(word_idx: str | Expr = 'word_idx', next_word_idx: str | Expr = 'next_word_idx') → Expr[source]#

Compute the difference in word index to the next fixation.

Row-wise, no window needed.

Parameters:
  • word_idx (str | pl.Expr) – Column name or expression of the fixated word index. (default: 'word_idx')

  • next_word_idx (str | pl.Expr) – Column name or expression of the next fixation’s word index. (default: 'next_word_idx')

Returns:

Expression producing the delta_out column.

Return type:

pl.Expr