Tobii眼动仪 python SDK 时间同步的技巧

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

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):
评论 5
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值