time_synchronization
首先官方Python - SDK reference guide中有一个time_synchronization_data.py的例子。官方注解如下:
You will get a callback when the computer and the eye trackers clocks gets synchronized. To handle normal drifts between clocks the clocks are checked on regular basis, and this results in that the time stamps are adjusted for the drifts in the data streams. This drift handling is done in real time.
The data received from this event could be used for an even more accurate drift adjustment in the post processing.Callbacks will receive a TimeSynchronizationData object or a dictionary with values if as_dictionary is True.
中心思想能提高时间的漂移,提高时间同步的精度。
示例的代码,会间隔一段时间同时打印出三组时间戳
- system request time stamp
- device time stamp
- system response time stamp
此数据便是我们进行设备时间同步的关键依据。
- 但不理解的是这个模块内部运算规则是怎么进行的,三个时间戳间隔一段时间做差值进行比较?
- 哪一个时间戳是real time?
def execute(eyetracker):

本文深入探讨了眼动追踪设备与计算机时间同步的原理与实践,通过Python SDK示例,讲解如何利用时间同步模块调整时间漂移,提高数据采集精度。文中详细解释了系统请求时间戳、设备时间戳及系统响应时间戳的作用,以及如何在实时应用中进行时间校准。
最低0.47元/天 解锁文章
5596





