Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

sebastiaan

About

Username
sebastiaan
Joined
Visits
7,303
Last Active
Roles
Administrator

Comments

  • 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…
  • The way to convert from degrees of visual angle to pixels and vice versa is described in detail here: * http://osdoc.cogsci.nl/miscellaneous/visual-angle/ If this information doesn't answer your question, could you be a bit more specific and descr…
  • @mariosav Do you have reason to think that many other people feel the same way? If so, an append button could be re-added.
  • Hi Lex, Thanks for this detailed explanation. It's a shame that the recent versions of OpenSesame don't work due to the segmentation fault. However I suspect that opensesamerun does not suffer from this problem, because it makes less (or no when st…
  • Hi, The best way to do this is to define your question as a variable (my_question) in a loop: (Image) Then you use only a single form_text_input, and use the variable my_question to indicate the specific question: Does that make sense? Making…