Synchronize the gaze with the video
Holt Lab
Could be interesting that the timestamp from the gaze would be already aligned with the timestamp from the video. Right now when you do the synchronization between them the gaze is modified.
Log In
M
Marc Tonsen (Pupil Labs)
Currently, the recommended approach for aligning timestamps of different sensors using their raw data exports is to use functionality like the "merge_asof" method in the Pandas library. There is a how-to guide on this here:
I can definitely see room for improvement here, as this type of timestamp alignment is a common task and some more automation would be handy.
On improvement could be to add a column "world frame index" to the gaze data, that points to the world frame that is closest to the gaze sample. Might that be helpful?
None of this should be modifying the gaze data though. Could you elaborate what modifications you mean?