Howdy, Stranger!

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

Supported by

[open] Inhibition Experiment with Variable Stimuli Presentations

edited April 2016 in OpenSesame

Hello!

I am new to using OpenSesame and have spent quite a bit of time trying to get used to it/reading the tutorials. I thought I understood it enough to begin constructing my experiment, but I think I am just confusing myself!

In a nut shell, this is my experiment:

  • Stimuli = 48 pictures
  • Structure = 2 'runs' or blocks
  • Trials = The sequential presentation of 85 pictures in each run --> initial presentation of each of the 48 pictures and then 37 repetitions of some of the pictures (22 presented a second time, and 15 presented for a third time; randomized). The initial 48 trials are distractor trials, and the repetition trials are the target trials.The pictures selected as targets are changed in the second run

In each run the subjects are asked to indicated whether they saw the picture being presented within the current run ("Yes" or "No").

I aim to record the number of hits (correct identifications), false alarms (incorrectly selecting a distractor), and RT for responses to targets (hits) and distractions (correct rejections).

I was wondering how I would organise the visual stimuli within the block - would I need loops or just blocks? Would I require two different sequences (one for distractors and one for target trials)? I am also not sure how to set it up so that I obtain the correct dependent variable data.

Apologies if it may be quite simple - I have been looking at it for too long!
Thanks in advance.

Comments

  • edited 2:21PM

    Hi,

    The easiest implementation that comes to my mind is based on inline_scripts. In those, you can define the list that you want to present in each round in the beginning of a block, so that in the actual loop you only have to access the right index. The structure of your experiment could then look like this:
    First, you use add a loop-sequence structure to your experiment. In this one, you define an inline_script, in which you set all the lists you need, and another loop-sequence structure (the loop for the trials), in which you put a sketchpad (stimulus presentation), a keyboard_response (response collection) and a logger (write everything to file). How to use the last three items, you probably learned from the tutorials. What to put in the inline_script follows here:

    import random
    
    # put all the image filenames in a list and make sure the files are in the 
    # file pool
    all_pictures = ['pic1.JPG','pic2.JPG',...]
    #set parameters
    no_images = 48
    no_1repeat = 22
    no_2repeat = 15
    
    # a list with 22 repeated images selected for the list created above
    one_rep = random.sample(all_pictures,no_1repeat)
    
    # a list with 15 repeated images selected for the first repetition list
    two_rep = random.sample(one_rep,no_2repeat)
    
    var.all_stim = all_pictures + one_rep + two_rep
    random.shuffle(var.all_stim)
    

    The variable var.all_stim is now a list with 85 randomized images names. In your trial_sequence you can access one image by one image from this list.

    I hope this helps.

    Good luck,

    Eduard

    Buy Me A Coffee

  • edited 2:21PM

    Thanks Eduard!

    Your response was incredibly helpful. I will try this approach :-)

    Thanks again.

    Claire

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