Howdy, Stranger!

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

Supported by

Assigning shapes from several lists to positions on circular array

Hi! I'm very new to any kind of programming at all, and I'm currently trying to create an visual search experiment on Open Sesame. I was wondering if I could get some help on how to best do this?

My experiment stimuli will consist of a circular visual search array with 6 positions on the circular array. I have 6 sets of shapes containing lists of shapes that each need to appear in a specific sequential order, but randomly in terms of location on the circular array. So for example, Set 1 of shapes will have to appear specifically in the order of ACBDFE with one shape appearing per trial, but on each trial, each one of the shapes will appear randomly at one of the locations on the circular array. The same thing has to happen for the other 5 sets of shapes, so that each trial will have one shape from each set, appearing at one of the six locations randomly. At the same time, the locations have to be counterbalanced across each shape set.

I've already calculated the x and y coordinates for each of the 6 positions, and I was initially hoping to be able to do this with the GUI, but I think some inline coding will be needed for this?

Comments

  • Update: I've managed to create pseudo randomised lists of all my shape sets and array locations with the inline script. However, I'm having problems trying to link/reference these lists in my block loop without printing the lists and directly copying and pasting them to the table in the block loop.

    Could I please get some help on how to go about doing this? Thanks!

  • Hi Hannah,

    If you add a variable to the block loop table that keeps track of the current trial number. You can use use that trial number to access the lists that you created before and define the variables per trial in your loop.
    For example, in the beginning of your loop, you can put an inline_script with this code:

    var.stim = stim_list[var.trial_no-1]
    var.cond = cond_list[var.trial_no-1]
    var.correct_response = corresp_list[var.trial_no-1]
    var.something_else = more_list[var.trial_no-1]
    

    From then on you can use the variables as if they were defined in the loop table.

    Eduard

    Buy Me A Coffee

  • Hi Eduard,

    Thanks! Can I just clarify how to define the number of trials in the block loop table?

  • Hi,

    Just add a column with the name trial_no and then that add as many rows as you need trials (numbering them starting at 1).

    Eduard

    Buy Me A Coffee

  • Great, thanks Eduard!

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