Migrate from process_nwb.py, but need to assign df_licks (maybe df_events) based on gocue to gocue time, not start/stop time - [ ] n_licks_left (# of left licks in response window) - [ ] n_licks_left_total (# of left licks from goCue to next go cue) - [ ] n_licks_right - [ ] n_licks_right_total - [ ] n_licks - [ ] n_licks_total - [ ] n_intertrial_choices (how many licking bouts other than cue response) - [ ] n_intertrial_switches (how many intertrial choices are switches) - [ ] choice_repeat (True if cue response was repeat, False if switch) - [ ] trial duration (stop-time - start-time) - [ ] more here (https://github.com/AllenNeuralDynamics/aind-foraging-behavior-bonsai-basic/blob/5bd0db90bf9182a969bcb3c52af77c8bb9a36f19/code/process_nwbs.py#L87-L93)
Migrate from process_nwb.py, but need to assign df_licks (maybe df_events) based on gocue to gocue time, not start/stop time