Howdy, Stranger!

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

Supported by

Open Sesame Output - variables eyeposition x/y/z missing

Hi guys,

I recently decided to use Open Sesame along with our Tobii TX-300 Eyetracker to perform a antisaccade paradigm. So far, everything works fine. I just have one major issue I need to resolve:

The output-file from Tobii only contains gaze-points on the display and pupil size for left and right pupil. To calculate reaction times from the central cue to the target cue, I would also need the eye-position from each participant in the room (x, y, z coordinates) - I couldn't find any possibility to change the output. Is there a solution for this?

Thanks for your help in advance,

Alex

Comments

  • Hi,

    I think one way to change the Tobii log-file is by actually changing the libtobii.py in Pygaze package. In this way you can control what is written in the log.

    You can find this file in you OpenSesame folder, under \Lib\site-packages\pygaze\_eyetracker\libtobii.py

    However, I recommend making a copy of the original before making changes.

    My guess is you need to change the following lines, and add your variables:

    self.datafile.write('%.4f\t\t%d\t%d\t%d\t%d\t%d\t%d' % (

                               (sample['system_time_stamp'] - self.t0) / 1000.0,

                               left_gaze_point[0],

                               left_gaze_point[1],

                               sample['left_gaze_point_validity'],

                               right_gaze_point[0],

                               right_gaze_point[1],

                               sample['right_gaze_point_validity']))

    Hope this helps.

    Cheers,

    Paula

  • Hi Paula,


    thanks for the hint, very helpful!

    Do you know if there is a list of all available variable names? I'm a bit confused with the wording of the variables as they are different in Tobii Pro Lab than in the libtobii.py file, and I guess it's necessary to name them same as the eyetracker does itself. For example there is GazePointXLeft in the logfile as one column, but in the lines self.datafile.write there is the wording left_gaze_point [0] / [1]. If I want to add Eye Position Left X/Y/Z, do I need to put a line with left_eye_position [0] / [1] / [2] to the self.datafile.write (its three dimensions)?


    Thank you, Alex

  • Hi Alex,

    Sorry, but I can't help you further. I don't know the variable names... Your intuition looks correct, though.

    All the best,

    Paula

  • Hi,


    What Paula says seems to make sense, but in addition to changing the variables you want to log, you also have to change the names you give the columns. The piece of code above, only describes how additional lines are added to the files, not how the file is set up. I don't have a tobii, so don't know where this would be needed to be done, but maybe it will be helpful to you.

    Good luck,

    Eduard

    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 http://45.77.173.118/ 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