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 Rachel, (Quote) You cannot insert a sound into a sketchpad. What you can do, and probably did, is first show a sketchpad and have it followed by three sampler items. Once you get a grasp of OpenSesame's purely sequential way of working, things w…
  • Hi Michael, (Quote) The 'general script' contains the definition of the experiment. It uses a special, simplified syntax called 'OpenSesame script', which it is not Python. To use Python code, you need to use the inline_script item. See also: * ht…
  • Hi, Let's assume that you have three variables: * gaze_cue_pos indicates whether the gaze-cue image should be on the left or the right * gaze_cue is the gaze-cue image filename (i.e. the first picture) * gaze is the gaze image file (i.e. the secon…
  • Hi, Could you please upload your experiment (for example to pastebin), or at least post the inline_script that is relevant to your question? Cheers, Sebastiaan
  • Continued from #888. As we discussed in the thread above, you really need someone who is familiar with the device, and who can give you concrete advice about how to use the NeuroLog in Python (and by extension OpenSesame). But, to start, you mentio…
  • Discussion moved to #907.
  • Hi, It is a bit counterintuitive, but the coordinate systems that are used are indeed different. The sketchpad uses the center of the screen as (0, 0), whereas for mouse coordinates (0, 0) corresponds to the top-left. See also: * http://osdoc.cog…
  • Hi, You could consider setting the repeat value of your change_blindness_loop very high, and using a break-if statement to break out of the loop as soon as a response has been collected. For example, let's assume that you have an image_sequence th…
  • Hi, You could upload your experiment to pastebin and post the link here (please don't send it by email). However, there's not much that I can do in terms of giving specific advice. You really need someone who is familiar with the NeuroLog system. I…
  • Hi Tim, Right, that's because the standard distribution of PIL is not compiled with support for TrueType fonts. What you could try is replace the PIL module (which is a subfolder of OpenSesame) by a PIL version that is compiled with TrueType suppor…
  • What you could do is set the repeat value of your loops to a value smaller than 1. For example, if you have 300 cycles (assuming 1 cycle = 1 equation) and you want to randomly sample 20 of those, you would set repeat to .068 (= 20 / 300). Note, how…
  • Of sorts, yes. A loop cannot be aborted halfway, but you can use a break-if statement (under 'Show advanced options') to prevent a loop from starting a new cycle. Let's say that you have a structure like this: (Image) You can then make use of th…
  • It seems like the recording is not done by a hardware device, but by a program. This makes perfect sense, I think, for a modern set-up, although it's a bit unusual. So you probably have the sensors, which are connected to a computer that runs the Ne…
  • You can select a font in the preferences of the editor component, like so: (Image) Once you refocus the debug window, these settings will also be applied there. I'm wondering whether the default font settings don't work well on Windows 8.1. Could…
  • Ok, it's these two: form_pdg_test.set_widget(checkbox_c, (43,36),colspan=16,rowspan=4)form_pdg_test.set_widget(checkbox_d, (57,36),colspan=16,rowspan=4) 43 + 16 > 57, and therefore the two widgets overlap. Reducing the colspan for checkbox_c to…
  • A device can communicate through the USB port in many different ways. A very common way is actually by simulating an old-fashioned serial port. So it all depends on your specific device. I would first look on the manufacturer's website (or contact …
  • Hi Reko, It sounds like you should be able to modify your previous experiment, so I would start from there. But your question could do with a lot more detail! What do you want to do exactly in terms of trial sequence, reponses, etc. What do you hav…
  • Hi Sakis, Welcome to the forum, and thanks to you and your student colleagues for taking on this project! Of course, we discussed this already a bit by e-mail, but this forum topic will be a good place for more people to get involved and provide, f…
  • Hi Martin, If you want to log continuous data to the OpenSesame logfile, you're best off not using a logger item (which creates a spreadsheet-like format) and writing the data yourself using self.log() in an inline_script. For example ... for i in…
  • All the timestamps are in milliseconds, but their starting value is back-end specific. So it's best to just see them as having no meaning in terms of time-since-experiment-start. What you could do is simply pick an item, perhaps a sketchpad somewhe…
  • Hi Isabel, Right, I forgot that the geometry is only validated when you execute the form, so you wouldn't get this error after set_widget(). That's inconvenient. Could you post the full script, i.e. including the bits where you create the widgets a…
  • Hi Tim, You cannot draw on forms in the same way that you can with canvas objects, so what you want to do (combining form widgets with custom drawing operations) is difficult. Since you're already familiar with inline_scripts, you could consider th…
  • Hi Isabel, It's a bit difficult to spot by eye (you have so many columns and rows!), but you could debug this fairly easily by inserting a print statement after every set_widget(), like so: form_pdg_test.set_widget(choice_heading, (0,10), colspan=…
  • No, that's part of the definition of the class! That's part of the PsychoPy module, you don't need to include it yourself. The only thing that you need to do to get a working example is copy the example script above into the run phase of an inline_…
  • Hi Artem, Welcome! I just checked it, and you're right. There appears to be a problem with the DotStim class in recent versions of PsychoPy. I just filed an issue on this: * https://github.com/psychopy/psychopy/issues/554 Does this description (…
  • What makes you think that this task has been implemented already? It could be, but I don't recall any mentions of it here on the forum. At any rate, it shouldn't be too hard to implement this using PsychoPy's DotStim. * http://www.psychopy.org/api…
  • Closed as duplicate of #879.
  • Hi Timo, (Quote) Thank you, that's really cool. (Quote) This happens when you remove one of the wildcards from a translation. For example, if you translate ... Tell me more about the %s item ... by ... Vertel me meer ... you will get this type…
  • (Quote) I'm afraid that you're still not being specific enough! What exactly has a value of 8000, and where did you get this value from? Is 8000 the loudness returned by get_rms() that you printed to the debug window or something like that? If so, …
  • Hi Shire, Just to make sure we're on the same page: The participant has to respond, with a single keypress, to the stimulus that is presented in the mask item. Do I understand that correctly? If that's indeed everything, this should be very simple…