AllenNeuralDynamics / AllenNeuralDynamics/aind-metadata-mapper

Behavior stimulus table should include passive time period

オープン
#243 コメント 1 件 リアクション 0 件 担当者 1 名 @Ahad-Allen が担当を希望しています GitHub で見る
主要言語
Python
スター
0
フォーク
2
平均マージ
1日 7時間
マージ済み PR(30日)
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 を短くまとめたダイジェスト。