eduard
About
- Username
- eduard
- Joined
- Visits
- 1,402
- Last Active
- Roles
- Member, Moderator
Comments
-
Hi, Thanks for spotting this. Can you report it on the Pygaze github? That is a more promising way to get a bug fixed. https://github.com/esdalmaijer/PyGaze Thanks, Eduard
-
Hi Chengyang, What exactly is your problem? Have you gotten started on that task? Looks to me, like you need a slider that dynamically adjusts its fill value, and an image side by side. Eduard
-
Hi, You can set the run if fields of the last items (9 and 10), to only run if the sentence length is 10 words. That means that you have a variable that indicates the length of a sentence. Does this make sense? Eduard
-
Hi Stef, just to add on this. `exp.set('background', 'blue')` should have worked. Maybe you haven't put it in the prepare phase of the inline_script?` Eudard
-
HI Ivaylo, Yes that is possible. The details depend a little on your specific experiment, but the basic idea looks like that: 1) Show default image 2) Enter a while loop 2.1)sample current mouse position & determine whether it has moved 2.2. If…
-
Hi Marco, Every button widget has a `var` keyword that you can use to specify what the variable should be for that button. For example, `button1`. If you do this for each button, one of them will receive the value `yes` whereas the other ones will…
-
Hi Hannah, Can you upload your experiment? What you describe sounds weird, I'd like to see what is going on. Ideally, you would simplify your experiment as much as possible without removing the weird delay that you find. Thanks, Eduard
-
Hi Ruby, You can use a `sketchpad` or a `form_text_display`. Both will do fine for presenting text. Checkout the manual for more info: https://osdoc.cogsci.nl/3.2/ Eduard
-
Hi Mollie, Have you tried advances loop operations: https://osdoc.cogsci.nl/3.2/manual/structure/loop/#pseudorandomization It sounds like you just need to constrain that maxrep value of the correct side to 1. Is that possible? (sorry for the tardy…
-
Hi Boo, As far as I know, the Eyelink plugins were predecessors of pygaze. Both rely on the pylink library that was released by Eyelink (I think). So, Pygaze does work quite nicely with Eyelink (my entire PhD is based on that setup ;) ). > Wil…
-
Hi, What do you see in the debug window if you add a print statement to print the variables in your inline_script? Like: `print(var.my_image_list)` and `print(img_list)`? I wonder, whether the list could be empty maybe? Eduard
-
Hi, Do you still have this problem, or was it solved in another discussion? Eduard
-
Hi Rob, you can use the variable `var.subject_parity` for that purpose. It will have the values odd and even, depending on the participant number. Does that help? Eduard
-
Hi, your code looks already really good. What is missing is the loop element. You want to keep on flickering the two images until the participants find the change, right? So it would be easy to do loop over the phases of your experiment. Furthermore…
-
> Thanks so much! I've adapted it for my experiment and for the most part it works. Just to clarify, t1 and t2 essentially set two different timers? That is almost correct. t1 and t2 are two different time stamps. So, basically the current time, …
-
I guess this discussion, can be closed. Let me know if not.
-
Hi Tom, Did you also show the canvas, i.e. calling my_canvas.show(). If not this is the reason why the screen stayed empty. Can you reupload your experiment, it seems that the upload has failed. Eduard
-
Hi Elisa, Have you already managed to fix that problem? Eduard
-
Hi Sun, Sorry for the long wait. Do you still need help? In that case, could you reupload the image? I think what you want is making use of the mouse-trap plugin (https://osdoc.cogsci.nl/3.2/manual/mousetracking/), combined with a self-made likert…
-
Hi Erika, You could make the sound playback be followed by a loop which only contains a keyboard item and a logger. So every time a key is pressed, the response is logged and the keyboard waits for the next trial. The only tricky part is to exit th…
-
Hi Mark, Which plugin are you using? I am not very familiar with video playback, but in theory, couldn't you just set variables in independent inline_scripts that are being called after the video finished playing, but before the loop starts again?…
-
Hi Liya, As you already discovered, variables have to exist as part of var if you want to use them in sketchpads. So, while the variable img_list cannot be used in sketchpads, the variable var.img_list can. Another potential source of the error cou…
-
Hi Boo, If you already present the stimuli with an inline_script, you can also add the logging to it. You can send messages like so: exp.pygaze_eyetracker.log("Message"). Add it right before or after a canvas.show(). To make sure that yo…
-
Hi Tom, You can use these examples to test inline_scripts: https://osdoc.cogsci.nl/3.2/manual/python/canvas/#function-canvas46image40fname-centertrue-xnone-ynone-scalenone-rotationnone41 Can you share the experiment? Just to check whether it also …
-
Hi, I answered in the other discussion. Can you check whether my code helps you? Generally, it would be better to discuss in only a single thread. So, please stick to this one here. For completeness sake, I post my answer here again: Hi, For som…
-
Hi Hannah, Why would you want that, if I may ask? If you have a variable that codes the target location (response_required vs. response_not_required or something like this), you can put this into the run if statement of the keyboard item and run i…
-
Hi, Would it be sufficient, if you just put all the files into the same folder (i.e. the file pool)? Like that, Opensesame won't complain that it can't find items, provided that they exist. However, I am surprised that OS tries to prepare items eve…
-
Hi Sonia, The warning is in itself not a reason why the experiment doesn't work. It might be a problem though if you're experiment needs very precise timing. The python crash is unrelated though. Without more information about your experiment it i…
-
Hi Gérard, (Quote) On the top right of the item, you can select the script view. There you can see a few more settings that you might adapt. If that is not enough, you can easily build your own form, based on the description here : https://osdoc.c…
-
Hi, It is not supported currently. The problem (I think) is that in a group, checking one option cannot be undone unless clicking on another option. Having one item checked per default means that giving no response wouldn't be possible. Does that m…