add_port_holds#

add_port_holds(df_in: DataFrame, port_number: int = 2, events: EventColumns | None = None) → DataFrame[source]#

Adds port<N>_holds: the duration of every poke in that port during the trial (including the ITI), as an array per trial.