Howdy, Stranger!

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

Supported by

Attentional Blink with numbers for T1 and T2

Hey Dear,

I want to create an Attentional Blink experiment. But the differece to your tutorial is, that I need for T1 and T2 numbers. The stream also should be with letters and only the two targets should be numbers.

I don't know how to create the right code, please can you halp me?

Comments

  • Hi Jasmin,

    You can simply replace the target letter with a digit. So this line (no 26 in the RSVP inline_script):

    stim_list[var.T2_pos] = 'X' you can replace with stim_list[var.T2_pos] = 8, for example. And the same for the other target. Does that make sense?

    Eduard

    Buy Me A Coffee

  • Hallo Jasmin,

    ihr scheint ja ähnliche Anforderungen zu haben wie wir :).

    Für T1 habe ich das wie folgt gelöst:

    Setze die Variable ZifferT1 auf eine Zufallszahl zwischen 0 und 9

    ZifferT1 = random.randint(0,9)

    Steuere die für T2 gewählte Ziffer aus T1 aus (hier die 4)

    while ZifferT1 > 3 and ZifferT1 < 5:
        ZifferT1=random.randint(0,9)
    

    Setze die Variable ZifferT1 an die T1-Position

    stim_list[var.T1_pos] = ZifferT1
    

    Viele Grüße und bonne chance!

    Marc

Sign In or Register to comment.