AllenInstitute / mindscope_utilities

Utilities for loading, manipulating and visualizing data from the Allen Institute Mindscope program
Other
2 stars 1 forks source link

adapt get_stimulus_response_df to work with behavior timeseries #42

Closed matchings closed 2 years ago

matchings commented 3 years ago

it is highly desirable to be able to create a dataframe akin to the output of get_stimulus_response_df but with behavior timeseries (running_speed, pupil_area) instead of cell traces. This will likely require creating a build_tidy_behavior_df function in parallel to the build_tidy_cell_df function, and then have get_stimulus_response_df take running_speed or pupil_area as inputs to data_type, which would then use build_tidy_behavior_df instead of build_tidy_cell_df behind the scenes.