Howdy, Stranger!

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

Supported by

Does eyetracker.log with eyelink delay the task?

Hi, I am implementing a stop-signal task in opensesame, originally meant for an SMI that I now need to transfer to an off-site eyelink 2000. In the task we register responses by looking left or right, rather than keyboard presses. My on-line method for detecting this is just to use gaze position, once it breaches some point on the x axis a response is recorded. Total RT is determined by the time it took gaze position to breach this point.

I am wondering if we will get higher quality RT data by using off-line eyelink processing. However, stimulus onset time varies randomly in my task, and thus to measure RT I need to somehow know when the stimulus appeared in terms of the eyetracker clock. I am wondering if I can achieve this by writing a message to the eyetracker log right before the stimulus launches like below (the code is the generator function for an opensesame coroutine that includes the stop signal stimulus). My question is whether writing to the eyetracker here could potentially interfere with the task timing? My previous testing on the SMI indicated that logging to tracker very slightly delayed the task until the next eyetracker sample (thus introducing a lag of up to 2ms with a 500hz tracker).

I guess 2ms isn't much, especially if it is not actually included in the RT measure but rather just slightly throws the stimulus onset time. Still I want to know if that would happen. Does anybody know whether logging to the eyelink would delay the task? Any comment on whether adding this log at the time of stimulus onset is the best way to measure RT in terms of the eyelink clock?

cheers

def break_coroutines():
        response = None
        exp.set('response', None)
        yield
        # HERE  
        eyetracker.log('start_trial')
        ######
        exp.set('start', time.time())
        while True:
            localpos = eyetracker.sample()

            if toofarleft<localpos[0] <toofarright and toofarup<localpos[1]<toofardown:
                if localpos[0]  < leftx:    
                    response = 'left'
                elif localpos[0] > rightx:  
                    response = 'right'

            if response is not None: 
                end= time.time()
                exp.set('end', end)
                exp.set('response', response)
            #   exp.set('saccade_start', SACCADESTART)
                items['stop_signal_coroutines'].var.duration = 0
                items['simple_coroutines'].var.duration = 0
            # Also break if the coroutines signals that it's over
            keep_going = yield
            if not keep_going:
                    if response is None:
                            end= time.time()
                            exp.set('end', end)
                break

Comments

  • Hi,

    The eyetracker.log() function should not introduce a noticeable delay with the EyeLink, so this is fine. If you're using coroutines, and want to make sure that things are running smoothly, you can inspect the coroutines_mean_cycle_duration variable after the coroutines are finished. This indicates how long cycles (i.e. periods between yielding) took on average. Ideally, this would be some submillisecond value.

    Cheers!
    Sebastiaan

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