eduard
About
- Username
- eduard
- Joined
- Visits
- 1,402
- Last Active
- Roles
- Member, Moderator
Comments
-
What is the problem. You need to provide more information if you want to have more decent help. Also, maybe first try to bring Opensesame to work, before you add pygaze to the mix. Solving multiple problems simultaneously is much harder that one by …
-
Hi Sabrina, Check form validators: https://osdoc.cogsci.nl/3.2/manual/forms/validation/ Hope this helps, Eduard
-
Hi Anda, Can you upload your experiment? I'd like to try it. ideally, you'd simplify it (remove unncessary items) as much as possible without removing the issue. Eduard
-
I don't think this is currently supported, I'm afraid. If it is very important to you, you can use buttons instead of checkboxes and change their color depending on clicks. But this solution would have other disadvantages. Eduard
-
Hi, I think you'd be better of to ask in the openstack community for help. The problem you are having doesn't seem to be Opensesame-specific. Eduard
-
Hi Sabry, looking at the code, I realize that this code can't work, really. Once a formed is executed you can't change settings inside the form without executing the form again. So after your call form._exec(), the focus can't be changed anymore. B…
-
Hi, Use inline_scripts! The problem is easily solved then. For example: import random# suppose you have the variable sound type in your loop tableresponses = dict(X=['a','b'],Y=['c','d'] # allowed response mappingvar.required_response = random.cho…
-
Hi tali, You can use inline_scripts to load the data table 'manually' into a pandas dataframe and select trials and conditions from this sheet. I think this should work and might solve your issues (hopefully) Eduard
-
(Quote) have you tested it? Why shouldn't it work? Eudard
-
Hi harrison, Can you share the experiment with us? Maybe even a simplified version that still shows the same behaviour? This will speed up debugging a little, Eduard
-
What exactly is the problem?two keyboards are no problem. Having two interactive participant is a little tricky. You can find workaround by using unique keys for each one and infer based on the keypresses what happened. To make them properly interac…
-
I don't understand. When is the clock supposed to start? With stimulus onset or with the first keypress? If only with the first keypress, that it doesn't really make sense to make the loop duration contingent on that (what if participant need a minu…
-
Hi Bo, the plugin was built for a much older version of Opensesame and i am afraid it isn't compatible with the current version of Opensesame anymore. If you really want to use that plugin, it might be an option to use an older version of Opensesam…
-
Hi, In the first part you set var.trial_count = 0. However, in the next script, you also have trial_count = self.get("count_trial_sequence"). So effectively, you are overwriting the trial count variable every single time with the count_tr…
-
Hi frederic, Can you attach your experiment? I'd like to have a look (it is easier to work with actual code than with screenshots). I have a hunch though. Can you try replacing None with 'None'? I think Opensesame converts the None in the loop tabl…
-
You have to define start time before you enter the loop. Just take the current time: start_time = clock.time() Eduard
-
Hi, You don't have to get the variable. You can simple use is it by prepending the var.. So if in your loop table you have the variable target_word, you can access its value by writing var.target_word in an inline_script. Does that work? Eduard
-
Hi, You can add a constant angle to the computation of dx and dy. For example: dx = arm_length*cos(radians(time+start_angle)) Just make sure that you set the angle before you enter the loop, e.g. with numpy's linspace: import numpy as npstart_an…
-
Sounds weird. Could you try to copy them again into a different folder in your dropbox? Just to see, whether it is the copying that helps, or the new location outside the dropbox. Eduard
-
Hi Harrison, Well, as far as I can see, the THE_END sketchpad is the next item in the outer loop, once the inner loop is finished. So given your description and your screenshot everything seems to make perfect sense. You also don't have an outer lo…
-
Not sure whether I perfectly understand what you want to accomplish, but if it to generate a path to a sound file based on a randomly generated target word, I highly recommend using intuitive file names. For example, if the target word variables are…
-
Hi Foddle, If you increase the space in between your widgets (by adding more columns in between the relevant columns), or reduce the font size, you can probably fix the overlap issues. To change the font color, you can look at the general settings …
-
Hi, Can you share your experiment? This will make it easier to help. Some general advice: * make sure your logger and feedback items are at the correct level in the sequence (see the tutorial) * to choose a random prime, make lists with all the p…
-
Hi Simon, Can you upload your experiment? It is hard to make an estimate what is happening without knowing what exactly you did. Eduard
-
Hi Viola, I don't know whether this Leap motion device in particular is compatible with Opensesame, but generally, if a device can be accessed via python, then you will be able to use Opensesame to communicate with it. According to this link, it s…
-
Hi, Does this part of the documentation help: https://osdoc.cogsci.nl/3.2/manual/python/canvas/#function-canvas46image40fname-centertrue-xnone-ynone-scalenone-rotationnone41 Conceptually, using circles and images are handled the same way. Best, …
-
Hi, Have you tried to convert the files into another format? Eduard
-
Hi, If you don't use plugins but play a video from within an inline_script, it will, most likely, be possible. I recommend you figure out how to play videos first (separately of the simultaneous sounds), and once you figured it out, you can try to …
-
Can you also try reinstalling Opensesame? If this doesn't work, you can try a different installation method (e.g. via pip) or another workaround (though not ideal solution) would be trying the standalone version that doesn't require an installation …
-
Hi Jasmin, You can simply replace the target letter with a digit. So this line (no 26 in the RSVP inline_script): stim_list[var.T2_pos] = 'X' you can replace with stim_list[var.T2_pos] = 8, for example. And the same for the other target. Does that…