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
Comments
I actually want to log every sinlge keypress. That's why i inserted a logger item after each stimulus.
No the next question: Is it possible to insert a variable in the logfile that contains the name of the previous stimulus/picture? Just for an easy match of response times and stimulus.
Hi Dahm,
I have to admit I don't really understand your design. Could you maybe explain again with a little more detail?
Thanks,
Eduard
Hi Eduard,
here the main design of the SRT task.
Participants are instructed to press one special key on each stimulus. We have four different stimuli (resulting in four different responses). What participants do not know is that the stimuli appear in a fixed sequence (10 trials), which repeats (10 times). So they perform 100 presses in a row and learn the sequence implicitly (motor learning). The sequence shall start at a random point.
My idea was something like this:
I have build the sequence with the ten stimuli, ten responses, and ten loggers.
Now i put this sequence in a loop, so that it repeats 11 times. I define a random number x from 1-10. Now from the first sequence x trials will be skipped. And from the last sequence 10-x trials will be skipped at the end.
However, i have very little experience with programming in open sesame.
Stephan
Another idea:
I build ten sequences each starting at a different point of the sequence. Then i put them all in one loop and select randomly only one of them. But how do i put more than one sequence in a loop?
Hi Stephan,
Not sure whether there is a solution that relies only on OpenSesame items and doesn't require some coding, but this idea was the first that came to my mind. So, I basically, you define all the sequences and important information in
inline_scripts
using python directly.This piece of code you execute once per subject, to define the random sequence. Therefore, it is best to put it once in the beginning of the experiment before you enter the loop, in which you present the sequence to the participants.
In the loop itself you can add this code. It takes care of stimulus presentation, response collection, and evaluation whether response is correct or not. Note, you need to place a logger item in the
loop
after theinline_script
Does this make sense?
Eduard
Hey Eduard,
i have now decided to use inline_scripts only. So your suggestions may help even more.
I have replaced "cv.text(stim)" with "cv.image(stim)". But unfortunately this does not work out in my case.
This is what i placed in the "prepare section"
and this is what i placed in the start section
Hi,
Three remarks:
1) Watch out that you don't add unnecessary whitespaces.
A_path = pool ['0_A.tif']
won't work due to the space betweenpool
and[
2) Watch out to include brackets when you call a function
key, time = kb.get_key
won't work becausekb.get_key()
is a function that is only doing what it is supposed to do, when brackets are attached to it.3) If you describe that something is not doing what it is supposed to do, provide the complete error message. This way, it will be a lot easier to track the issues down.
Thanks,
Eduard
Thanks for your remarks.
1) Actually this works even with the space. Anyway i will try to avoid unnessary spaces
2) I am sorry for this. Unfortunately the error is above, so i did not even come to this point.
3) cv.image(stim) makes the problem. you suggested cv.text(stim). As i use image items i thought i would be good to change it.
Here is the complete error message:
By the way. Does it help if i attach the file?
Hi,
Ah, I missed another little error in your code: You forgot to class the brackets in this line:
kb = keyboard(allowed_responses = ['f','g','h','j']
. So, it should bekb = keyboard(allowed_responses = ['f','g','h','j'])
Eduard
I am sorry for the bracket error.
Unknown argument: allowed_responses
so i tried "keylist" instead of "allowed_responses"
"" does not exist
What is not working?
kb = keyboard(keylist = ['f','g','h','j'])
should be fine (sorry for the allowed_responses error)Stopped:
The experiment could not be terminated because of the following reasons:
"" does not exist
Thats the complete error message when i use keylist.
INFO: i am using legacy back-end.
Can you copy the entire error message, please? I need more information, i.e. which line, etc... (Btw, I can't open your experiment due to this problem.
Eduard
In order to solve the file format problem i used a file of a colleague and overwrote it.
Now it should be possible to open the file.
It runs now with xperiment back-end.
And now i get a more sophisticated error message:
Hi,
I see now. What you had defined as
stim
was not the image, but already the canvas to which the image was drawn. so callingcv.image(stim)
was trying to draw a canvas onto a canvas with the draw-image-function. So, instead ofcv.image(stim)
, just show itstim.show()
, and you should be good.Eduard
Hey Eduard. Thank you very much. I reached a big step further.
Unfortunately i am very new to python. I am even struggeling to make a simple loop
But i noticed that we do not need stim, which shortens the text substantially.
Could you help me with the loop, please?
in the preparation i need to multiply the sequence
is there a shortcut, instead of repeating the whole statement? something like this...
A
for-loop
has the structure:If you a very new to python, then you should first invest some time and get familiar with it. It is easy to learn and you will benefit from it a lot (you wouldn't have to rely on others to make experiments).
There are plenty of nice python tutorials online that will teach you enough to make an experiment like that.
See here for example: http://osdoc.cogsci.nl/3.1/manual/python/about/
Eduard
Thanks a lot.
I already found a list of tutorials earlier this week on this page https://computingforpsychologists.wordpress.com/tag/python/
My problem on these tutorials is that they want to teach me how to make calculations, data structuring etc. But that is not exactly what i am looking for. I can use "R" for these things. I want to use python only for programming experiments. Until now i have not found a tutorial on this...
You'll find a link to such a tutorial in the link I provided above. Or simple google for python basics tutorial.