Howdy, Stranger!

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

Supported by

[solved] Randomly drawing items from the file pool

edited September 2011 in OpenSesame
Hello,

Im at the moment trying to programm a quite complex experiment with OpenSesame.

Im not sure if it is possible with the given ressource of OpenSesame to programm it, im not able to use the coding of OpenSesame, which i think might be the problem.
I have an Itempool of 100 pictures which should be randomly divided into two different loops, one loop showing two pictures together, the other loop showing first one picture and after some delay the next picture.
I am able to programm both loops, but im not able to draw 40 items randomly from the itempool and shuffle them randomly on both groups. My main problem is than that there are two recalls where the testperson has to remember what pictures were shown. Is there any possibility that Open Sesame remembers what pictures it has taken from the item pool, show them in random order with a different picture.

So for example the programm draws just 4 pictures:

a) showing two garden scenes assigned to the first group, so they are shown together.
b) showing two city scenes, assigned to the second group so they are shown first scene 1 and than scene 2.
Now group one recall should be able to show the first garden scene on top of 3 "false" garden scenes and 1 "correct" so the shown garden scene.
So the programm would have to remember "I have choosen picture a, so i use picture a aswell in the recall." Aswell as "i have choosen picture a for group 1 so i show it in the recall for group 1"

Due to the fact that that all happens on random and only 40 of the 100 avaible items are shuffeled i have no idea how i could make that work.

I am able to programm all the loops, my problem is the item drawing from the item pools.
I hope my english is good enough to show where my problems are.

Thanks for your help,

Best regards


Henrik

Comments

  • edited August 2011

    Hi Henrik,

    Thank you for your interest in OpenSesame!

    So, if I understand correctly, the structure of the experiment is something like the following:

    • Phase 1) 25 trials in which 2 pictures are shown simultaneously. To do this, 50 pictures are randomly selected from a list of 100 pictures.
    • Phase 2) 25 trials in which 2 pictures are shown in sequence, separated by a short interval. In this phase, the remaining 50 pictures (those that were not shown in phase 1) are shown.
    • Phase 3) A recall phase. What exactly is the task here?

    Is this correct?

    I'm fairly sure the experiment can be done, although it might require a bit of inline code. When I'm confident I understand what exactly you want to do, I'll give you some example code to get you started!

    Kindest regards,
    Sebastiaan

  • edited 1:58PM

    Thanks for the fast reaction, i will try to explain it further.

    It is only 20 Trials each, but that doesn´t matter.
    Both phases are correct.
    But i would like to have the recall right after Phase 1).
    So it would be:

    • Phase 1 (20 Trials in which 2 pictures are shown simultaneously. To do this 40 pictures are randomly selected from a list of 100 pictures.
    • Recall of Phase 1, One of the pictures is shown and in another picture there is the "correct" picture and 3 distractors. With a keylogger the answer will be save. Problem there is im not sure how to get the "correct" Recall picture into the Recall phase. Because the programm would have to draw the 20 Recall pictures to the 20 Trial pictures.
    • Phase 2) 20 trials in which 2 pictures are shown in sequence, separated by a short interval. In this phase, the remaining 40 pictures (those that were not shown in phase 1) are shown.
    • Recall Phase 2, same like in Recall 1.

    Best regards and thank you very much for your support

    Henrik

  • edited September 2011

    Hi Henrik,

    I made a quick demonstration experiment. It uses fewer trials and pictures, but it shows the general idea. Hopefully this will get you started.

    memory_recall.opensesame.tar.gz

    There's a bit of Python code involved. Nothing very complicated (just some lists too keep track of which pictures have been shown and such), but if you're unfamiliar with Python you could take a look at, for example, a Byte of Python:

    Byte of Python

    Good luck!

    Kindest regards,
    Sebastiaan

  • edited 1:58PM

    Hey,

    I finally made it, programm and everything is working thank you very much for your rly rly good support!

    Best regards

    Henrik

  • edited 1:58PM

    Dear Henrik,

    Could you please post your code? I have a very similar experiment planned out and am new to Sesame

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