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.
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 abuild_tidy_behavior_df
function in parallel to thebuild_tidy_cell_df
function, and then haveget_stimulus_response_df
takerunning_speed
orpupil_area
as inputs todata_type
, which would then usebuild_tidy_behavior_df
instead ofbuild_tidy_cell_df
behind the scenes.