Howdy, Stranger!

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

Supported by

[open] Using a GazePoint GP3 eye tracker with OpenSesame

edited November 2015 in OpenSesame

Dear fellow Opensesame users,

I've been looking in to using a gazepoint GP3 eye tracker with Opensesame, with some success, but I'm concerned I'm doing this in an inelegant, or even dangerous way. (note: I have of course read the existing threads about the using a gazetracker eye tracker with Opensesame).

The GP3 is treated as a network device, and it's possible to communicate with it via the API through XML commands. I can communicate with it using sockets and python inline scripts- this is all fine.

I am wanting to log certain data from the eye tracker (left/right eye focus at a particular time etc.) during experimental trials, which are of a variable length - terminating upon a keypress event in the experimental trial. (nb. I also want to record the keypress data).

I've created a global variable to flag when the eyetracker should be recording. The experimental trial runs parallel (in a parallel item) with an inline script that polls the eye tracker continuously whilst the previously mentioned flag is true. When the experimental trial is finished (e.g. a key has been pressed), another inline script (below the keypress event) sets the global flag to zero. This stops the recording (and writing the x,y and time co-ordinates to the log file via self.log(). Hopefully this makes sense.

Is there a better way to run the script to collect the eye tracking data for an arbitrary period of time? Does what I have done make you want to physically vomit? If so, and you have a superior / safer way of doing this, I would be really grateful if you could let me know.

Also, to try and record timing for the eye tracker data relative to logging data from the keypress event, I've used another global variable that records the time at the start of the trial. Again, I suspect this is quite a crime.
If you think how I might better achieve my aims, I'd be really grateful!

Neon

Comments

  • edited 5:57PM

    You're living in a dreamworld, Neon.

    Matrix references aside, the way you record data seems pretty similar to how one would record ERP's (flags working in a similar way as triggers).

    I haven't got experience with your specific eye tracker, but Pygaze works very well with a bunch of eyetrackers (I use Eyelink myself). This is an add-on for OpenSesame with which you can very easily control when to start and stop recording, as well as to log data. Have a look here: http://osdoc.cogsci.nl/devices/pygaze/
    If it works with your eye tracker, it would definitely make life a bit easier.

    Cheers,

    Josh

  • edited 5:57PM

    Thanks for your reply, Josh.
    Alas, I can't find any indication of Pygaze working with the GazePoint eye tracker.

    The good news, is that hopefully we'll be taking stock of a Tobii eye tracker at some point soon, for which Pygaze support (albeit experimental) is available.

    Out of interest, what do you use to process the eye tracking data you get from Pygaze/Opensesame? Do you import this in to other software to create area's of interest etc.? This will be later down the line for me, but handy to know.

    I guess my concern is that I'm introducing timing errors with the way I have things set up at the moment. Looking at the log file, it seems OK, I just want to be sure.

    Thanks again,

    Neon

  • edited 5:57PM

    I'm afraid I don't possess the technical prowess to judge whether your way of tracking time would be decent or problematic. This would also depend on your experiment. In general I think this is a decent way to record the time to a keypress, while it may be a less decent means to record a fixation duration on a target word in sentence reading.

    I processed my data with the help of a python script. Writing such a script may be a bit of a pain in the ass, but doable if you understand what's going on in the logfile. Aside from that, at least the Eyelink comes with software that can parse the data into saccades and fixations for you (probably the Tobii and your current eyetracker have similar functionality). After that, all you have to do is indicate the test-relevant timepoints.

    Josh

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