Howdy, Stranger!

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

Supported by

[open] Monkeys and computer

edited October 2014 in OpenSesame

I started yesterday to use OpenSesame so I'm a real novice.
I want to propose a simultaneous matching-to-sample procedure to momkeys.

I use two screens: a touch screen for them + a screen for me to have some information as the reponse (correct or not), the latency, etc. So, first how differenciate the two screens with this software?
Secondly, I want that they touch the positive stimulus (a picture) and not, of course, the clipboard or a number on the touch screen (as proposed in the "Cats, dogs, and capybaras" tutorials).
Thirdly, is there a Python code to give them food automatically each time they touch the correct stimulus?

Kinds regards,
Lauriane

Comments

  • edited 9:14AM

    I use two screens: a touch screen for them + a screen for me to have some information as the reponse (correct or not), the latency, etc. So, first how differenciate the two screens with this software?

    This depends on your set-up. The easiest way would be to have an 'extended desktop'. That way you would just use a fullscreen window, and everything on the left (say) would appear on the experimenter screen, and everything on the right would appear on the monkey screen.

    Alternatively, you can create a second window and use that for the experimenter screen. For this, you will need to use the psycho back-end, because that's the only back-end that supports this. With the following code snippet, you will open a second window. To draw to this second window, you will need to use the PsychoPy API directly, as shown below.

    from psychopy import visual
    # Create a second window
    win2 = visual.Window(screen=1, units='pix')
    # Draw a grating on the second window and show it
    stim = visual.GratingStim(win2, size=128, color='green')
    stim.draw()
    win2.flip()
    

    See also:

    Secondly, I want that they touch the positive stimulus (a picture) and not, of course, the clipboard or a number on the touch screen (as proposed in the "Cats, dogs, and capybaras" tutorials).

    Maybe you could create a custom form?

    Thirdly, is there a Python code to give them food automatically each time they touch the correct stimulus?

    Sure:

    import give_monkey_food
    give_monkey_food.on_correct_response()
    

    ;-)

    Food dispensers are not standard devices, so you will need to find out how the food dispenser is connected and what kind of input it expects. Once you know that, it shouldn't be too difficult to write a Python script that does this.

    Cheers!
    Sebastiaan

  • edited 9:14AM

    I'm a OpenSesame and Python newbie who's running into timing problems. The goal is, to continuously read from a serial device and present a different stimulus every 5 seconds. After 5 stimuli or so, all the collected data is written to file.

  • edited 9:14AM

    @babaladla123 I'm afraid you'll have to be a lot more specific if you're hoping to get help. What exactly are you trying to, what do you have right now, and why doesn't it work as expected?

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