Edwin
About
- Username
- Edwin
- Joined
- Visits
- 95
- Last Active
- Roles
- Member, Moderator
Comments
-
Apologies, you are completely right! I've updated my post. Glad the closing helped solve part of your issue, though! Am still working on the other bit.
-
No worries! Hope you can make it work! BTW: If you're already scripting all the way, I've implemented something similar in the past in Python (using PyGaze, but using PyGame or PsychoPy directly would also do the trick). The idea there was simple: …
-
Hi Daniel, I would advise against using the parallel plug-in, unless it is absolutely necessary. Assuming you are using an inline_script to present the aversive stimulus, your trial sequence will look something like this: - sketchpad (fixation)- s…
-
Hi Digo, Thanks for the feedback! I wasn't aware of the matplotlib issue you mention. Did you not have PIL installed, or was Pillow required nonetheless? The (0,0) points (top left) are missing data, which is not filtered by the saccade algorithm.…
-
Thanks for the feedback! Nice to see people using this :) In my experience, not all image types are loaded properly. I think JPEGs work best. Could you convert your images? As an aside: You could simply install the Ubuntu font, but it's not a requ…
-
You can't. You can set its duration to 0 ms, then add a keyboard_input item directly after the Sketchpad. Set its allowed input to enter. BTW: you might want to have a look at the tutorials.
-
BTW: a similar bug happened on YouTube recently.
-
Hi Nilloc, It seems you already know how to get data from your device using a socket. To load data from a csv, you could simply use Python's native open function, or NumPy's loadtxt. See below: open # path to the csv filecsvpath = "C:\Users…
-
Hi Adrien, Have you included a joystick item in your experiment? The libjoystick library isn't activated until a joystick item is prepared. You can insert one at the start of your experiment, e.g. to catch a buttonpress after showing an introductio…
-
Hi, This will definitely require some inline scripting, as there is no standard feature for it. Here are some tips on where to get started with learning Python. Good luck!
-
If I understand the issue correctly, you want software to create the matrices you describe? If that is the case, I would suggest learning a bit of coding, as I don't see a very easy way around that. Here are a few suggestions on where to get started…
-
Yes, this is possible. For example, by using the Run if field of a feedback item, and using the following conditional statement: [correct] = 1 and [response_time] > 2000 (note that you will need to have an item in the same sequence that updates…
-
One thing you could do, is add an inline_script item directly before the loop that runs your trials. Add the following code: Prepare phase # pre-create the variable, so we don't run into any trouble in other prepare phasesexp.set('block_starttime'…
-
I think this might be a case for @dschreij, who is our Mac and video expert. Also, you might want to specify which of the video playback options you are using, to make it easier to troubleshoot the issue.
-
Hi Digo, Thanks for digging into this. I think I've found the problem. The following line is part of pytribe.py (line 850): 'fix': response['values']['frame']['fix']=='true' Because I, erroneously, assumed the result was going to be a string rat…
-
Hi Merle, No worries! To cite OpenSesame, please use the information below: * Mathôt, S., Schreij, D., & Theeuwes, J. (2012). OpenSesame: An open-source, graphical experiment builder for the social sciences. Behavior Research Methods, 44(2), …
-
Hi Mine, Happy to learn you've fixed the problem! A practice phase is there to get the subject acquainted with your task. Sometimes it's helpful to get your participants to practice on an easier version of a task, e.g. with higher contrast stimuli…
-
Spotted the bug, I think. My fault as well! Sorry! (exp.my_canvaslist[-1].rect(x=0, y=0, w=self.get("width"), h=self.get("height"), color=(255-i,255-i,255-i), fill=True) Should be: (exp.my_canvaslist[-1].rect(x=0, y=0, w=self.…
-
Could it be because you call pygletwin.clear() before calling pygletwin.flip()? You mention you already have the Pyglet code for your stimulus, so I assumed you were familiar with it's Window class. I am not, but I did find some documentation here.…
-
To clarify: You are not using the sequence in the advised way. You mention in the initial post that you use a single sketchpad per sequence, and calculate the difference between the onsets of two consecutive sketchpads (in two consecutive sequences,…
-
Hi jl, There are two options: 1) Rewrite Display and Screen (and possibly Keyboard and Mouse). Basically, this means implementing all the existing functionality (provided through PyGame and PsychoPy) by wrapping Pyglet. 2) Use the EyeTracker clas…
-
Hi Adrien, Your question has been answered in this thread. Good luck!
-
The loop and sequence items were designed with one trial in mind. That is: one trial is represented by one cycle in the loop (allowing you to set the specific parameters in that trial with variables), and runs through a single sequence. In this ligh…
-
Finally spotted the problem! The mistake is in the following line: self.FinScreen = self.offline_canvas()exp.Screen4FB = self.FinScreen.copy(self.Target) This should have been: self.FinScreen = self.offline_canvas()exp.Screen4FB = self.offline_c…
-
If you want to learn about the logic of these conditional statements, please read this page of the Documentation. Your approach should work, provided that fixation is an item that is run in each cycle of your sequence. For an example, please see th…
-
Hi Simone, It seems your audio files are in a weird format. Could you perhaps send one over, so I can have a go at converting it to something that might be readable to OpenSesame? Best, Edwin
-
Thanks for posting the full error! Two comments, which aren't very optimistic, I'm afraid: 1) The problem seems to be in a Tobii library, where a wildcard isn't filled out with the proper value. This seems to lead to the library not being able to …
-
Hi Daniel, Thanks for letting us know it's solved for you! To be honest, I can't really find the problem either... Good luck with your experiments!
-
Hi @vinu, You might want to open a new thread to ask. Also, it would really help if you could be specific about what you want, how you are trying to implement this, and why that does not work. Video's can be played in OpenSesame by using one of se…
-
If you simply change it to: [count_fixation]%20 = 19 or, for the end result: [count_fixation]%500=499 This should work. Unless you had a specific reason for using the (slightly awkward) and [count_fixation] != 19. Did you?