Howdy, Stranger!

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

Supported by

Presenting two images

Hello,

I'm just trying to present two images (target and distracter) simultaneously, randomizing their positions (left and right).
Referring to http://forum.cogsci.nl/index.php?p=/discussion/comment/6377/#Comment_6377, I added the variables into loop item as below and then created the sketchpad in the sequence to add the image stimulus, but it doesn't work correctly.

I imported all images into the file pool.
What can I do?

Thanks!

Comments

  • Hi rrr,

    Did you use the 'Full-factorial design' button in the loop item? See:

    Best,
    Jarik

  • Hello Jarik,

    Yes I used 'Full-factorial design' in the loop item.
    Is it wrong for my design?

    Thanks

  • Hello rrr,

    It's hard to say with so little detail.

    But your loop item is fully filled like figure 8 below?
    http://osdoc.cogsci.nl/3.1/tutorials/beginner/#FigStep3

    Best,
    Jarik

  • Hi,

    There are 2 rows (image and position) in loop item. The former includes 10 columns (10 images), and the latter does 2 (-300 and 300) as I have already showed by image attached to my first post. So the design is 10x2 full factorial.

    OpenSesame shows an error as below.

    Traceback (most recent call last):
      File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/libqtopensesame/items/loop.py", line 101, in _show_preview
        dm = self._create_live_datamatrix()
      File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/libopensesame/loop.py", line 230, in _create_live_datamatrix
        dm <<= operations.shuffle(src_dm)[:i]
      File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/python_datamatrix-0.3.1-py2.7.egg/datamatrix/operations.py", line 375, in shuffle
        return obj._selectrowid(_rowid)
      File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/python_datamatrix-0.3.1-py2.7.egg/datamatrix/_datamatrix/_datamatrix.py", line 161, in _selectrowid
        dm._cols[name] = self._cols[name]._getrowidkey(_rowid)
      File "/Applications/OpenSesame.app/Contents/Resources/lib/python2.7/site-packages/python_datamatrix-0.3.1-py2.7.egg/datamatrix/_datamatrix/_basecolumn.py", line 418, in _getrowidkey
        col._seq.append(self._seq[self._rowid.index(_rowid)])
    IndexError: list index out of range
    

    Thanks

  • So if I use 'Full-factorial design' to create an example table, it looks like the image below. Note the two empty selected blue cells.

    When I click OK the loop item is filled like the image below. Note there are no empty cells!

    Does this help?

    Jarik

  • Hi Jarik,

    It goes well! I misunderstood the way of 'Full-factorial design' .
    Then I'm trying to create an simple experiment similar to this design as a test (please see the attached program). The design is fixed by the default table of loop item. I have gotten an error as below.

    Details
    
    item-stack: ``
    exception message: [Errno 2] No such file or directory
    time: Mon Jan 9 16:54:33 2017
    exception type: OSError
    

    Also, It says "[image] is unknown or variably defined" in the sketchpad.

    What is the cause of this?

    Thanks a lot!

  • It goes well! I misunderstood the way of 'Full-factorial design' .

    I thought so. This is why I provided a link to the beginner tutorial in my first post

    Also, It says "[image] is unknown or variably defined" in the sketchpad.

    This is the normal behavior (as the image is selected at run-time so it can't be displayed)

    It's a very good idea to create a simple experiment to test things. I also think you really should do the tutorial(s):

    Good luck,
    Jarik

  • Hi Jarik,

    Thanks a lot, but what's the cause of error I mentioned in my 4th comment.
    Sometimes, Opensesame suddenly crashes without showing any errors when I run the experiment.

  • rrrrrr
    edited January 2017

    Hi,

    I found the error is caused by OpenSesame Runner http://forum.cogsci.nl/index.php?p=/discussion/2437/experiments-dont-run-on-mac-capitan-os-error-without-traceback-info#latest.
    It run correctly without any errors when I use multiprocess or_ inprocess_. It may be better to use inprocess because the multiprocess runner takes long time to run the experiment.

    Unfortunately there remains a problem of stimulus presenting duration. It takes approximately 4 seconds even though I specified the duration of 1 second in sketchpad.
    I have used Opensesame with Expyriment backend in Mac OS10.11.6.

    Also I'm not sure which is the best way to present two images simultaneously, sketchpad or inline_script.

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