is_reg_in#

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

Flag fixations that arrive from a higher-index word (regression in).

Row-wise, no window needed.

Parameters:

delta_in (str | pl.Expr) – Column name or expression of the word index difference from the previous fixation. (default: 'delta_in')

Returns:

Expression producing the is_reg_in column.

Return type:

pl.Expr