eduard
About
- Username
- eduard
- Joined
- Visits
- 1,402
- Last Active
- Roles
- Member, Moderator
Comments
-
Hi Tobi, in an inline_script, you can compute the new timeout. It is important to put the code in the run phase, because otherwise no response will be defined. jitter = 2000 # or whatever you want var.star_dur = 2500 - var.resp_time + jitter Impo…
-
Hi, My problem is that I can't figure out how to present sequentially each number from the built list in a trial sequence. If you have a trial sequence (Opensesames loop/sequence structure), you need a variable that counts iterations, e.g. trial n…
-
Hi, Yeah, these characters cause issues with the psycho backend. Not sure whether this issue is known. Do you care to open an issue on Github? That'd be helpful. Eduard
-
Hi Simona, I myself don't know much about these things, but the web does: https://danluu.com/keyboard-latency/ https://www.blackboxtoolkit.com/responsedevices.html https://link.springer.com/article/10.3758/BF03195452 etc.. Hope it helps, Eduard
-
Hi Tali, no idea about your issue, but maybe this stackoverflow discussion helps: https://stackoverflow.com/questions/10733903/pyaudio-input-overflowed Eduard
-
Hi, If the point is to measure response times from beginning of the stimulation until a timeout and remove the stimulus in the mean time, then you can bypass the problem and use coroutines: https://osdoc.cogsci.nl/3.2/manual/structure/coroutines/#u…
-
Hi Christian, As I answered in a different discussion, you can use inline scripts and use pygazes log_var function. I think this should write variables to the idf files. I have never tried it with an smi tracker, but I should work like that. Eduard
-
Hi, I need the font size to display randomly within a block. In an inline_script, create a list with all font sizes you want, randomize it, and then take them out one by one in a trial. import random . var.fontsizes = [1,2,3,4,5,1,2,3,4] random.sh…
-
Hi, yes, scripting will be necessary I think. But it is not terribly complicated. Check out the documentation to get an idea of how to use python code: https://osdoc.cogsci.nl/3.2/manual/python/canvas/ It is not clear from your description how the…
-
@Daniel, @sebastiaan any idea?
-
Hi, I don't quite understand your code and sequence. But I think, it would be easier if you just have a sequence with instructions and response and participants can only exit the sequence of they respond after the delay. So, effectively, create an…
-
Hi Mirko, I don't quite understand the problem that you have. Can you describe in more detail, what the problem is and to which point you want to calculate the response time? Are the sounds overlapping or perfectly separate? From the information I…
-
Hi, Would it work to use html syntax? See here: https://osdoc.cogsci.nl/3.2/manual/stimuli/text/ Good luck, Eduard
-
Well, the wish list could be such a place. But if you feel adventurous, you can also implement the change yourself. The documentation is on Github and suggestions/editions are always welcome. https://github.com/smathot/osdoc Eduard
-
Does the bias increase in discrete steps? Have you posted this issue on github? This sounds like something that needs fixing, but then, if I am not mistaken, the droid backend is not really developed anymore? So, not sure how useful this would be. I…
-
Hi Dsyfaro, As mentioned above, video libraries are the way to go. I recommend opencv (because I know it somewhat), no idea whether others are better or worse. For example, here a link how to create gifs in Python: https://www.pyimagesearch.com/20…
-
Hi Mirko, The code should be in the part of the code that plays the videos. As far as I understand from previous discussions, all the code goes into the same inline script. Maybe @booradley or @u_ghose can help out? Eduard
-
Hi Rania, Sorry for the late reply. I can't the script (I don't have the vlc player installed). If the error is consistent, it could be memory-related on your machine. You could try shorter or down-sampled videos to check whether the experiment wo…
-
Hi So I think I'll try to log the OS timestamps in the pygaze_log as well. That makes sense. To log variables you could use this function, in an inline_script: http://www.pygaze.org/documentation/eyetracker/#EyeTracker.log_var Eduard
-
Hi Mirko, Did you handpick the variables that the logfile should include? If so, you also have to add the subject number, block number and other identifying variables. If you don't have them, you won't be able to merge the datafiles into a single f…
-
Hi Camila, If you want help, you have to provide us with more information on the problem you are experiencing. Without error message it is impossible to say what is going wrong. Also, this code alone won't work. It needs to be embedded in the corr…
-
Yes, pygaze and OS have different time lines, each of them starting at initialization. OS is initialized earlier than pygaze, so OS values should be larger, but if you know that delay, you can convert time lines into each other. The best way is to l…
-
Hi Louisa, here the code I used, basically measuring the distance of the fixation to a reference location over some time. # check whether a fixation is on black ring in the beginning of the trial. Rather liberal # automatically continue unless no…
-
Hi Mirko, not sure whether this will solve it, but the second yield must be on the same level as the if (it is indented too far currently). Does that help? Eduard
-
Hi Greg, there must at least be one line in a loop table, even if no values are defined. So, if you click in the first cell of the loop table, one row should be added and then the loops will run. Does that make sense? Eduard
-
Hi Rex, Yes, that is basically correct. and then the loop goes back to the sketchpad? Well, it is a weird formulation, the loop just reiterates, and in doing so, it would get back to the sketchpad. Therefore, the sequence would also continue from …
-
Okay. Can you share the experiment then?
-
Hi, If I had several test persons perform the test, I have to merge the data sets. This means that I first have to sort the random order and then merge all datasets I am not sure I get the motivation behind this. If you have multiple participants …
-
Hi, This could be a Windows thing. On my linux system it does work. Just to double check that it is not the layout, can you try a German layout? (the ^ is on the leftmost key above the tab key)? Eduard
-
Mh, too bad. Then, once again, I am out of ideas...Sorry. By the way, did you report the bug on the github page? It sounds like something that should be fixed (the part about touch responses being inaccurate when the mouse is hidden). Eduard