AllenNeuralDynamics / AllenNeuralDynamics/aind-metadata-mapper

Behavior stimulus table should include passive time period

未关闭
#243 1 条评论 0 个 reaction 已指派 1 人 已被 @Ahad-Allen 认领 在 GitHub 查看
主要语言
Python
星标
0
派生
2
平均合并
1 天 7 小时
30 天内合并 PR
1

描述

**Is your feature request related to a problem? Please describe.**
When attempting to generate a stim table for our ecephys project, whose pickle file includes both passive and active stimulus epochs, the resulting behavior table does not include the passive epochs.

**Describe the solution you'd like**
[Here](https://github.com/AllenNeuralDynamics/aind-metadata-mapper/blob/e8f978329ef1a53cbd1ce5c6d3439ad909298c6c/src/aind_metadata_mapper/open_ephys/utils/behavior_utils.py#L886)
A passive dataframe should be generated from the information in `pkl['items']['behavior']['items']` and then joined with the existing stimulus dataframe.

**Describe alternatives you've considered**
We could possibly generate two different stim tables?

**Additional context**
N/A

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。