eduard
About
- Username
- eduard
- Joined
- Visits
- 1,402
- Last Active
- Roles
- Member, Moderator
Comments
-
Hi Sabrina, Can you add these lines in the end of your script? for k,v in number_of_clicks.items(): exp.set('number_clicks_{}'.format(k),v) This makes a variable starting with "number_clicks", and ending with the specific button. In g…
-
Then, I don't know what is going on. I can install everything alright. Maybe try to install the packages from within the Opensesame console, like so: https://osdoc.cogsci.nl/3.2/manual/environment/#using-pip-pypi
-
Anyway, i will try your suggestion. Is it possible to use the same text of the inline_script for the OSWeb inline_javascript? Probably not without some minot adjustments. I don't know javascript, so I can't help you much here. The repeat_cycle woul…
-
Hi Lee, I don't know how it works with serial ports, but when sending triggers through parallel ports, you have to unset after you changed a value. So every time you sent a value (say a 1), a little while later (for parallel ports ~10 ms) you sen…
-
Hi, Would this also work if I just want to initiate a break without feedback Yes, the same procedure applies. Just choose which item you want to show and what you want it to include. Just make a sketchpad that includes only the text "Block 2. …
-
Can you try updating pip? This behaviour is weird...
-
Try taking out the version specification entirely. So, just pip install psychopy (without the == part)
-
What is the error message now?
-
Yes, your experiment is fine. That isn't the issue. You should run into these issues during installation, which Python do you use? Python 3 or 2? In any case, you can replace: psychopy==1.85.3 with psychopy==1.85 The seocnd error suggests, you hav…
-
https://forum.cogsci.nl/uploads/880/YL1NSALWWBF1.osexp HI Sabrina, Most of it seems to work. I can press all the buttons and the show information as they should (sometimes), but it seems that there are some dependencies between the clicks, which sug…
-
Sounds like a plan!
-
Hi, That is possible. You do need external Python packages though. If you know your signal processing, scipy might be sufficient. If you need some more higher level packages might be useful (see here). In any case, in Opensesame, you first need to …
-
Hi Stephen, To be honest, I don't know what the repeat cycle item is supposed to do and how it is doing it. So, my apologies for proposing a different solution. As far as I can see the outer loop is rather static, that is, there is not much change…
-
Hi SH, according to the OSweb documentation: "You cannot create Canvas, Keyboard objects, etc." So unfortunately, I don't think there is a way of doing it. Maybe you can manage to implement the same functionality with a sketchpad? Eduard
-
Hi, Are you using the mousetrap plugin? WIth that one, you can draw rectangles (your checkboxes), and assign a response to each of them. That makes handling the responses much easier: See here: https://osdoc.cogsci.nl/3.2/manual/mousetracking/ Do…
-
Hi Wisnu, Is it possible to create the plot while the experiment is running? Yes, that is possible (even though effectively the experiment is pausing while the plots are being made, but that's not what you are concerned about, right?) I assume you…
-
Hi, Have you updated Opensesame in the mean time? Or some Python packages? Sounds a bit weird. Can you share the experiment here? Maybe a reinstall of Opensesame would fix it. Eduard
-
Here the u[dated experiment. The same prepare-run strategy considerations hold for they keyboard response item, i.e. you can't use variables that are created in the run phase of an item in a keyboart item as it is set up in the prepare phase. Unfort…
-
Can you share the experiment? It's a little hard to debug when not knowing what exactly it is you did.
-
yes, but only with an inline_script. Put one after the response and write this code in the run phase: var.timeout = 8000-var.response [timeout] can then be used as the new timeout variable. Eduard
-
Hi Gilead, For online presentation of information (using variables that are response-related), use a feedback item instead of a sketchpad. They are identical except that the former is executed in the runphase while the latter is executed in the pre…
-
Hi Sabrina, that looks promising! color code #888a85 Dictionary stuff I think in order to implement the dictionary I would use the same logic that you used for the back button in your form. So basically, if a button was pressed, check which button …
-
Hi Wisnu, I don't think you can use seaborn or matplotlib to draw on the canvas, but your probably will be able to bypass the problem, by making your plot and saving it as an image on your pc. Then, right after, you can use the canvas.image functio…
-
I have used correct response so it records the participants correct response (either Z or M) That makes sense for the actual task, but not for the confidence rating. So, they keyboard response for the confidence rating does not need a correct respon…
-
Hi Brooke, The last sequence is not necessary, you can also just call the three items in it directly. The problem with the experiment is that you specified a correct response ([response]). Why is that? This variable is not defined at that stage. An…
-
The logger writes the current values of all the variables that are currently stored to a file. Age and gender you only ask once in the beginning, so their values don't change and you'll see them appear in the logfile after the first logger is called…
-
Hi Brooke, I can't see a logger in the screenshot. So, I suppose you added it only to the end of the experiment. However, what you need to do is adding it after every time you expect a response from the participant (normally in the end of every tri…
-
In addition, it might be nice to see some screenshots on the error message that you get (or how you know it doesnt work), and the steps that you did.
-
Hi Jesi, You have now a loop for the number of dots in a single trial. But what I meant is that you need a loop for the trials. So, if you wrap another loop around your for loop (loop as often as you have trials), then you will have a list of dot li…
-
Hi, Can you share the experiment? Then I can check how you coded the experiments. Generally, sketchpads have a width and height (same for canvasses). So, if you define elements based on the canvas' width and height, you should be independent on the…