sebastiaan
About
- Username
- sebastiaan
- Joined
- Visits
- 7,303
- Last Active
- Roles
- Administrator
Comments
-
Hi Cruella, This error means that Python itself (rather than the experiment) crashes, usually due to a bug in one of the underlying libraries. It's not something that you're doing wrong, in other words. The reason for such crashes can be quite obs…
-
Hi, You can write messages to the EDF file like so: eyetracker.log('my message!') If that doesn't work, then the issue lies elsewhere. For example, you may be sending messages during the prepare phase, or the eye tracker may be set to dummy. Coul…
-
Hi, In OpenSesame 3.2, presenting ☹ and other esoteric characters should work. It didn't work in older versions because these characters are generally not actually available in the font, and therefore the font renderer needs to be clever enough to …
-
Hi Sylvain, Right now the Canvas.elements_at() indeed checks whether a point falls inside the bounding rectangle of a polygon. Thinking about how to improve this I came across shapely which seems like a good library for this kind of geometrical ope…
-
Hi Enikő, If the order of a loop is random, then the repeat_cycle item doesn't repeat a cycle right away but rather re-uses it at some random later point. Is that simply the issue? I.e. that the cycle is repeated but that you're not noticing it bec…
-
Hi, If you want to define a variable in Python script, and then refer to it in OpenSesame script (like so: [hl3]), then (in Python) you have to assign it as a property of the var object: var.hl3 = 0 Does that make sense? See also: * http://osdoc…
-
Hi Sylvain, Right—what happens here is that DataMatrix tries to process this string as a number. But because it's such a big number, it becomes a long type, and DataMatrix doesn't accept that. I'll fix this in an upcoming release of DataMatrix. For…
-
Well, there are so many roughly equivalent devices that it's hard to say. The ASUS transformer series is pretty ok, I think. Having a 2-in-1 with a detachable screen is the most convenient form factor, in my opinion.
-
Hi Mengzhu, I suspect that the delay you're seeing is due to preparation for the next trial. You have a lot of sketchpad items in your sequence, and these all need to be prepared, which can take some time. And this introduces a delay between trials…
-
@Daniel Do you have any idea where this comes from, and what can be done about it?
-
Hi Rachel, Could you attach the experiment file here? Without seeing how you implemented the task, I cannot tell which variables you need! Cheers, Sebastiaan
-
Hi, (Quote) You can derive the duration of the experiment in various ways, but the easiest way is probably by explicitly setting a variable for the start and the end time. So you could insert the following inline_script (in the Run phase) immediat…
-
Hi Masoud, The x and y coordinates of a sketchpad element are defined through two separate keywords. So you need two variables to specify the location, for example a my_x and a my_y variable as shown below: draw textline center=1 color=white font…
-
Closing as duplicate of #4076. Please post the same question only once!
-
Hi Ema, Why don't you first try to implement the experiment up to the point that you manage? For example, you could try to build an experiment in which participants respond to the incomplete sentences by pressing the space bar, rather than through …
-
Again, thanks for doing this!
-
(Quote) It's certainly not the regression method, because that's something that happens for individual samples. So yes, I suspect they're doing something like smoothing, but not just smoothing, because you see that they also detect missing data (bl…
-
Hi Jennifer, I suspect that the 'mapped' pupil diameter is lost when the SMI fails to determine the camera-to-head distance, which it needs to convert pupil size in pixels to pupil size in millimeters. What I would do is take all samples for which…
-
(Quote) It's a bug in Python itself, or in one of the low-level libraries. So no, not really, except indirectly by avoiding the situation that causes Python to crash. (Quote) I suspect that the crash may occur because the file is not immediately cl…
-
Hi Sylvain, The error itself comes from the logger item, when it's trying to write something to file. If you add a logger to your test scripts, are you then able to reproduce the error? Cheers! Sebastiaan
-
Hi Doris, As it happens, there is an implementation of a forward Digit Span here: * https://osf.io/9xkh8/ Here the digits are presented simultaneously, but perhaps you can take that as a starting point? Cheers! Sebastiaan PS. Please do not flag…
-
Hi Inger, This error indicates that the Python interpreter itself crashes, rather than that there's a bug in your script per se. That being said, your script is a bit funny, because you're opening the same image twice. What exactly are you trying t…
-
Hi, In OpenSesame 3.2, the way that Canvas objects work has changed dramatically. This has the advantage that you can now modify existing Canvas objects, rather than re-drawing them from scratch when something changes, and this leads to large perfo…
-
Hi Estelle, There are many ways in which you could implement something like this. But it sounds like your best bet is to use a form. For example, you could present 24 checkbox widgets with 24 image widgets next to them. And then one button widget …
-
Hi Eris, Without actually seeing your experiment, it's impossible to tell what might be going on. Could you attach it to this discussion? Cheers! Sebastiaan
-
Hi Bruno, That's a very strange error message. It seems to originate from pyglet, the Python library used by PsychoPy (and thus OpenSesame's psycho backend), when it tries to handle a key press with a strange key code. A bug, clearly. Does this hap…
-
Hi Bruno, No, those are harmless! Cheers, Sebastiaan
-
@Eva This may be useful: * http://forum.cogsci.nl/index.php?p=/discussion/4055/
-
@Dirk This may be useful: * http://forum.cogsci.nl/index.php?p=/discussion/4055/
-
(Quote) It would because you can simply have multiple rows in block_loop with different values for condition. But it would not be very elegant, in that I agree. I'll think about a good solution for this use case. One thing that comes to mind is sim…