Howdy, Stranger!

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

Supported by

[open] Opensesame and Eyetribe! im lost....

edited September 2015 in PyGaze

I work with an tobii eyetracker and tobii studio. I noticed in your chat, there is the possibility of synchronization with the eyetribe. I am very interested because I wanted to present the opensesame to students as an alternative to E-prime. Thus, each student may be working on your PC in class (Thank you for developing the open sesame). I wanted that the students did an experiment with eyetribe (I will buy 5 to my class). I noticed that the new version of the open sesame already have pygaze. I've been exploring the pygaze the new opensesame using eyetracker of tobii and I did not understand how to put areas of interest in my stimuli. Is there a script that can guide me? Some Opensesame experiment with eyetracker, or some tutorial? Please help me. I'm not very accustomed to pyton code.
Thanks for all

Comments

  • edited 1:44AM

    Hi Peter,

    The EyeTribe works a bit differently from what you may be used to. It doesn't record data automatically, and it doesn't offer an integrated analysis tool. Basically, the EyeTribe is just tracking gaze, and it will give you eye-position information when you ask for it.

    So, say that you want to track the time that the eyes are in particular ROIs, you will have to do one of two things:

    • Write a script that retrieves eye-position data (from the EyeTribe) and writes this to file. Then, afterwards, you can analyze this data in whatever way you want.
    • Write a script that monitors eye position and does you ROI analysis online, during the experiment.

    Do you get the general idea? For more specific advice, I'd have to know exactly what you want to do.

    Cheers,
    Sebastiaan

    Buy Me A Coffee

  • edited 1:44AM

    Hi! sorry about that.
    I use opensesame in user friendly mode!!! Because im a perfect naive in python code.
    So..
    I want to make a simple recognition experiment. I wanted to record how long the participants look at some face features and how many visits...
    How can I do this in a script (you can make an "inline" as the E-prime?)
    Thanks for everything!

  • edited 1:44AM

    Hi Peter,

    I think the easiest solution in your case would be to just log all gaze coordinates to a file. Then, afterwards, you can take your time to analyze the data. So that would be the first option from my previous answer.

    Collecting the data and writing it to file is pretty easy. For example, the following script will continuously (every 50 ms) pull eye-position coordinates, and write them to files called trial-001.csv, trial-002.csv, etc. If you insert this script after a sketchpad (0 ms duration) with the target face in it, you will collect eye position while people are looking at that face.

    # Open a file for this trial: trial-001.csv, trial-002.csv, etc
    trial_id = self.get('count_trial_sequence')
    fd = open('trial-%.3d.csv' % trial_id, 'w')
    # For 2000 ms, collect eye-position samples, and write
    # them to a file.
    duration = 2000
    t0 = self.time()
    while self.time() - t0 < duration:
        fd.write('%d,%d\n' % exp.pygaze_eyetracker.sample())
        self.sleep(50)
    # Close the file
    fd.close()
    

    How can I do this in a script (you can make an "inline" as the E-prime?)

    Yes, you'll want to take a look at the Advanced tutorial:

    Cheers,
    Sebastiaan

    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