AllenInstitute / visual_behavior_analysis

Python package for analyzing behavioral data for Brain Observatory: Visual Behavior
Other
21 stars 6 forks source link

Annotate bouts on stimulus_presentations table #727

Closed alexpiet closed 2 years ago

alexpiet commented 3 years ago

Port this function https://github.com/alexpiet/licking_behavior/blob/master/src/psy_metrics_tools.py#L106

Adds columns to the stimulus_presentations table

Although I can't think of a use case other than the behavior model, might be low priority

dougollerenshaw commented 3 years ago

Is that repo that you linked private? I see a 404 error when I click the link.

alexpiet commented 3 years ago

oh yeah I forgot that. I do dev work on my repo, and then I copy to an allen institute repo. I dont know what I have it set up that way.

Anyways you should be able to see this function: https://github.com/AllenInstitute/licking_behavior/blob/master/src/psy_metrics_tools.py#L106