saccade_length_in#

pymovements.measure.reading.saccade_length_in(word_idx: str | Expr = 'word_idx', prev_word_idx: str | Expr = 'prev_word_idx', is_first_fix: str | Expr = 'is_first_fix') → Expr[source]#

Saccade length at word entry (SL_in).

SL_in is the signed word distance between the current word and the previously fixated word at the moment of the very first fixation on the current word, selected via the is_first_fix annotation (see is_first_fixation()). Null when the word starts the sequence.

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

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

  • is_first_fix (str | pl.Expr) – Column name or expression of the first-fixation flag. (default: 'is_first_fix')

Returns:

Aggregation expression producing the SL_in column.

Return type:

pl.Expr