eduard
About
- Username
- eduard
- Joined
- Visits
- 1,354
- Last Active
- Roles
- Member, Moderator
Comments
-
Hi Ornella, I think your best bet is to look for publications that cite pygaze and check whether they uploaded the experiment somewhere. Personally, I have not defined AOI in a way that you envision, but used something similar to check the gaze on …
-
Thanks for sharing!
-
Hi, Not 100% sure, but I think the variable var.count_trial_sequence is only updated once per block and not once per trial. Perhaps you need to use a variable within that sequence? In any case, you can easily create a counter variable within your…
-
Hi, It is not possible to combine such a button with a video when using the media player plugin. I am not very familiar with the approach, but this could be done with direct python coding, specifically using the OpenCV package. Be aware that you ca…
-
I don't know about how to do it directly in Pygaze, but if you use the Pygaze plugins in Opensesame, you can select the advanced dummy mode at the initialization and then use the mouse as if it was the gaze. Pygaze has also a dummy mode, but I am no…
-
Hi, Is there no error message? Could you try to eliminate your code bit by bit until Python doesn't crash anymore? Eduard
-
Hi @amoupsou, I had a look at your experiment. Unfortunately, there are some issues with the sound files (I believe), which made it hard for me to debug (the experiment crashed unpredictably). Still, I realized a few weird issues, for example your …
-
Hi @KarsLigtenberg, If you check the logger, you will note the option "Automatically log all variables". You can unset this one, and instead drag all the variables that you want to keep into the `include` field. Alternatively, you can als…
-
Hi Angelo, Have you tried to not call a custom Python script?
-
Hi @amoupsou , Sorry, I was on vacation and the link expired already. Could you repost? Eduard
-
Hi @AngeloPisanii, Looks like this is possible with OpenCV: https://stackoverflow.com/questions/75267154/how-do-i-add-an-image-overlay-to-my-live-video-using-cv2 So, load your image, video and text (potentially as image), and then draw them in the …
-
Hi Gérard, Sounds reasonable. Your situation should be covered by my second scenario. So yeah, you should look into the datamatrix documentation (and search the forum for datamatrix questions). Another possibility could be to copy the contents of …
-
Hi Gérard, Is it also possible to read the contents of an Excel file into the loop table before execution of the program ? Yes, just select file as source for the loop table instead of table https://forum.cogsci.nl/uploads/060/A9KOLZ51RHFE.png I wo…
-
Hi, Can you please share your experiment? It is a bit hard to find out what is happening with screenshots alone. Thanks, Eduard
-
Hi @doingMyBest, This function that you used, will wait for one fixation, and once it detected it, proceed with the experiment. If you have multiple fixations in a trial, you need to call the function repeatedly until the trial is over. Here some p…
-
Hi, This message tells you that your environment is inconsistent, that is, some packages should exist in conflicting versions. Have you manually installed packages after installing opensesame? I'd be surprised if the environment becomes inconsisten…
-
Hi Elinor, No javascript expert here, but why don't you then save all variables as var instead of let ? Seems like only global variables are logged. This is explained here as well, by the way: https://osdoc.cogsci.nl/4.0/manual/javascript/about/…
-
Hi Asif, As I said, if each of your forms has a unique response variable name (that you can specify in the field on top of the form, see response_variable in the screenshot https://forum.cogsci.nl/uploads/135/Q89IWBHJ4I5E.png then one logger in t…
-
Hi mike, I can't tell you what is happening, but what you could try to narrow it down is following: Remove randomization of trials, which will tell you whether the error always happens at the same time, or varies. You can also print out the current…
-
Hi, If you have a form, you don't need an additional mouse response. To log all responses you would either need to make sure that the response variable of each form is unique and put a single logger at the end of each sequence, alternatively, you c…
-
Hi, var.balloon_sizes = {} I suppose you want to set up an empty dictionary? If so, you need to do var.balloon = dict() What you have done is setting up an empty set (which does not support assignments of strings (which is what j is) Hope this clea…
-
Hi Nadia, Sounds weird. But if you have the sizes as returned by the text_size function, can't you adapt that variables somewhat? Like, there is a whitespace in the string, shift the values to the right (i.e. adding a few pixels onto the number)? …
-
Hi @Raanan, Yes, you can wrap your blocks, into another loop-sequence where you specify the conditions in the loop table. Make sure the select order: random in the loop table. In case that is not exactly what helps you, you need to provide more i…
-
Hi, you can download older releases directly from github: https://github.com/open-cogsci/OpenSesame/releases If you use conda or pip to install opensesame, you should also be able to directly specify the version you want. Good luck, Eduard
-
You called this variable var.target_words_list not target_words_list You need to be consistent. If I add the var. it works for me. Eduard
-
Hi, I recommend you check out the information on prepare/run in the documentation:https://osdoc.cogsci.nl/4.0/manual/prepare-run/ In your case, you need to put your code in the get_sentence inline_script in the prepare phase and not in the run pha…
-
Hi @fredcowh, Can you share your experiment? With solely the snippets that you shared, I cannot tell what is happening here. Thanks, Eduard
-
Hi, Your experiment is fine. I tried your suggestion but from what I can tell, the log file only imports correctly if I use a comma delimiter To be clear, I am not talking about the character that separates cells in your table. That must be comma, a…
-
Hi @elinora18, Based on the screenshot, I think you import the data file incorrectly into Excel. You need to change the decimal separator to being . and not , (point instead of comma) 38 ms (which is an impossible number) It is not really impossi…
-
Hi Ornella, Can you share your experiment then? I need more info to be able to answer that. Thanks, Eduard