eduard
About
- Username
- eduard
- Joined
- Visits
- 1,402
- Last Active
- Roles
- Member, Moderator
Comments
-
Hi Ruth, As far as I understand the documentation of the touch_response, you would have to divide the screen into cells that are not much larger than your stimuli in order to record correct touches on it. I don't know exactly how small the cells ar…
-
Hey, Welcome to the Forum! OpenSesame is pretty easy to use. If you haven't done anything it before, a good starting point might working through some of the tutorials and try to understand why things are like they are. I am not super familiar wit…
-
Hi Olafia, I suggest following: 1) Create a list with the numbers from 0 to 9 2) Create two placeholder variables to store the two preceding values and assign an arbitrary value to them. 3) use random.choice to pull a random number from your list …
-
Hi Boris, Not sure whether it works like this on a windows machine, but if you start OpenSesame from the console like this: opensesame --locale en_EN it should start the normal English version. I suppose, what happened is that Opensesame chose Ge…
-
Ah. I see. Sorry for the misunderstanding. Well, in this case, you can leave the blank sketchpad but set its duration to 100ms or some arbitrary number smaller than 1000ms. Then in the duration of the keyboard_response you can set the time of it to …
-
Ah okay. But why can I then access ems? Is it because I'm in the VU network?
-
That is weird. Adding this line, did solve the issue for me. Would you mind sharing again your code? This time including that line? Thanks, Eduard
-
Hi Agnes, Can you try adding this line to the sketchpad (You can do it in the script view of it)? set show_cursor no Eduard
-
Hi Masoud, It is not necessary to open new discussions if you have the same problem as is already discussed in another discussion. Otherwise things will get very messy and quite difficult to find solutions to already existing problems. I will clos…
-
What do you mean by that? The duration of the stimuli should not be changed. They will still be shown for 100ms. Removing the ISIsketchpad and set the duration of the keyboard_response to the desired ISI, should also not change the appearance of the…
-
I can download the installer from the link. Are you sure it wasn't something temporary with your browser, or such? Eduard
-
Alright, I am not entirely sure whether this will solve everything, but what you could do, is removing the ISI sketchpad and instead setting the duration of the keyboard_response to the value of [presentation_time]. Also, you might have to capitaliz…
-
Maybe not very elegant, but you could always calculate reaction times yourself by taking the time at the beginning of the period to be measured and at the end. Just add an inline_script at the respective position in the sequence, take the time (t0/t…
-
Hi Lisa, What exactly do you mean with "they don't track the data properly?". Could you provide more information on how you expect the item to work, and what it actually does. Also, the code you posted are from the two forms that do not w…
-
Hi Masoud, This is actually quite a clever solution, you came up with. However, the problem with the logger is quite weird, though. Based on your description, it should work. How does the output look like? Are there no values at all, or missing da…
-
Hi, That's not that easy, I would need to know the criteria, by which you define whether the allowed response is space or None. In general it is something like this: if condition1: allowed_resp = 'space'elif condition2: allowed_resp = Nonee…
-
Hi Masoud, try changing "[correct_response]=space into "[correct_response]='space' (note the quotation marks around the space). Also, I think you should change [response]=none into [response]=None. Although, I am not sure about this one.…
-
Hi, The procedure to do this is very similar to the one you used in order to set the ISI. So in an inline_script, you have to set a variable (e.g. allowed_resp) to either "space" or "none" (you might want to look up what the co…
-
Hi Masoud, First of all, I took the liberty to edit your post a bit for better readability. I hope you don't mind. If you want the ISIs to be either 1000, 1500, 2000, or 2500, you better you use random.choice like so: ISI_options = [1000,1500,200…
-
Good to hear. We could have saved much time, if I would have been more attentive right from the beginning. Sorry again. Eduard
-
Oh, of course. Now it makes much more sense to me. Sorry. What about this code? for i in range(repetitions): my_canvas1.show() resp, position, timestamp = my_mouse.get_click(250) if correct_response_given == False: if position != N…
-
Well, if you answer the first time correctly, correct_response_given is already true, so you won't ever enter the second while loop. If you don't give the correct response, you're still being caught in the first while loop. I'm not sure what exactly…
-
Hi, (Quote) frame_dur = 250 repetitions = 45 (Quote) This part doesn't prevent infinite loops that originate in one of the while loops, e.g., if correct_response_give stays False. Do you see that? Another problem that could have caused these iss…
-
Hi Ashley, it locks up, if you click in one of the incorrect areas of the screen, it freezes, because you have no mechanism to avoid an infinite loop. Add a counter to the loop (either based on repetitions or on time), to set a limit to that. If y…
-
Hi, 1) Yes, exp.pygaze_eyetracker.log() should be sufficient for that, but keep in mind that it generally only sends a message. If you want to have those variables in the data viewer and interact with them, you'll have to send them as a variable (t…
-
Hi, Do I understand correctly that the reason you are using the parallel plugin is that you need the keyboard take a reaction time from an item that is not directly preceding the keyboard? If so, it might be (a lot) easier, if you take another app…
-
Hi Malte, If there is a Python package somewhere out there that can do this operation it will most likely also work from within OpenSesame. Unfortunately, I have no clue whether it exists, or anything specific about how to tackle the problem. Sorr…
-
Hi, I didn't read the entire discussion super-thoroughly, but does it solve the issue if you change this line: if position != 'none': into that: if position != None:? If the mouse wasn't clicked position should be of None type and not a string. …
-
Hi, OpenSesame draws things serially, that is whatever you draw last, will be drawn on the top level. So, if you want your line to cover the image, just make call my_canvas.line after my.canvas_image. Does this help, or did I misunderstand anythin…
-
Hi, I'm not sure whether I understand what you mean with "merging Pygaze with expyriment". Would you mind explaining what exactly is your idea? (Quote) I think something like exp.pygaze_eyetracker.log("!V TRIAL_VAR <var_name> …