lvanderlinden
About
- Username
- lvanderlinden
- Joined
- Visits
- 1,620
- Last Active
- Roles
- Administrator
Comments
-
Hi Masoud, (Quote) What kind of 'special randomisation' do you mean? If you provide us with some more information about how exactly you would like to randomise your blocks I'm sure we can figure something out. Best wishes, Lotje
-
Hi Masoud, You should set the Run if statements of the loops to 'never', like so: (Image) Otherwise all loops are executed once in the normal way, and once by your inline script. Does that make sense? Best, Lotje
-
Hi Daniël, Thanks for the link. If I understand correctly, you don't want stimuli from within a given loop (e.g. 'fearful_loop') to be repeated, right? One way to achieve this is as follows: Firstly, append an inline_script item to the beginning …
-
Hi Daniël, Is it possible for you to provide us with the code of your experiment? * Open the "General properties" tab, click "Script editor" and copy the whole script, * go to pastebin.com or gist.github.com, upload your script…
-
Hi Wing, When I run your form_multiple_choice item it works fine. The participant's choices appear in the column named 'response': (Image) However, this only works if you place the logger item after response collection (because otherwise the var…
-
Great! :) Good luck with your experiment and let us know if you have any further questions!
-
Hi, The 'duration' box in a sketchpad item only takes fixed variables. As a solution, you can calculate the desired duration in an inline_script item placed immediately before your sketchpad item. Next, you can use the square-bracket method (e.g. […
-
Hi, Glad to hear that putting the inline code to the Prepare phase tab helped! :) About popping items from your stimlist: (Quote) That's right! The np.loadtxt() function reads in your text file as a numpy array data structure, and not as a list. …
-
Good to hear that your experiment works! :) Let us know if you have any more questions!
-
Hi, A first thing that comes to mind is that you put the above Python code in the Run phase tab of your inline_script item, whereas you should put it in the Prepare phase tab. Could that be it? Due to OpenSesame's prepare-run strategy, in-an-inlin…
-
Hi Henrik, Could it be that you declared your variables in the Run phase tab of your inline_script item? Due to OpenSesame's prepare-run strategy, in-an-inline_script-defined variables are only available in the prepare phase of other items when the…
-
Hi, Welcome to the forum! The order of the items in a sequence is always fixed (i.e., the items are run in sequence), even if you set the loop item, that is wrapped around it, to random. For more information about sequences and loops, please see:…
-
Hi Chris, Response times are automatically determined only for variables collected with response items (such as a keyboard_response item or a mouse_item). If you want to determine response times for other response variables (such as input from a fo…
-
Hi Nagham, Firstly, the fact that the response variables 'response_c_op1' to 'response_c_op5' do not have a value in your output file is because of the following: In your Image_Que loop you set the number of cycles to 8 and the number of repetition…
-
Hi, Welcome to the forum! I'm assuming that your experimental overview looks something like this: (Image) is that right? (Quote) Variables can exist on two levels: in an item (local) or in the experiment (global). The function exp.get() only l…
-
Sorry, now they should work! :)
-
Hi Nagham, Could you perhaps put your experimental code on pastebin? Otherwise I'm afraid I can't understand what's going wrong. To share the experimental code: * Open the "General properties" tab, click "Script editor" and co…
-
Hi Lee, Firstly, you should separate the allowed responses in the keyboard_response with a semicolon instead of a comma. So: m;z. Secondly, to determine whether a given stimulus pair comes from the rhyming or the non-rhyming list, and to define th…
-
Hi Lee, No, sorry, I don't know about such a stimulus set... Good luck and let us know if you have more questions! Lotje
-
Hi Lee, Thanks for your email! I can't see why this is going wrong either. However, when I simply open your .csv files in a text editor, resave them with the extension .txt, and change the corresponding piece of coding accordingly: path_rhymes = e…
-
Hi, Welcome to the forum. To present a sketchpad for a constant time, regardless of the response time, you could have a look at this previous post: * http://www.cogsci.nl/forum/index.php?p=/discussion/138/solved-stimuli-presented-for-a-constant-t…
-
Hi Bob, I understand the confusion, it's quite tricky that simply resetting 'count_trial_sequence' to zero does not give the desired result. I think this is more a (slightly inconvenient) side-product of the way the counters are kept track of, than…
-
Hi Daniel, Thanks for sharing your script here! :) Best, Lotje
-
Hi Nagham, (Quote) Yes, in general I would advise to use one logger item for your whole experiment. (Quote) By default, all variables that OpenSesame knows of are logged, even if they are not yet defined when the logger is called. Such missing val…
-
Hi Lee, Would it be possible to upload the spreadsheet you're using (for example on Dropbox or Filedropper, or simply by making a screenshot of it)? Also, could you either upload the full code of your experiment (via pastebin, for example) or past…
-
Dear Bob, The trial_sequence item maintains its own counter, which needs to be explicitly reset. In order to do so, you could append an inline_script item to the experiment sequence, right before your experimental loop, and put the following code i…
-
Hi Natalie, (Quote) Ahh, okay, I see what you mean. Maybe something like this? # Make a list containing your nodes as integers.list_of_nodes = [1,2,3,4,5,6,7]while True: incomplete = False exp.items["create_form"].run() if (sel…
-
Hi Natalie, In the first post of this thread, you wrote: (Quote) I'm wondering what you mean exactly by this. Do you mean you want to write the variables away so that they will appear in your output file? In this case, I think everything is quite …
-
Hi Bob, Glad to hear the trial info works! To keep the trial info displayed until a keypress, you can * set the duration of the sketchpad item (or feedback item) to 'keypress' * or set the duration of the sketchpad item to '0' and append a keyboar…
-
To mark a discussion as solved, you can edit the title of the thread and add [solved] (instead of [open]) before the actual title.