-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Annotating licks into bouts #16
Conversation
@rachelstephlee @hanhou This is ready for review |
Haven't checked the code, but a quick question: are bouts independent of trials? In other words, if there are more than one bouts in a trial, all bouts from the second on are considered as "unrewarded bouts" (red circles below)? We may also need to align PSTH to the first bout after the go cue (essentially the "choice lick"). |
The concept of a We could add another annotation of bouts as "first after a go cue" (or whatever we want to call it). |
@hanhou I went ahead and added a function |
@hanhou This does what you suggested
|
Add lick annotations to session scroller
Compute FIP PSTH aligned to rewarded and unrewarded goCues
Compute FIP PSTH aligned to rewarded and unrewarded lick bout starts