fladd
About
- Username
- fladd
- Joined
- Visits
- 174
- Last Active
- Roles
- Member, Moderator
Comments
-
Hi Juliette, the new version fixes the problem on all OS. Important: Please do NOT install Expyriment from the source (expyriment-0.9.0.tar.gz)! Always install Expyriment as described in the installation instructions: http://docs.expyriment.org/In…
-
I just checked it, and it will work with the new version. I will release it tomorrow.
-
If you send me your script, then I can try to debug it here on my machine if you want to.
-
Yes, they are, they tell any programme that opens the file that the method to put the characters into the file was via UTF-8, so those programmes know how to read the file. But that also means that if the method is different from what you write in t…
-
Dear Juliette, does your editor with which you write the code also encode with UTF-8? If not, you need to set the encoding header to the encoding your editor uses. The error might, however, also be related to a bug in Expyriment (which will be fix…
-
Hi Juliette, please see the documentation for TextBox and TextScreen for multi-line text. Best, Florian
-
Hi Juliette, 1) Please see our documentation on this: http://docs.expyriment.org/Unicode.html 2) exp.keyboard.wait() will wait for any key
-
To explain the error message a bit: It means that you were trying to use the - operator on two things that were of different types. The 6000 is an integer, while the rt apparently was None, which is an instance of the NoneType. Python does not know …
-
Oh sorry, I forgot the case that the participant does not respond within 6000ms. In this case the return value is None, None. So the correct code should be: button, rt = exp.keyboard.wait(keys=response_keys,duration=6000)if rt is not None: exp.…
-
Hi, * delete exp.clock.wait(6000) If you want to show the stimulus always 6000ms, irrespective of whether the participant answered earlier, just wait the remaining time after the exp.keyboard.wait line: exp.clock.wait(6000-rt) * why would rt not b…
-
Great to hear the issue is solved!
-
python -m pip install -U pygame should just work fine. If the installation of Pygame 1.9.3 worked, then you should also get this version when you install it. I don't think two pygame versions can be installed in parallel in the same Python distribut…
-
Luminance is measured with a light meter usually. Last time I measured it, we used one that has a laser so it can measure at an exact position you point it to.
-
I just tested with the audio files you sent me and the following script: import expyriment as xpyexp = xpy.control.initialize()s1 = xpy.stimuli.Audio("nord_ou_sud.wav")s2 = xpy.stimuli.Audio("ouest_ou_est.wav")s1.preload()s2.pre…
-
Depending on the size, you could send it to florian@expyriment.org, or alternatively, send it via services like https://wetransfer.com/
-
Mmh, luminance correction is a difficult topic, as it depends on the characteristics of the used display. Last time I matched stimuli, I did it manually, by continuously measuring the stimulus on the screen with an optic sensor, and then adapting th…
-
Very strange. Could you maybe send me one of the files? Then I can check if it works here.
-
Dear anapinho, as rrr mentioned, this sounds like an issue with a too low audio buffer. Did you change the audio buffer to a custom value? The default is 2048, which should be high enough. You could try increasing it even further with expyriment.co…
-
Nice! Glad I could help.
-
Hi Juliette, I am not sure I entirely understand, but what prevents you from using a normal Python dictionary with a list here? trials = {"Trial1":["Target", "choice1", "choice2"]}...trial15_target = trials[…
-
How about creating a between-subject factor "picture_arrangement" with two levels ("x_is_left", "x_is_right"): import expyrimentexp = expyriment.design.Experiment("My Experiment")exp.add_bws_factor('picture_a…
-
Hi Juliette, there are two ways to achieve what you want: * First create a transparent canvas to plot all three stimuli to, then present this canvas. This is most often the easiest solution canvas = expyriment.stimuli.Canvas(size=(500, 500)) # Ad…
-
Can you provide a working example?
-
Dear Santiago, I think option 2 is indeed the most suitable one. However, the flickering might be due to double buffering. The solution is to just present it twice, so it gets written to both, the front and the back buffer. Hope this helps, Florian
-
Dear Christophe, since this is an OpenSesame question, and not an Expyriment question, I will move this thread to the OpenSesame forum. Best, Florian
-
Hi rrr, maybe like this? import expyriment as xpyexp = xpy.design.Experiment()# Let's assume there is a variable 'stimuli' that is a list of 200 trialsxpy.design.randomize.shuffle_list(stimuli)for counter, stim in enumerate(stimuli): if counter…
-
What you are seeing there is what I saw with parts of your script. Are you sure you are actually using the version I sent you?
-
Dear Robert, I glad to hear you are using Expyriment in your work, and I am sorry to hear you are having problems. If you could share the code of the particular experiment with us, then we will have a look to identify what could be the issue. Also,…
-
I just put them into my example directly in order to demonstrate the principle, but you can of course also read them from a text file.
-
Dear oriane_g26, your script had several mistakes (syntactic and semantic). However, these should have led to Exceptions with detailed error descriptions, rather than not showing TextBoxes. Which Expyriment version are you using, and on which OS? …