Howdy, Stranger!

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

Supported by

Do coroutine stimuli get pre-loaded?

I have noticed I am able to use variables that were calculated within a sequence to modify stimuli embedded in a coroutine in that sequence. Does that mean that these are not preloaded for each sequence? Would that affect the accuracy of timing? More important for me, would the stimulus time stamps be accurate?

Thanks

Comments

  • Hi,

    That's a good question. coroutines execute the Prepare phase of all the items in it as the first thing of the Run phase of the coroutines item itself.

    In terms of temporal precision, this means that the timing within coroutines is preserved, but there can be a slight delay (due to preparation) at the start of the coroutines. Does that make sense?

    And timestamps should always be accurate! So if there are temporal glitches, inspection of the timestamps should tell you that!

    Cheers,
    Sebastiaan

  • Awesome, thanks very much. I am interested more about the time within a coroutine for my RT measure, so I think I am all good.

  • Ah I now have another question about coroutine timing. I will chuck it here as well to not flood the forums!

    I am measuring eye RT to a stop-signal coroutine with the function embedded at the bottom

    I notice something a bit unexpected. The maximum time the coroutine can run is 2000ms (if no response recorded). However, when I set 'start' as I have it displayed below, my total RT (start -end) to a non-response trial is more like 1980ms (with some variability).

    In contrast, if I set the 'start' before the first yield in the coroutine (which I understand to be the initialization bit) the timing to non-responses will be exactly 2000ms as I would like. However, for these trials, if I respond instantly at the start of a trial (should yield 0ms), I get an RT of about 30, whereas the first method gives me 0 as it should. Thus I suspect this RT is including initialization time for the stimuli.

    From what I can tell, this means that time the coroutine will run according to my specification (2000ms) includes the initialization time. Is that what's going on here? If that is the case then the better measure of RT (in terms of time since stimulus was presented) would be the one I am currently using, not moving the 'start' time into the initialization phase right?

    I am using psycho back-end if that matters,

    Cheers

    def break_coroutines(): response = None exp.set('response', None) yield eyetracker.log('start_trial') exp.set('start', time.time()) while True: localpos = eyetracker.sample() 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) items['stop_signal_coroutines'].var.duration = 0 keep_going = yield if not keep_going: if self.get('response') is None: end=time.time() exp.set('end', end) break

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