eduard
About
- Username
- eduard
- Joined
- Visits
- 1,402
- Last Active
- Roles
- Member, Moderator
Comments
-
Hi, Is there a reason, you prefer not to do it the way you're doing it right now? It seems like a perfectly fine way to me (maybe you can even use 3 go and 1 nogo trial instead). Of course, you can also do it with some scripting if you wish, but it…
-
Hi Zsc, This sounds like you specify the ISIs in the wrong loop. If you move a level deeper into your experiment (the trial loop) and specifiy the ISI there just the way you did it so far, it should work. Does this make sense? Eduard
-
Stephan is probably right. I think the issue is that the variables don't exist yet. In contrast to feedback items, sketchpads are defined during the prepare phase. At that time, the variables don't exist yet. If you use a feedback item it should wor…
-
Hi Christina, This sounds as if you have set the duration of the sketchpad to keypress. Is that possible? If so, just set it to 0 and it should work. Eduard
-
Hi, If I am not mistaken, there is a stroop task on osf: https://osf.io/d2ecb/ Eduard
-
I see. kb = keyboard(timeout = 0) # initializes a keyboard response item with a timeout of 0 blank = canvas() # makes an empty canvasvar.correct_response = 'd' # define what you consider a correct response.start_time = clock.time() # start time of…
-
Hi, How about some python scripting? Set the duration of the sketchpad to 0 and replace the keyboard with an inline_script in which you will collect the response: kb = keyboard(timeout = 0)blank = canvas()start_time = clock.time() var.correct = N…
-
Hi, (Quote) You can apply the adjustment only if the SSD is smaller than 500 ms. Or fix it, once it exceeds the limits: # compute the new SSDif var.SSD > 500 var.SSD = 500elif var.SSD < 0: var.SSD = 0 Yes? (Quote) Can you elaborate …
-
Hi, If you intend to record each trigger than the scanner sends, I wouldn't know how to implement this without affecting your experiment. But, if you just need a couple of triggers for sanity checks. You can just sample key presses throughout your …
-
Not that it solves the issue, but to be on the save side, I usually wrap my .osexp files in .zip files before sending them around via email. Eduard
-
In this case, would you mind uploading your experiment? Then we'll probably find out what is going on faster. Eduard
-
Hi, Are you using a mac? And does this problem occur, when you start an experiment, or already when you run Opensesame? I don't use Mac's myself, so I don't really know what is going on there. Maybe a more experience mac user want to give his/her …
-
Hi Christopher, It is a little tricky to give you an out-of-the-box solution for that problem without actually trying to implement this. In general, I advice you to have two nested loop-sequence constructs. The outer loop is set to a high repeat nu…
-
Hi, I guess you're already helped in the other discussions. Let keep everything central and talk about this in the other discussions. Alright? Eduard
-
Hi Robin, Unless you use forms, you will need an inline_script eventually. The presentation of the stimuli can work both in sketchpads and inline_scripts, the issue is the response collection. If clicks on certain regions of the screen/ certain but…
-
Hi Sarah, Which media player did you use? I suppose the problem is that, once Opensesame started video & sound, it proceeds to the next item in the sequence. For the video it doesn't matter much because the new item will just replace the curren…
-
Hi Noa, In the general settings of your experiment (First item in the overview area), you can specify screen width and height. Try to set the values there. Makes sense? Eduard
-
Did you put this code in the block_loop itself, or afterwards? I suppose, this code is run only once. It is important to understand that executing an item, does not move where the experiment is currently at towards the item that you want to execute.…
-
Hi, If you have a list with the path to all sound files in your current directory (or file pool), you can add these paths as variable in a loop table. You can choose to run this loop table in a randomized way. In your sampler, you will then not spe…
-
Hi, Maybe you can summarize what you already accomplished and what is the code that you use? Then, it will be easier to find out what else is missing. Eduard
-
Hi, If I understand you correctly your loop has 20 iterations, and you want to present between 10-14 of them randomly. Right? Eduard
-
Duplicate of 2860
-
As long as it does not happen between responding and logging, any place is good, does not matter whether you use a separate inline or an existing one. You can rest a variable by giving it a default value: var.k1 = None
-
I don't think this is a problem per se. As you can see in the file, there are no new responses given. For every time you encounter a logger in your experiment, Opensesame writes a line to the logfile with all variables that are currently defined. Yo…
-
[go]=1, means that it is executed only when the trial is a go trial, nogo trials will not be executed. Your excel sheet is perfectly in agreement with that. If you want it to be executed only on NoGo trials, you have to set [go]!=1.
-
Nice. You're almost there. The current issue is that your if/else statements are not stringent enough. Consider this fix: kb = keyboard(keylist=['z','m'],timeout=0)start_time = clock.time()var.response1=Nonevar.response2=Nonewhile clock.time()-star…
-
Ah dammit, I forgot to change that. So, replace kb = keyboard(keylist=['z','m']) with kb = keyboard(keylist=['z','m'],timeout=0) The second question you can solve by comparing the conditions to the expected key persses, for example: if condition …
-
Hi, Replace the line k1==None with k1= None Eduard
-
Hi Carine, The variables accuracy, response_time and average_rt are computed per default by Opensesame. For them to represent the correct values, you need to label the variables the exact right way (the way the keyboard item would do it). As your d…
-
Hi Donna, Take a look at the beginner's tutorial. The task that is implemented there is doing exactly what you want: http://osdoc.cogsci.nl/3.1/tutorials/beginner/ Eduard