eduard
About
- Username
- eduard
- Joined
- Visits
- 1,402
- Last Active
- Roles
- Member, Moderator
Comments
-
Hi, To fix your code, consider this: var.resp_history = [] # has to be defined in the beginning of the block or the experiment. Wherever you want to start counting fromvar.correct = var.response == var.correct_responsevar.resp_history.append(var.…
-
Hi (Quote) Well, are blocks of 4 or 6 trials that much unacceptable? That would be the easiest fix. In any case, I'd recommend to have the number of unique conditions matched for every block (in your case, same number of match/mismatch), so that yo…
-
+1 KinkyKuhn
-
Hi Anna, Probably the easiest solution would not be to exit the block, but just to wait in the middle of it, until the break is over. So, for example, you can add a sketchpad in the beginning of the loop that informs participants that they have a b…
-
Hi Boris, As far as I know, the plugin is a little buggy with the newer Opensesame versions (https://github.com/dschreij/opensesame_soundrecorder_plugins/issues/7). With the older versions it should work though. The error message suggest that you …
-
Hi Tim, Initialize sum_correct somewhere in the beginning of your experiment (or your block). Then every time you want to update it you just add emotion_recognized to it: sum_correct += emotion_recognized. If you want to use them in the feedback it…
-
Hi Pedro, In order for the video not to stop with every keypress, you need to set duration to 0. For collecting multiple keyboard_responses and logging all kinds of information connected to it, you probably need to do some inline_scripting. How to…
-
Hi Ella, Since the latest release of Opensesame, the loop table has quite a few advanced randomization techniques. Perhaps one of them will suit you well, however, I have never bothered reading them in detail (shame on me), but instead I can sugges…
-
Hi Bruno, I never used pygaze directly but only as plugin in Opensesame. There I have run quite a few eyetracking experiments with psychopy as backend. If you want to switch to Opensesame, using pygaze, I could be of bigger help for you. sorry, E…
-
Hi, If it works don't worry too much. Not sure what exactly the issue is (could be also on my end), but when I opened your script (by clicking show general script, in the first item in the overview area), there were more than 1000 lines of code, wh…
-
Ok, The only way I found to fix it, is to modify the source code of Opensesame (just writing a wrapper function does not work as the mouse object is invoked quite deep inside). So on your computer you have to find following file: libopensesame/wid…
-
Hi Stephane, As far as I know, Opensesame does not support rotation of either sketchpads or text. So the two possible solutions (that I can think of) are following: 1) Make an image of every unique letter in your experiment, and present the images…
-
Oh shit, Yes, I haven't read the discussion properly (obviously). I'll have a look later today or tomorrow, whether it is something that can be changed. Sorry, Eduard
-
Nope, not really. Maybe in the same folder as where the plugin is stored? You can try to check all the files in the stack trace of the error message (starting from below), to see whether you can find a path at which Opensesame tries to find it. Edu…
-
Hi, Google is always a good place to start: Wide to long: https://www.youtube.com/watch?v=_4pnUa5nmWs Long to wide: https://www.youtube.com/watch?v=MWwsd5orXDw Good luck, Eduard
-
Hi, Put the inline_script in the beginning of your block, and either do everything in it (incl. stimulus presentation, response collection and logging), or just set the relevant files names that will be used henceforth. Attached a file that implem…
-
Brilliant!
-
HI vatsal, I changed your code a little. have a look here: It looked fine, just a couple of redundancies. Also, be careful not to confuse = with ==. This caused the issues with the congruencies. Finally, you should be aware that they way you samp…
-
Hi Francesco, Which Opensesame do you use? There are currently 9 versions of 3.1 Eduard
-
Hi, 1) Hard to say. I use Psychopy backend and there it works just fine (with an Eyelink, though). I recommend you just the timing. Simulate some responses and see how reliable they are. 2) Sounds good generally. I would probably use the onset of…
-
Hi Maria, Add an empty sketchpad with its duration set to 2000. Eduard
-
Hi Maria, Normally inline_scripts do run on tablets, so something weird is going on. Is there an error message when you try running it? Can you post it here? Eduard
-
Hi lauren, If you want to break, you need to break :wink: Try this code: if clock.time()-t0>60000: var.break_the_loop = True # important to use "var", also in your first inline_script! # If this does not work, try to uncomment …
-
Hi Ingrid, That is much clearer. Unfortunately, I don't have much experience using the advanced options of the loop item (horizontal shuffle, etc). I prefer to do slightly advanced things directly in an inline_script. So something along these line…
-
HI, Can you confirm that you used [correct] instead of correct? If so, can you upload the experiment? Like so, it will be fixed in no time. eduard
-
Awesome! Thanks for sharing! Eduard
-
Hi, One solution (a little ugly though), is to put a mouse response after the form. In that mouse_response change the timeout to 0 and unselect the box for Visible mouse cursor. Does that help? Eduard
-
Hi Mario, Try this code, it works quite nicely for me. ms = mouse()cv = canvas()path = exp.pool[u'yourFile.png']cv.image(path)cv.show()ms.show_cursor(True)for i in range(6): # I made a loop around the main function to see how it works for multipl…
-
Well, if you don't describe the issue, we can't help you.
-
Hi Nathacia, How far did you get? Opensesame's prepare-run-strategy is made for exactly that. If you really have a lot of data, I wouldn't load everything in the beginning of the experiment (as this might cause memory issues), maybe loading the da…