eduard
About
- Username
- eduard
- Joined
- Visits
- 1,402
- Last Active
- Roles
- Member, Moderator
Comments
-
Hi Carien, The answer of the first question should be stored in a variable (it should appear in the logfile). If it does you can use a sketchpad to present text. Once you selected the text function click on wherever you want to text to be displayed…
-
Hi, Add an inline_script before your loop and put this code in there (prepare phase): import randomno_trials = 20 ratio_rep = 0.6 # how many repetition trials are in a block# make sure that the ratio can be reproduced with the number of trialsva…
-
Hi, printing them out is very easy. In the code of my previous code I have a line that starts with print that will print it to the debug window (activate it with ctrl+D). If you run your experiment, you can check the logfile that is written to look …
-
(Quote) I have never encountered something like that. If you can reproduce that behaviour reliably, could you file an issue on Github? Eduard
-
Hi Nachshon, I recommend you don't use the sampler function to play back the sounds, but an inline_script. The procedure is quite straight forward. Put an inline_script before your instruction slide and put this code into the prepare phase of it: …
-
Hi Nicolas, Sorry, but this is really a lot of code that seems to make sense somewhat. However, without having a better description of the desired behaviour it is very difficult to help you debugging. Would you mind elaborating a little more? Maybe…
-
Hi, (Quote) We need more detail. What is it that you need help with? There is some help on the documentation: * http://osdoc.cogsci.nl/3.1/manual/logging/ * (http://osdoc.cogsci.nl/3.1/manual/python/log/) (Quote) Same here. What is the problem? D…
-
Hi, You have to capture the output of the function in a variable: import uuidvar.ID = uuid.uuid4().hex[:16].upper() # save the codeprint var.ID # print the code (Quote) I'm not sure whether I understand. If you have a unique experiment code that…
-
(Quote) Well, you can undock the window and put it on a separate screen. Or you could run the experiment and check out the column names in the logfile. You can also uncheck the option to log all variables, but add manually the ones you need, but you…
-
Hi, Attached the modified experiment that should work. (Quote) This is because you have activated the option return_accept = True. In order to proceed, you have to hit return. If you set return_accept to False, then you have to press the next butt…
-
Hi Vincent, As I said, you either have to go for a form item with only a single question but the same variable name. This will give you a single column with all the responses. Or you can go for as many questions as you like per page and each questi…
-
Oh, I see. Well, this is because you do randomize only your condition variable but not the durations of the conditions. They are hardcoded. You can try coding all your variables in a similar way: import randomorder = [1,2,3,4]conditions = ['A', 'B…
-
Hi, Would it work to add a logger (linked copy of the current logger) before the second question? Eduard
-
Hi Vincent, Would you mind uploading your experiment? Maybe even one logfile. But from the way you describe it, you won't be able to get one column per item. It's a trade off between using loops efficiently and having separate columns. Probably it…
-
Hi, What exactly is the problem? Your script and structure seem to be fine. (Maybe you could move your script for the run to the prepare phase of your inline_script). Are there any error messages? Eduard
-
Hi Minne, Can you upload your experiment? I'll have a look and try to make a basic slider for you. Eduard
-
Hi Minne, You can browse the forum a little, I remember there were several questions about sliders: For example: * http://forum.cogsci.nl/index.php?p=/discussion/1579/solved-vertical-slider-rating-scale * http://forum.cogsci.nl/index.php?p=/discu…
-
Hi, Yes the problem is located somewhere in a sketchpad. You can upload your experiment anywhere, Googledocs, filedropper, etc. Perhaps, you can also simplify your experiment, i.e. remove some images from the filepool. The stracktrace alone is not…
-
Hi, Yes you remember right, I use Eyelink together with psychopy. A couple of my experiments you can find online on OSF.io : https://osf.io/qknug/files/ Good luck, Eduard
-
closed as duplicate of 443
-
There are multiple ways, you can for example add a column to your loop table and set the correct_response to the button that you need. As far as I know, a button returns the text on it when it is clicked. So if you capture execute your form, you can…
-
Hi Sadek, These interfaces are based on markdown. It makes it easy to write nicely structured text. For the code example in particular. you have to include three tildes ~ + a dot . and python. On the next line you begin writing your code, and when…
-
Hi, (Quote) this is rather unlikely because this should then have happened with other experiments as well. And I had never problems of that kind with psychopy. (Quote) The more complex your experiment gets, the easier it is to lose track of the in…
-
Hi Kristina, In the beginning of your experiment, you can include an inline_script and copy following code into it: import timevar.datetime = time.strftime('%c') Then in the logger, you have to add this variable to the list of variables that you …
-
It is the time measured from the moment the keyboard item is called until a key is pressed (or mouse). See here: http://osdoc.cogsci.nl/3.1/manual/variables/#response-variables Does that help? Eduard
-
Hi, If you set Current = joystick.get_joyaxes(timeout=None) to Current = joystick.get_joyaxes(timeout=0) does the problem persist? Also your t0 is rather far away from the loop. that causes unnecessary delay. You should define it , right before en…
-
Like Sebastiaan said, You should try learning Opensame first by doing the beginner's tutorial: http://osdoc.cogsci.nl/3.1/tutorials/beginner/ If you go step by step and understand the reasoning, that you should be able to apply your new knowledge t…
-
Hi J, This here:https://gstreamer.freedesktop.org/ is there website. There are also download links. Good luck, Eduard
-
Which operating system do you use? On windows, the terminal is the the progam "cmd.exe". You can open it like this. Normally, you should have pip installed, if not, you can follow these instructions. I believe you can also just use it di…
-
Hi, Those inaccuracies are usually random, so I doubt that you will be able to reconstruct the "true" values. However, if the inaccuracies are not too big, I wouldn't be concerned, there are so many noise factors in the participant alone,…