Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

Adding screen distance to raw data log

Hi developers of PyGaze,

Thank you for the great work!

I am using a Tobii Spectrum 600 Hz with Tobii PRO SDK (TobiiPro.SDK.Python.Windows_1.7.0.3) to collect task-contingent eyetracking data through PyGaze implementation in Open Sesame software. In my raw data log, data is lacking about the distance between the eyes and the screen (screen distance), while I need this information to analyse oculomotor behavior (e.g. with GazePath).

How can I change the file in PyGaze in order to add the screen distance for both eye seperately to the raw data output? Or would it be better to calculate distance post-hoc after data collection?

Also see the attached script that I am using.

Thanks again and kind regards,



  • Hi Marsh,

    screen distance is something that should be fixed during the recording, no? Or do you have some sort of mobile eye tracking setup? If it is a fixed setup, the screen distance shouldn't change, so then, you could manually send a log message to the eye tracker with the screen distance. If it is easy to add screen distance posthoc, that is of course also a good option (given that you just have to add a single value). Logging with pygaze works with the log_var command:

    Hope this helps,


    Buy Me A Coffee

  • Dear Eduard,

    Thank you for you reply!

    The eye-tracker is fixed to the screen, but we cannot use a head mount (we are studying babies and infants). The distance is determined during calibration and logged. However, the kids can wiggle around with their heads, slightly changing the distance to the screen. Therefore, I consider that it may be wise to calculate the distance as a continuous variable to go along with the gaze data during data processing, or do you disagree?

    All the best,


  • Hi Marsh,

    No, sure if you can take the distance into account, but do you have such a measure? I am not familiar with that specific eye tracker, but if the kids move enough to make the change in distance really matter for dva, I would expect that the eye tracking itself becomes problematic, signal loss, etc.

    Also, I don't think there is an eye-tracker specific way to measure screen distance, as this is usually a constant. You would need to make this measurement yourself (with some sender/receiver setup), and merge that information with the eye data (probably post-hoc). Not sure that's worth the trouble....


    Buy Me A Coffee

Sign In or Register to comment.

agen judi bola , sportbook, casino, togel, number game, singapore, tangkas, basket, slot, poker, dominoqq, agen bola. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 50.000 ,- bonus cashback hingga 10% , diskon togel hingga 66% bisa bermain di android dan IOS kapanpun dan dimana pun. poker , bandarq , aduq, domino qq , dominobet. Semua permainan bisa dimainkan hanya dengan 1 ID. minimal deposit 10.000 ,- bonus turnover 0.5% dan bonus referral 20%. Bonus - bonus yang dihadirkan bisa terbilang cukup tinggi dan memuaskan, anda hanya perlu memasang pada situs yang memberikan bursa pasaran terbaik yaitu Bola168. Situs penyedia segala jenis permainan poker online kini semakin banyak ditemukan di Internet, salah satunya TahunQQ merupakan situs Agen Judi Domino66 Dan BandarQ Terpercaya yang mampu memberikan banyak provit bagi bettornya. Permainan Yang Di Sediakan Dewi365 Juga sangat banyak Dan menarik dan Peluang untuk memenangkan Taruhan Judi online ini juga sangat mudah . Mainkan Segera Taruhan Sportbook anda bersama Agen Judi Bola Bersama Dewi365 Kemenangan Anda Berapa pun akan Terbayarkan. Tersedia 9 macam permainan seru yang bisa kamu mainkan hanya di dalam 1 ID saja. Permainan seru yang tersedia seperti Poker, Domino QQ Dan juga BandarQ Online. Semuanya tersedia lengkap hanya di ABGQQ. Situs ABGQQ sangat mudah dimenangkan, kamu juga akan mendapatkan mega bonus dan setiap pemain berhak mendapatkan cashback mingguan. ABGQQ juga telah diakui sebagai Bandar Domino Online yang menjamin sistem FAIR PLAY disetiap permainan yang bisa dimainkan dengan deposit minimal hanya Rp.25.000. DEWI365 adalah Bandar Judi Bola Terpercaya & resmi dan terpercaya di indonesia. Situs judi bola ini menyediakan fasilitas bagi anda untuk dapat bermain memainkan permainan judi bola. Didalam situs ini memiliki berbagai permainan taruhan bola terlengkap seperti Sbobet, yang membuat DEWI365 menjadi situs judi bola terbaik dan terpercaya di Indonesia. Tentunya sebagai situs yang bertugas sebagai Bandar Poker Online pastinya akan berusaha untuk menjaga semua informasi dan keamanan yang terdapat di POKERQQ13. Kotakqq adalah situs Judi Poker Online Terpercayayang menyediakan 9 jenis permainan sakong online, dominoqq, domino99, bandarq, bandar ceme, aduq, poker online, bandar poker, balak66, perang baccarat, dan capsa susun. Dengan minimal deposit withdraw 15.000 Anda sudah bisa memainkan semua permaina pkv games di situs kami. Jackpot besar,Win rate tinggi, Fair play, PKV Games