Howdy, Stranger!

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

Supported by

[solved] repeating conditions without repeating stimuli

edited August 2014 in OpenSesame

Hi - I'm 3-days new to Open Sesame. And as someone who is very technically challenged - thank you! I think it's a great program.

I have what I think is a straightforward question - but can't seem to resolve on my own, so I'm hoping someone can help. I came across a previous discussion thread, which 'almost' gets me what I want:

http://forum.cogsci.nl/index.php?p=/discussion/610/solved-background-colour-as-variable/p1

I have a very similar experiment with 48 trials (each trial has a unique set of stimuli) and 4 conditions (2x2 design). And I want to make sure that each of my 4 conditions appear equally across all 48 trials - but (similar to the discussion thread) I do not want any of my stimuli repeated. So I have set up my experiment in a very similar way to the one in the discussion thread above - with an 'outer loop' listing all 48 stimuli names, and an 'inner loop' with all 4 possible conditions. I have set the inner loop's cycles to '4' and repeat to '0.25' in order to avoid any repeat stimuli. But it's not quite right - my stimuli are not repeating (which is great!) but I need to make sure that each condition is appears in EXACTLY 25% of trials. That's the bit I can't seem to figure out. I see from the discussion thread it needs a bit of Python inline scripting. Does anyone have any suggestions on what the inline script should be? Or any other suggestions?

Thank you!
Marie

Comments

  • edited 10:51PM

    Hi - I managed to solve the problem. I came across another discussion thread which seemed to do the trick:

    http://forum.cogsci.nl/index.php?p=/discussion/1064/solved-inline-script-and-python-code-give-different-results/p1

    So... I got rid of my outer loop with the stimuli lines, and replaced it with an inline script (before the loop that cycles my 4 conditions) to create my list of unique stimuli. Then within my trial sequence, I included another another inline script with the pop() function (to get rid of repeats) and exp.set function.

    Thanks to everyone sharing their various issues on the discussion forum, the techno-phobe in me is finding OpenSesame very handy!

  • edited August 2014

    Hi Marie,

    Very good to see you figured things out using the forum; I'll mark this one solved. Good luck with your experiment!

    Edwin

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