Welcome!

Sign in with your CogSci, Facebook, Google, or Twitter account.

Or register to create a new account.

We'll use your information only for signing in to this forum.

Supported by

Roelof

About

Username
Roelof
Joined
Visits
19
Last Active
Roles
Member, Moderator
Posts
84
Thanked
26

Comments

  • If I understand correctly, you need the response window to be limited to 30 seconds, always, regardless of individual participant, but in order to achieve this limit you check the average response time in training phase: and use this as an indicat…
  • I do not know how development on android is developing, however, I know there are some simple measures to separate images between eyes, e.g. the mirror stereoscope (used here: https://www.researchgate.net/publication/269820348_Reinforcement_of_perce…
  • Hi Marios, Non-latin alphabets can be problematic and text input in forms is notoriously slow. A couple of questions -is it possible to have a look at the experiment (or a simple example experiment that demonstrate the issue) that would make any …
  • Hi Marton, Would it be possible to have a look at your experiment? It is difficult to understand how it is set up by just reading how all the items are put together. As I understand it the sequence for a single trial it as follows: 1 list of wor…
  • Hi Anna, I think the document is recovered, and saving it with a legacy backend seems to solve the bug on my windows set up, not sure if you are using windows or mac. Images are now separate, if you put them in the same folder as the experiment it…
  • Hi Amir, That looks great, and it works quite smoothly for me, even with xpyriment backend. Kind of odd that the widgets work slower though, since the plug in seems to make use of the same package, but via a different route. Perhaps one thing that…
  • Hi Vatsal, 1. If you want to avoid errors that relate to the prepare phase that is mandatory in the sketchpads, inline scripts would solve it, but this needs more coding. 2. Yes, the if-else is not clear; use brackets, or split in multiple lines …
  • Hi Vatsal, The printscreen looks like it is from opensesame 2.0, since it has the 'old look', however, the experiment you attached works now, and I get indeed an index error. What is happening is that tar sometimes remains empty: [8] [] this is t…
  • Hello Vatsal, In your experiment I see everthing in the unused items area, like this are you sure this is the right version? (otherwise something is wrong on my end) As for the error: it'll be handy to see the error message; but I guess that wo…
  • Hi Inakigil This should work: [count_new_sequence]=0 where new_sequence is the name of you sequence item, also turn 'evaluate on first cycle off' since the variable does not exist on the first run. There is also another way, in which you create …
  • Hi Kevie, there are several ways in which you can log the variables. I guess since timing is important, it might be best to record all the key presses in one while loop and then set the responses to be logged afterwards, since logging a variable du…
  • Something like this might work: timeout = 5000 c = canvas() c.text('test here some keypresses for %s seconds' %timeout) from openexp.keyboard import keyboard import pygame kb = keyboard(exp, keylist = [],timeout…
  • Hi Nachshon, There are quite a number of options: the easiest I think; crop all images in one go before the experiment (windows): in picture manager select all the images you want to crop then go the 'edit picture' at the top, and crop to desir…
  • Hi Amir, The text forms are preparing everything in advance, like you said, and updating the time out during the presentation of the forms does not change the time out in the text forms since this variable is already prepared. I think the way to go…
  • You can set a dynamic time out of a sketchpad using the following notation in the duration box of the sketchpad: [six_minutes_variable], if this variable has been defined somewhere (var.six_minutes_variable = something) the sketchpad will understand…
  • If accuracy is undefined this means that there are no responses recorded, and the average reaction time simply reflects the duration of the keyboard item, which times out everytime without any response given. So it seems that there are no responses …
  • So which version of opensesame are you using?
  • Hi Elliot, I can't get pseudorandomization to work either when reading from an external file, but, when you add the following line: setcycle 0 word "" I think it might work; the variables for word are still read from the file, and seem to be constr…
  • The behavior for opensesame 3.1.9 seems to be that any name starting with a number is automatically preceded with an underscore (e.g. '3d' becomes '_3d'), which opensesame version are you using? And on which operating system does the error occur? Is…
  • That is great Eduard, thanks for looking into it, attached a text file with the code, and full link; \YOUR FOLDER HERE \ opensesame_3.1.9-py2.7-win32-1\opensesame_3.1.9-py2.7-win32-1\Lib\site-packages\libopensesame\widgets
  • This doesn't solve the problem of the visibility of the cursor during the text input item though, when I tried these lines they only hide the mouse before or after the text input item, but not during. Guess that is not quite essential though
  • The code seems to work as far as I can tell; but the problem might be that you empty the list at the start of the script var.go_rt = [], which means that every time your list starts as an empty list, if you have a look at the experiment in the attac…
  • Hi Jiri, I think the easiest way would be to use an inline script with an if statement that saves the RT only if the answer is correct, in the attachment an example. Accuracy is still present as var.acc, hope this helps, if the code is unclear let …
  • Just to confirm: the same is happening for me, starting from version 3.1.7, also windows, maybe worthwhile to open a bug report
  • Hi Artur, I can't seem to find a solution: one line that sort seems to be handy: mouse().show_cursor(False) which hides the mouse if executed, but it seems that the mouse is called when the text display is executed, which would , I think call for…
  • Hi Vatsal, The problem is the line: var.tar = canvas_letters[-3:] The code is designed is such a way to avoid the list index out of range error by making a filler list that looks something like this: ['B', 'J', 'P', 'T', 'W', 'x', 'x', 'x', 'x',…
  • Hi srishti_tripathi21, You can show images in a sketchpad by placing the image in the file pool and selecting it in the sketchpad, most of this, and the other steps you require, are explained here: http://osdoc.cogsci.nl/3.1/tutorials/beginner/ G…
  • This method might work, but the problem might be with the order in which elements are prepared/executed. I think if you are using sampler items, these are prepared before the 'run if' statement is evalutated. One (unelegant) way around this is by ad…
  • Hi Tiffany, If you want to randomize variables (in this case questions) it makes sense to put these in a loop table, and then place a sequence behind this in order to execute the repeating steps that occur in a single trial. In the attachment an e…
  • Hi Emma, I can't judge if the experiment is set up correctly: but the error is very straightforward: somehow the sampler is looking for a file without a name: namely the file: ".wav" . So all you'd have to do is to make sure that the variable wi…