add_time_between_trials#

add_time_between_trials(df_in: DataFrame) → DataFrame[source]#

Adds time_between_trials: time from the start of the previous trial of the same session (NaN for the first trial of each session).