add_early_pokeouts#

add_early_pokeouts(df_in: DataFrame, events: EventColumns | None = None) → DataFrame[source]#

Adds a boolean column ‘early_pokeout’ to the dataframe indicating whether there was an early pokeout in the center port before holding the required time. This is irrespective of whether the trial was correct or incorrect.