AllenNeuralDynamics / AllenNeuralDynamics/openscope-community-predictive-processing

Timing misalignment with 776270

オープン
#107 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Python
スター
26
フォーク
13
PR マージ指標
30日以内にマージされた PR はありません

説明

Adding an issue to record what @maierav reported [here](https://github.com/AllenNeuralDynamics/openscope-community-predictive-processing/discussions/105)

*Context:*
For synchronization we run the SLAP2 microscope in ~20s intervals and then send a quick stop and start pulse and record the harp times for these. We can retrieve an estimate of the timing by getting the slap2 start and stop times and linearly interpolating along with the number of recorded slap2 measurements. So far, we had a bug in Bonsai where it unreliably sends/records an additional stop pulse (or 2) beyond what is recorded in our slap2 trials. To combat this we need to intelligently determine when to remove these initial stop trials pulses.

*The issue here:*
I was deleting one additional stop pulse, so the stop trial times were shortly before the start trial times, so when interpolating the timestamps it generated negative timestamps.

*The fix:*
For this session I had to add a parameter to manually slice off the unexpected trial records. @jeromelecoq expects this is fixed in Bonsai for future sessions. It may be the case that 803496 has a similar bug, I will need to verify the trial times are correct and repackage with this parameter if they are not.

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

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

評価

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

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

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