sebastiaan
About
- Username
- sebastiaan
- Joined
- Visits
- 7,320
- Last Active
- Roles
- Administrator
Comments
-
Hi Andrea, One way would be to use the touch_response plugin, with which you can code mouse click responses based on a grid on the screen (e.g. left side is 0, right side is 1). Or you could use a custom form with image_button widgets on it: * ht…
-
Hi NG, That's so cute! =:) If I were you I would start with the beginner tutorial, and see how far you get. For example, showing a picture and a note together shouldn't be too hard after you've followed this tutorial. * http://osdoc.cogsci.nl/3.…
-
(Quote) Yes, you (or rather we) are missing the actual error message that you get when the experiment doesn't run!
-
Hi A, The reason is simply that you don't use exp.set() to update points. You only update the Python variable that lives in your inline_script, but which isn't accessible using the square-brackets notation. Also, as of 3.0, you can use the var.varn…
-
Hi KM, This is possible, but how this works depends on your monitor setup, and on the backend that you use. PsychoPy supports multiple monitors, so if you use the psycho backend you can make use of that. An example is provided by @Edwin here: * ht…
-
Thanks Edwin!
-
Hi Wisnu, Could you maybe post the experiment and at least one of the images? Then I can see what's going on here. Cheers! Sebastiaan
-
Hi Erik, Indeed, numpy isn't available for the pygame subset for android, and as a consequence also not for the android runtime for opensesame. Cheers! Sebastiaan
-
(Quote) OpenSesame includes PyGaze 0.6, which is (much) newer than 0.4. What makes you think that there is something new in 0.4 that isn't part of 0.6?
-
Hi Samantha, It seems that you don't explicitly clear the display, in which case the display persists until a new display is shown on the next trial. If this feels sluggish, you can simply add a blank sketchpad after the response. Cheers! Sebastia…
-
Hi, You can print out the loudness values to the debug window by adding a simple print() statement below the call to get_rms(): # ...loudness = get_rms(block)print(loudness)# ... If you see that they fluctuate, but simply have really low values, …
-
Hi, You can use Python in text strings with the [= ... ] syntax, as shown here: * http://osdoc.cogsci.nl/3.1/manual/python/about.html#python-in-text-strings In your case, it seems like the following text would do the job: "[=50-var.give+var.…
-
Ow right! You need to set duration back to its original value before the coroutines is started. To do so, you can add an inline_script immediately before the coroutines plug-in, with the following code in it (either in the Run or Prepare phase): # …
-
Hi, That's an interesting question. Right now, coroutines has a fixed duration. But what you could do is define your own generator function in an inline_script that * Checks whether a response has been given; and if so * Changes the coroutines dur…
-
Hi Erik, You cannot access list elements in this way. Different versions of OpenSesame handled this slightly differently, but currently (as of 3.0), OpenSesame simply leaves a string like "[myvar[0]]" untouched, because "myvar[0]&quo…
-
Hi Tom, OpenSesame 3.1 has a responses object that contains the entire response history. So you can use that to, among things, determine how many correct responses were given: # Get a list of correctness values, but exclude those that are None (i.…
-
Right!
-
(Quote) Yes ;) The temporal inaccuracies are in the order of milliseconds.
-
Hi Jarik, Thanks for this benchmark. This results from the fact the PsychoPy doesn't prepare canvases in the same way that the other back-ends do; it does create stimulus objects in advance, but they are rendered only at the moment that the canvas…
-
Hi Frouke, You could also use the set_response() function, which will update the feedback variables automatically: * http://osdoc.cogsci.nl/python/common/ Cheers! Sebastiaan
-
Hi Sofia, You can just use the legacy backend, and everything else will keep working as expected. The most important between the different backends is timing, and this is really only important if you are running an experiment in which temporal pre…
-
Hi Samantha, I have a hard time following the logic of your script. I'm not sure it's incorrect, but it's definitely not the most straightforward implementation of a stop-signal task that I've seen! So I cannot really say what causes the weird beha…
-
Hi, There are two ways to specify the log file: * Manually, through the menu when you launch the OpenSesame runtime for Android: or * Through opensesame-autorun.yml. If you use this way of launching an experiment (and I suspect you are), you have …
-
Hi Erik, It took me a while to figure this one out, but the problem is that you're (inadvertently) shadowing the var object. The following line causes the problem: from numpy import * One thing that's imported is the numpy.var() function, which r…
-
Hi Johanna, Well, the easiest way is just to manually keep track of a counter. For example, you create a counter at the start of the experiment: var.my_counter = 0 And then you increment the counter on every trial: var.my_counter += 1 That way …
-
@richarddmorey Thanks, that's very useful to know! I actually wanted to say hi in Granada after the methods session. But the discussion went on for so long, and I had to leave! But I don't think it changes the story for JASP though. JASP uses more-…
-
I still don't have an EyeTribe with me to actually verify this, but: The fact that something that definitely did work before now seems broken for a lot of people suggests that it may be due to an update of the EyeTribe SDK. I have lasted tested it …
-
Hi, You could specify all these options in opensesame-autorun.yml, as described here: * http://osdoc.cogsci.nl/getting-opensesame/android/#automatically-start-an-experiment The downside of this is that you'll have to modify this file after every …
-
Hi Florian, Edit: I just realized that you're talking about a Bayesian RM ANOVA, and not a traditional one. I suspect that everything below holds in both cases, but I may be wrong. @EJ? If I understand your question correctly, what you want to do …
-
I think your best bet will be to ask if the PST support staff can give you an example of how to use the device in Python. Once you have that, you could write a simple inline_script to use it in OpenSesame. The website lists E-Prime 2.0 as a minimum…