lvanderlinden
About
- Username
- lvanderlinden
- Joined
- Visits
- 1,620
- Last Active
- Roles
- Administrator
Comments
-
Hi Rotem I think it is a better idea to define both variables in the block_loop, and run both of the arrows in the same trial sequence. To make sure that the order of the arrow direction is random, and only one arrow is shown per trial, you could t…
-
Hi Tom, I'm afraid I don't completely understand what kind of trial order you are aiming for. Are you looking for a Latin-Square-like design, such that you do not only make sure that (1) a given picture will only occur in one condition, but (2) als…
-
Hi Jarek, Good to hear that it works. (Quote) No, it creates one list containing 255 items. Seventeen 1's, seventeen 2's, etc. Actually, the corresponding piece of code might be easier to understand when it is rewritten to: # Create list contain…
-
Hi, You could determine the red and green positions at the beginning of every trial by placing something like the following in the Prepare phase tab of an inline_script item, appended to the beginning of your trial sequence: # Import modules:fro…
-
Hi Jarek, To make sure that every sketchpad is ran exactly 17 times, you could use the built-in Python function pop(), which draws one item from a list without replacement. This way, you can keep popping sketchpad numbers until the list is empty (i…
-
Hi Dror, I think your solution is a very good idea! :) I can't see any advantages for one approach above the other. Good luck! Lotje
-
Hi Kevin, Yes, building an RSVP experiment is certainly possible! I think this discussion will help you get started: * http://forum.cogsci.nl/index.php?p=/discussion/410/solved-two-independent-sequences-in-parallel/p1 Please let us know if you ha…
-
Thank you very much. That's really nice to hear! :) Good luck with your experiments!!
-
Hi, (Quote) I see what you mean! As you may have guessed, this error message means that you're trying to use the variable 'response' before it has been set (i.e., exists and has a starting value). In the example I uploaded, this was not the case b…
-
Hi, Sorry for the delay! In order to simultaneously wait for participants' keyboard responses on the primary task, as well as for a response from the experimenter to break out of the block loop, you could do something like the following: Firstly, …
-
Hi, For the moment, it is not possible to use a variable for setting the number of cycles. You may want to consider the following solution to run a given sequence for a variable number of times: 1.) Directly append your trial sequence to a block s…
-
Hi Gemma, If I understand correctly, you're trying to: * Show a stimulus on its own for 700 ms * Show the stimulus together with a rating scale and collect a mouse response * Keep the former on screen for another 100 ms. before advancing to the ne…
-
Hi Rose, Apparently I made a mistake in my inline script. To determine the time stamp of the form_base item, you should use: starting_time = self.get("time_my_form") instead of starting_time = self.get("my_form") Does that s…
-
Hi Rose, Welcome to the forum! Could you provide us with some more information? How did you try to determine the response time? And where does it go wrong? What kind of output do you get? Perhaps it would be easiest if you could upload your experi…
-
Hi Jorien, You could achieve this in many different ways, but perhaps the following is the simplest: * Define the category variable, e.g. 'cat', in the block loop item (as you probably already did) * Add an extra loop to your trial sequence to pre…
-
Hi Nikki, Welcome to the forum! Perhaps you could do something like the following: Firstly, define the x_coordinates of the images in your block loop, for the right visual field only (i.e., all coordinates are positive). (Image) Secondly, dete…
-
PS: You could also have a look at this previous thread: * http://forum.cogsci.nl/discussion/583#Item_2
-
Hi Sarah, The code that Sebastiaan provided above, already checks whether participants' click error is small enough to count as correct (i.e., the built-in variable 'correct' gets the value 1). If the click error is larger, the response is labeled …
-
Hi Julian, The variable 'picname', as defined in your block loop, does not contain the complete name of the .bmp files. If you change the values in this column into '1.bmp' (instead of '1'), and '2.bmp', etc., I think the problem is solved. Does t…
-
Hi Julian, I think you could do the following. Append a form_base item to your trial sequence, click on the "edit script" button on the top right, and add (something like) the following OpenSesame script: set rows "1;1;1;1;1;1;1;1;1…
-
EDIT: I just added two lines of code to the beginning of the script above.
-
Hi, Saving the time stamps corresponding to all key presses within a current trial could be done like so: # Determine the timeout in ms:timeout = 3000# Create keyboard_response item:from openexp.keyboard import keyboardmy_keyboard = keyboard(exp, …
-
That's great! :) And yes, feel free to post any further questions!
-
Hi Neon, I think something like the following should work. I'm not sure what you want the variables partError and inc to indicate exactly, so please let me know if you meant something else. Step 1: Append a form_base item showing 9 text_input boxe…
-
Hi Michel, You could use the experiment function exp.get_file() to find the path corresponding to a given file name. Do the variables pic1 and pic2 refer to the exact file names of the .png files? And are the .png files saved in the file pool or in…
-
Perfect! Good to hear! :)
-
Hi Joe, You set the number of cycles in your loop item to 12, although only 11 cycles contain a value for the variable 'sibilant_type'. (Image) As a consequence, in cycle 12 the sampler item is looking for a file called " .wav" (instea…
-
Hi, Perhaps you could look at a previous thread on a similar topic: * http://forum.cogsci.nl/index.php?p=/discussion/363/open-double-space-bar/p1 Please let us know if this is not exactly what you're looking for, or if you have trouble implementi…
-
Hi Dorien, I think you should wrap your loop items around sequence items, like so: (Image) For more information about loops and sequences, please see: * http://osdoc.cogsci.nl/usage/sequences-and-loops/ An example experiment can be downloaded …
-
Hi Joe, Could you provide us with some more information? How are you using the sampler item? And where does it go wrong? What kind of error message do you get? Perhaps it would be easiest if you could upload your experimental script here by doing t…