aolabNeuro / aolabNeuro/analyze

Best way to tabulate data when sync_events and bmi3d_events are different

オープン
#502 コメント 2 件 リアクション 0 件 担当者 0 名 GitHub で見る
inconsistency
主要言語
Python
スター
7
フォーク
0
平均マージ
22時間 29分
マージ済み PR(30日)
2

説明

When `len(exp_data['sync_events']) != len(exp_data['bmi3d_events']`, 'bmi3d_events' is more trustworthy.

But `tabulate_behavior_data()` uses 'sync_events' (i.e. 'events') to segment trials. Not sure what causes this bug in 'sync_events' - maybe related to pause bug or non-zero values in `exp_data['sync_events']['data']`?

To avoid the bug, `get_ref_dis_frequencies()` uses 'bmi3d_events' but then the number of trial segments doesn't match up with the df from `tabulate_behavior_data()`. Potential fixes: handle data differently when # of 'events' and 'bmi3d_events' doesn't match, or find another method for getting the frequencies that works either way

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。