eduard
About
- Username
- eduard
- Joined
- Visits
- 1,402
- Last Active
- Roles
- Member, Moderator
Comments
-
Python variables are not allowed to start with (most) special characters or numbers. Mostly, variables start with letters. Have a look at naming rules: First hit on google: https://thehelloworldprogram.com/python/python-variable-assignment-statemen…
-
You have an error in line 11 of draw_stimulus (words = [["RED","red"]["GREEN","green"]["BLUE","blue"]], this is not how you separate items in a list), but current_block_type = var.block_typ…
-
Can you share your experiment? Eduard
-
Hi Boraste, If you don't provide more info, we can only guess what the issue could be. So, please help us helping you and share a little more information, i.e. preceding code, maybe even the experiment. Eduard
-
Hi, I don't know for sure, but I doubt whether the plugin (irrespective of operating system) is compatible with the current version of Opensesame. As far as I know (@Daniel correct me if I am wrong), nobody has worked on that plugin for several yea…
-
Hi Vatsal, You can present canvases also via inline-scripts. Check out this to get an idea how. Eduard
-
In every sequence item you can define under which conditions certain items should be run (run if field). If you have a trial counter, you can define two types of trials (i.e. trial sequence) which is called depending on the trial number (run if = [t…
-
Can you make sure that there is no additional whitespace in the head of the block_type column. So, e.g. block_type or block_type, rather than block_type?
-
All variables that are defined in a loop table or in inline_scripts with var preceding them (e.g. var.variable_name are being written to file by default. So adding variables, means you have to define them somewhere. Having seen your experiment, I d…
-
Hi, Basically any working memory task. Just use verbal or visual information as memoranda, or use visual information for both, but vary the amount you can verbalize it. If you google scholar, visual working memory and verbalizing, you should find …
-
Hi Ilan, Are you sure you have defined var.block_type earlier in your experiment? Can you also share a screenshot of the loop table, or where you think you defined it? Eduard
-
It should be working. If you run into a problem, you can ask a specific question. There will probably be a reason for it.
-
If the sequences are not linked, you can add put a variable that evaluates to true in one condition and to False in the other one, into the run if field of the item (in the sequence). Eduard
-
Try to take one step at a time. For example, never mind the n-back task for now, but just try to create a list of stimuli in the beginning of a block, and present them one by one in the trial loop on the screen. It may appear overwhelming now, but i…
-
I meant something like that. So prespecify the sequences and the order before the trial loop, and access each item individually in it. Hope that helps. EDuard
-
Hi, I think you shouldn'T be worried about the feedback yet. Once you can produce sequences that are correct, you can dive into providing proper feedback. It is a little cumbersome to fix the feedback before you actually have the sequence. (Quote…
-
Are you sure? I downloaded your experiment (from the beginning) and changed it the way I suggested (slightly different than you) and it seems to work (see attachment). Good luck with coding. It can be fun :smile:
-
Well, you haven't changed the experiment as I told you. cond1 is a variable and does not exist until you assign a value to it (e.g. cond1 = 1). "cond1" is not a variable but a string, it does always exist, once you have defined it (e.g. so…
-
If you run it, you need to specify a subject_nr that was coded (1-12).
-
Yes, in this case conditions can be anything(e.g. 'one','two','three'). Just make sure than you put in the run if field of each sequence something like [conditions] = 'one' I attach an example experiment below. Eduard
-
You have to replace cond1,cond2,cond3 with the conditions that you have. For example, if your three different conditions (that you mention in your first post), differ in terms of whether the stimulus is visual, auditory, or both, it would look like …
-
Hi SDL, Maybe these discussions help: https://forum.cogsci.nl/discussion/2286/using-custom-image-for-calibration-using-eye-tribe-tracker https://forum.cogsci.nl/discussion/3804/child-friendly-calibration-eyelink Good luck, Eudard
-
Hi, In the beginning of the experiment (before entering the conditions), create a list that codes the order of stimuli. In an inline_script, put this code: # how many trials do you have? change thatno_trials = 50import randomvar.seq = range(50)ran…
-
Hi, (Quote) Does it work if you replace the sketchpads with feedback items (without changing the content?). See here for an explanation. (Quote) I recommend using an inline_script. There is probably also a way doing it with the loop table, but in …
-
Hi, I might misunderstand, but how can you be blind to the condition if it is you that define the algorithm for assigning participants to condition? Of course you could use randomization (assigning conditions randomly), but then you don't have cont…
-
Hi, Well first you should think about and write down the specific requirements of your design. The stimulus material, independent and dependent variables, how does a trial look like, etc.. Once you have your design down, you can think about the imp…
-
Hi Tanto, Both the functions work on lists, not the elements of the list. So if, you want to randomly select an item from the list stim, you have to call expyriment.design.randomize.rand_element() on the list, not the elements. The same goes for ex…
-
Hi, I think it should work if you added some empty rows between your response options onto your form. See here for an example. Let us know if you need more help. Eduard
-
If you use inline_scripts, it should be possible. Check out this part of the documentation: http://osdoc.cogsci.nl/3.2/manual/python/log/ eduard
-
In short: c = a/float(b) Eduard