sebastiaan
About
- Username
- sebastiaan
- Joined
- Visits
- 7,320
- Last Active
- Roles
- Administrator
Comments
-
Hi Gloria, If you have that many images, it's best not to put them in the filepool. You can just put them in the folder that contains the experiment file, and OpenSesame will find them as well. This should reduce the performance issue, because that…
-
Hi Harold, I'm not sure what happened here (it might be due to filedropper), but the format of the file is a tar archive (.tar), whereas OpenSesame expect a gzipped tar archive (.tar.gz). So what you could do is rename the file to something.tar, an…
-
Hi Andrea, The problem is simply that you're comparing an int with a str. For example, Python will evaluate this as False: 1 == '1'. So the solution would simply be to compare err_corr to an int, like so: if self.get('id') == 1: Does that make se…
-
Hi, Indeed, %d is for integers, and will effectively round floats down. Btw, if you feel that this a wortwhile addition to PyGaze that other people might benefit from as well, you could consider sending Edwin a pull request with the changes throug…
-
Hi Patrícia, (Quote) I had to look this up, but I'm guessing you're doing a variable-interval reinforcement-schedule experiment. Right? (Quote) That's certainly possible, but the details depend on the structure of your experiment. What does your e…
-
Hi Bob, Right I see. In that case, using a QTreeWidget indeed makes sense. Adding it to the controls works the same though, you can simply use self.add_widget(). You could also consider turning this into a standalone program that launches an OpenS…
-
Hi Johannes, You don't need to compile OpenSesame or the plug-in, so in that respect you're fine. However, you do need to install pymedia, and it looks like that's not a trivial thing to do, because some dependencies are outdated. @dschreij any id…
-
(Quote) That's possible, because there's quite a bit of processing going on, and not in a very optimized way. I'm afraid the only real solution would be to use a lower resolution video. (Or think of a more efficient script that does the same thing, …
-
Hi Elvio, It seems that you're doing things correctly. If you have Python variable x, which lives in your inline_script items, you need to use exp.set('x', x) to create an experimental variable that has the same name and value. Once you've done tha…
-
Hi Bob, (Quote) If you hide a widget, it won't take up any space. If this appears to happen in your case, then you have probably grouped the widgets in a container widget, which takes some space of its own, even if all widgets in it are hidden. In …
-
Hi Tali, Maybe the following post is helpful: * http://forum.cogsci.nl/index.php?p=/discussion/814/open-nested-lists-functionality It discusses how you can implemented E-prime-like nested lists in OpenSesame. Cheers, Sebastiaan
-
Hi Andrea, You ran into an unfortunate combination of weird images and a bug in OpenSesame. On some systems (Windows, but not Linux), OpenSesame fails to read your images using the standard mechanism. If that happens, it falls backs to a different …
-
(Quote) It doesn't. :P (Quote) It's preferable to keep all questions on the forum, so other people can benefit as well.
-
Hi, This shouldn't be too hard to implement, although the details depend on what exactly you want to do. * To begin, I would define the coordinates of the dot in a loop item, typically the block_loop (if you're working from the Extended Template).…
-
Closed as duplicate of #1395.
-
Hi @tkesnerus, (Quote) I've heard that you can remove these soft buttons with external apps. This is not specific to OpenSesame, so I would just search for general tips on how to hide soft buttons. If you find a way that works, please share! Cheer…
-
Hi Tom, I'm guessing you use the code from this post: * http://forum.cogsci.nl/index.php?p=/discussion/40/solved-implementing-a-slider/ Is that right? (Quote) To do this, you need to break the while loop when the coordinates of the mouse are out…
-
Hi, What you could do is set the 'Call custom code option' to 'on keypress', and add the following code code: print('pause!')self.player.pause()# Wait for keypress or mouseclickwhile pygame.event.wait().type not in (pygame.KEYDOWN, pygame.MOUSEBUT…
-
(Quote) I'm guessing that 'it' refers to the Online Gabor patch generator? * http://www.cogsci.nl/software/online-gabor-patch-generator A gabor patch doesn't have a size--it's infinite. So instead you specify the standard deviation, where larger s…
-
Hi Bob, Good to see you on the forum again! I think the best way to handle this is not by changing or recreating controls, but to hide and show controls (i.e. widgets) based on which language is selected, using QWidget.setVisible(). * http://pyqt…
-
Hi, This is a known issue, but you can work around it. For more information, see: * http://osdoc.cogsci.nl/forms/performance-issues-and-troubleshooting/ Cheers, Sebastiaan
-
Hi, The issue of form-input validation has come up a few times before. Maybe these discussions will be useful: * http://www.cogsci.nl/forum/index.php?p=/discussion/1121/ * http://forum.cogsci.nl/index.php?p=/discussion/197/ Cheers! Sebastiaan
-
Hi Daniel, (Quote) You probably have a large video file in the file pool, right? OpenSesame can create duplicate file pools, which are cleaned up only when the program closes. This can eat up a lot of disk space. You could see if the problem is les…
-
Hi Daniel, The easiest solution depends on what you want to do exactly. If your video doesn't have any sound, I would recommend using opencv as described here: * http://osdoc.cogsci.nl/usage/video/#opencv This will be easier, but it's quite limit…
-
Hi Alex, Do I understand correctly that your main goal is to have fully predictable timing, so that also the intertrial intervals are always constant? This is indeed not trivial to do, for the reason that you already found out: Preparation occurs a…
-
Hi Jona, For me it works fine. That is, the first words ("Zur Kategorie") always disappear after one key press. The problem, if I understand correctly, is that this does not happen on your system? The logic of the script looks fine to me…
-
Hi, (Quote) The easiest way to do this is simply to set a duration in the sketchpad, for example 1000 ms. This will pause the experiment for 1000 ms before moving on to the sampler. (Quote) That's a bit trickier, but what you could do is the follo…
-
Hi, There's no direct way to do this, but you could hack into PyGaze to set the wrap width with PsychoPy directly. The thing to know is that when you call Screen.draw_text, PyGaze creates a psychopy.visual.TextStim and appends it to Screen.screen, …
-
Hi, Could you provide some more detail: What exactly goes wrong, what kind of error message do you get, and what version of OpenSesame do you use? Cheers Sebastiaan
-
Hi, I'm guessing that when you say 'randomly assign', you actually want to counterbalance the conditions. Is that correct? So participant 1 will do meditation, participant 2 listening, 3 mediation, etc. To do this, you can use the subject_parity va…