eduard
About
- Username
- eduard
- Joined
- Visits
- 1,402
- Last Active
- Roles
- Member, Moderator
Comments
-
Hi, This should not happen. But could you provide more information on how you tried to set the image size? and how you established that it doesn't work? Given the information you provide it isnt really possible to help you. You can also upload you…
-
Hi Brice, Weird. The only two ideas I have is (1) Make the background if your experiment black, so that the flicker is not seen. (2) Don't use a video, but an inline script in which you vary the fixdot size dynamically, (probably from within a while…
-
Hi Enzo, Similar questions have been asked before. See here: http://forum.cogsci.nl/discussion/5259/custom-calibration-target-in-opensesame-using-eyelink-psychopy Maybe you'll find a solution there, if not, feel free to ask again here. Eduard
-
Hi, Maybe I am misunderstanding, but your problem is not really related to 3D objects specifically? You are asking about making the design/conditioning, right? Eduard
-
Hi Filipe, This plugin might be useful: https://github.com/smathot/opensesame-plugin-pygaze_roi But as it is not really documented, I can't really give more information on how to use it. Maybe @sebastiaan can help? If not with this toolbox, and if…
-
Hi Yihong, First of all, replace if button == [var.ans] with if button==var.ans Second, I don't see a reason why you use a coroutine in first place. Are parallel things going to happen in your script? Wouldn't it be enough to have the items occur s…
-
Hi, Your drawing function does no drawing, but target selection. Use these two functions instead: def select_target(target_dig): stim = random.choice(target_dig) return stim def draw_target(cnvs, x, y,text): cnvs.text(text,x=x,y=y…
-
Hi guys, Coroutines are not made for that purpose. YOu want to embed your video. As far as I know, there media player plugins cannot do these types of things. However, I think I remember to have seen attempts of doing similar things on the forum. I…
-
Hi, I am not sure, but I don't think you can have two response items open simultaneously, which might cause the problems. Also, if you specify the end time as 2000 it will stop after 2 seconds, not after 2 seconds and the SOA. So maybe change it to…
-
Hi Tom, What do you mean exactly? Is it still an issue, or does it work now? Eduard
-
Hi Rissa, I have absolutely no clue about osweb. But a quick google brought me here. Maybe this is useful to you. Sorry and good luck, Eduard
-
Hi cayley, sorry for the delay, but I have answered your question in the other discussion already. See here Eduard
-
Hi, If you run the loop in order (no randomization), does the loop break always for the same images? And if you remove these images does it work fine then? The error message suggests that it does find the file, but that it is not recognized as an i…
-
Hi, where do I insert the code you suggested for on-line event detection? Wherever you need it in your experiment. The code itself is put in an inline_script (if you use Opensesame), and should be put in the experimental sequence. Where exactly de…
-
Hi, to log a variable you have to use the syntax eyetracker.log_var(var,val). See the documentation: http://www.pygaze.org/documentation/eyetracker/#EyeTracker.log_var Eduard
-
That is a possibility, but the it will take long in the beginning of the experiment. If you don't mind that, go ahead. Otherwise, you might find ways to randomize the sequence more efficiently. Another often overlook thing is that the images are la…
-
Hi Jonathan, There is probably a way to do it like you intend to, but I don't remember exactly what the syntax is supposed to be. A way to get around it, is to add an inline script before that sketchpad, in whose prepare phase you define the durati…
-
Hi Masoud, No, you have to use Inline coding to define these lists (i.e. onelist = focal, secondlist=peripherie). Once randomized, and matched, you have to put another inline script in the loop sequence, in which you extract the current pair from …
-
Hi, If you call your variable "reaction_time_1" you have to look for this one in file. Opensesame writes a number of variables automatically, even if they are undefined. Can you find this variable in your list? Eduard
-
Yes, I think so. Syntax is straightfoward: import random list1 = [1,2,3] list2 = [4,5,6] random.shuffle(list1) random.shuffle(list2) combined_list = [(l1,l2) for (l1,l2) in zip(list1,list2)] Now you have a list of lists (representing trials). With…
-
Hi Masoud, What do you mean with: but I want to present only 32 pairs randomly selected from the possible pairs of 32 focal and 32 periphery words. YOu can shuffle both word lists and then just select one by one from each list. Would that work? Ed…
-
That is possible. I think the easiest would be to have an excel or csv file in which all the conditions, balancing,etc. is happening. This file you can then read into Opensesame with Python coding, and choose the relevant items depending on the rele…
-
Hi, I recommend you start with the beginner's tutorial. This should get you started on the general idea of how to design an experiment. Your basic idea is not much different from the experiment in the tutorial. Next, you can check out this discussi…
-
Hi Jonathan, What part does not work? Please provide more details, then we can help you better. So, what did you try, what do you see, are there error messages, etc. Thanks, eduard
-
Hi Tobi, Yes, that is possible, but requires direct Python coding and is quite tricky to efficiently and robustly script. Something like this could work: import random n_trials = 21 n_transitions = 20 n_stim = 2 n_transtypes = 4 while True: sti…
-
Hi, I am not very familiar with Co-routines, so what I say might not make sense. Generally, every row in the logfile represents the values of all logged variables at the time the logger was called. So normally, there shouldn't be any shifts. From l…
-
Hi Matthew, Did you try to follow the advice and move files from the pool to the folder in which the experiment is located? Files in the pool are somewhat special and are carried around with Opensesame, so the more files there are the more work Op…
-
reponse_not_pressed = True my_mouse = Mouse(visible=True) while reponse_not_pressed == True: timestamp, (x, y), button = my_mouse.get_click() for element in canvas_response.elements_at(x, y): t = canvas_response.show() i…
-
Hi Stella, You can set the run if statements of all the block to never and add an inline_script as the first item of your experiment in which you specify the order. The way to do it is described here: https://osdoc.cogsci.nl/3.2/manual/python/item…
-
The spacing between white and black lines? Well, there is no space in between. What you probably refer to is the spatial frequency (number of lines in a patch). This can be done with the "sf" keyword in psychopy's implementation of the Gab…