eduard
About
- Username
- eduard
- Joined
- Visits
- 1,402
- Last Active
- Roles
- Member, Moderator
Comments
-
Hi, You probably disagree, but this error sounds funny (reminds me of the Lernaean Hydra from Greek mythology). Unfortunately, I don't know how you can fix it with nothing more than you already have. However, shortly there will be an updated versi…
-
Hi Laura, Based on what you posted, I can see only one error, which is unlikely to have caused your troubles, but just for completion, the line: exp.set ("correct", correctness) exp.set ("Feedback", feedback) should be exp.set …
-
Hi, We can only provide good support, if you provide enough information on the issues you have. Based on your question, I can only recommend using the old version of Opensesame and not the new one. However, this is of course not optimal. Therefore,…
-
Hi Tabea, Don't worry, if you don't know how to program yet. Python is rather easy to learn and you'll be able to do quite a lot after a short while. I'd like to suggest, that you give it a try and do a few online tutorials (there are plenty good o…
-
Hi Naomi, Could you provide a few more information on the issues you encountered? Did Opensesame worked before and if so, maybe you can post the exact error messages. Best, Eduard
-
Hi, Change the lines from itertools import chain list(chain(*(letter_list)) chain = itertools.chain.from_iterable([[Z_distractors],[letter_list],[target]) into from itertools import chainlist(chain(*(letter_list))chain = itertools.chain.from…
-
Hi, Well, of course you can present fully random. All you have to do then is simply picking as many letters as you want randomly from a list with all letters you want to include. Just like so: import randomletter_list = [ 'a','b','c']stimuli_list …
-
You do it just the way, which Daniel described. Note the line: circle_stim = canvas.stim_list[-1] assigns the last drawn element to the variable circle_stim. So just make sure to draw your image last and you will have the same effect for it as yo…
-
One list includes all letters which you want to appear potentially in the sequence, so change that in [A,...,Y] then, if you don't mind for random As. The other list is already the sequence with all stimuli you want. You can initialize it with the …
-
Hi, I suggest following procedure: 1) Create a list with 250 letters, 100 of which are "Z"s and the residual ones don't contain any "A"s (unless you want also to have "A"s in the sequence that don't follow "Z&qu…
-
Hi Felix, Have you tried your code? The general idea seems to make sense. With a little bit of experimenting, I am sure you can find the setup you want to achieve. Btw, I changed your code a bit that will make it run without giving error messages …
-
Hi Yonderin, This isn't a bug, but an improvement of the newer version (at least in my opinion). Instead of having those two buttons you mentioned, creating sequences in Opensesame is now mostly based on drag & drop. In this sense, you can &quo…
-
Oh sorry. Apparently, I haven't read your questions. Indeed my suggestions works only for opensesame buit-in forms. If you only want the box to be bigger, you could have also just changed the self.box_size variable during initialization of your se…
-
Hi, To be able to help you, we would need more information on how exactly your experiment is supposed to be structured. So, e.g. Are the stimuli randomized per trial or block? Do you want to have complete randomization of stimuli, or still have som…
-
Hi Guido, Your idea sounds reasonable. I don't really know whether you need html editing, though. Python's text manipulation functionalities are quite flexible and should be able to do what you need. After you have all your test saved in respectiv…
-
Hi Mitko, Isn't set widget_label "<span size=23>WIDGET</span>" what you're looking for? Alternatively, you might let your widget span over multiple cells. Unfortunately, I can't really tell how this works. I just saw on the d…
-
Hi (Quote) Yes, you have to use indices. So to access an image called "1_pic1.png" and and a item list with the shape (('1',correct_resp),'2',(correct_resp),...), you simply write [cur_item][0]_pic1.png to access the first value in the li…
-
Sorry for the confusion, Adam. The two lines were not supposed to work (well, I wouldn't mind if they did, though). It should just demonstrate how you can access expyriments functionality, in general. You would have to check their documentation to m…
-
aah, too bad, I was afraid so. I don't really know how to solve this elegantly, sorry. Another work around might be to close the log file in the very end of the experiment, open it again and save it as another file. To do so, standard python functi…
-
Hi Adam, Your last idea is just what I had in mind. So, what you probably want the do is getting an inline_script in which you have your loop waiting for key presses and releases. As soon as you hold on specific key you start your video and wait un…
-
Hi, Did you also try to use the mouse and press the "Okay" button? In general, "keyboard_response" elements are not used for enabling the user to press a key and proceed in the experiment, but only to actually log the keypresse…
-
Hi C, I don't know much about the Android version, but the generic name for the logfile is defined in this, (line 99) file. If you find it on your system, I guess you can try replacing subject with whatever you prefer. Good luck, Eduard
-
Hi Kat, So you want this loop, in which you present modified and unmodified images alternatively to break, as soon as participants indicated per keypress that they saw the change? If so, I recommend you simplify your Imageloop_sequence a bit. Inst…
-
Hi, First of all, welcome to the Forum! The easiest way to learn about Opensesame (and some python), if you do one of the tutorials (e.g. this one). What you can do is defining a variable that is True if you want to run a loop and False if not. Th…
-
Well, you can simply add another field to your list, which contains the correct response. E.g. critical = [ ('1', '1_pic1.png', '1_pic2.png', correct_response), ('2', '2_pic1.png', '2_pic2.png', correct_response), ('3', '3_pic1.png', '3_pi…
-
Hi Marija, What you can do is add a variable (e.g. 'order') in the variable assistant of your loop_pamcenje, which can have 2 values ( e.g. 0 and 1) and you can randomize in the GUI of the loop. Then, in the pamcenje sequence you add to the first…
-
Sorry! I think I rewrote my response and deleted something by accident. What "there" refers to is the debug window. If you print something, it does't appear on the screen, but the debug window. Sorry for the confusion. Eduard
-
Hi Silvia, Now I understand better. Thanks for the explanation. Well, the solution to this problem depends a lot on how you have saved all the sentences. If you all have them as a ".jpg" file, I can't think of a smart way that requires no…
-
HI Adam, (Quote) The timing for each keypress should appear there, since this is were prints usually print to. Anyway, good to hear that it works now for you. Best, Eduard
-
Hi, This sounds like there is a bug in media_player_vlc. py. Try to exchange the old meda_player_vlc.py by this one: http://www.filedropper.com/mediaplayervlc . The location of this file you can obtain from your error message (according to your po…