ocular-motor-lab / OpenIris

GNU Affero General Public License v3.0
9 stars 1 forks source link

cameras out of sync in datafile #40

Open jotero opened 8 months ago

jotero commented 8 months ago

the digital synchronization signal sent to both FLIR cameras is not aligned in the data (.txt) file. I've included two figures demonstrating that this asynchrony is >1500 samples long. The cameras both correctly sampled the digital signal, as demonstrated by the ability to align the signals, but I'm not sure what would result in the two camera signals being misaligned in the data file. I assumed that data asynchrony would be impossible since the shutter of one camera triggers the shutter on the other camera (i.e. each row in the .txt file should correspond to a pair of frames captured nearly simultaneously between the two cameras). Do you know what could cause this problem? I see two possible options: 1) The two cameras are capturing frames synchronously but the data streams became misaligned somehow while saving or 2) the two cameras are not synchronized and are capturing according to their framerate which became misaligned somehow.