annotate_delta_out#
- pymovements.measure.reading.annotate_delta_out(fixations: DataFrame) DataFrame[source]#
Annotate fixations with the difference in word index to the next fixation.
- Parameters:
fixations (pl.DataFrame) – Fixation-level DataFrame. Must contain
word_idxandnext_word_idxcolumns.- Returns:
Input DataFrame with an additional
delta_outcolumn.- Return type:
pl.DataFrame