Avatar

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Supported by

eduard

About

Username
eduard
Joined
Visits
1,402
Last Active
Roles
Member, Moderator

Comments

  • Hi Vatsal, You can find a starting point for your problem in this other discussion, in which I responded to you: http://forum.cogsci.nl/index.php?p=/discussion/3163/suggestion-regarding-an-inline-script#latest However, I also recommend you check …
  • Hi, Are you sure it doesn't work? I just quickly copied your settings and tried myself, and it seems to work. (Image) . Maybe you need to remove the "" around the allowed_keys, like that f;g;h You know?
  • Hi James, Sounds like fun. Here my implementation. Let me know if it does what you want. import randomcv = canvas() # create an empty canvaskb = keyboard(timeout = 20,keylist = ['a','l','return']) # create a keyboard item that allows for 3 differe…
  • Hi Vatsal, Here a little snippet of code that does what you want to import randomimport stringletters = string.letters[:26] # only capitalsrandom.shuffle(letters) # randomize lettersno_letters = 5 # how many letters per search displaytarget = let…
  • Hi Vatsal, The error message makes it actually quite clear. It says that the item, new_loop_1 does not exist. I agree, that this error message is a little weird given that there is no trace of this item ever existing. However, it is quite easy to f…
  • You guys could also check out pickles @erwinewirne: Don't forget to define the Variable var.SSD in the beginning of your code in such a way, that it won't overwrite the value that you load into Opensesame. Just my 2 cents....
    in merge files Comment by eduard June 2017
  • Hi, You haven't filled the loop table. So basically, you don't have any trials to run. Look at step 3 of the tutorial. Once this is done, the experiment should work. Eduard
  • Hi Pia, I felt free to implement your design in an inline_script. I tried first to make it work with sketchpads and loops but it wasn't really working. Sorry for that. The good thing though, is that this implementation is really easy and rather int…
  • Hi Pia, The script I wrote 2014 didn't really work. This makes more sense: from openexp.canvas import canvasfrom openexp.keyboard import keyboard# open canvas for every different screen you want to presentimage1_canvas = canvas(exp)image2_canvas …
  • Hi, Cam you upload your experiment? Then I can have a look and see what happened. Eduard
  • Hi Pia, (Quote) When waiting for a keypress allow two different keys. One (say space) will flip the sketchpad and show the next reactangles. The other (let's say return will also make the sketchpad disappear, but on top of that, it will break the l…
  • Ah, I see. To keep it central, I'll close the other discussion. Please post things related to that issues in this discussion. Eduard Error message when trying to boot Opensesame 2.9.7: Traceback (most recent call last):File "opensesame"…
  • Hi, Just for interest, why do you want to use such an old version of Opensesame? It makes more sense, to download a newer version (current release is 3.1.6). How do you install it? Eduard
  • Hi Pia, Your experiment does not run because [breaking_variable] refers to var.breaking_variable, not breaking_variable. See what I mean? Btw. Not that it matters, but it is a little unintuitive that your loop runs if breaking variable is True and…
  • Hi Jenna, Easy solution: Make a dictionary that maps, the the positions to the coordinates dict((1,)=(-304,-75),(1,2)=(-260,-75), ...). It is a little dirty to hardcode iit, and a lot of typing, but I think it will get the job done! Proper (ugly)…
  • Hi Keren, (Quote) I used the data file you attached above, so there it is CF. If you changed the number of items you have in your script, the columns might have shifted. (Quote) A response time of 1000 according to your mouse_response, means that …
    in KeyError: u'' Comment by eduard May 2017
  • I suppose. It sounds reasonable at least. But test your script and check your data before you start collecting. You were absolutely right when you said your script is a little messy ;-). I would not be surprised if some variables change in ways in …
    in feedback Comment by eduard May 2017
  • Hi Zsc, First of all, in your code you do things like clock = timer2clock(timer), even though syntactically correct, that is sort of a problem, as you are overwriting one of Opensesame's functions (i.e. clock.time(), clock.sleep). If you don't use …
    in feedback Comment by eduard May 2017
  • Oh, I see! Those variables are indeed average response times. Opensesame computes them automatically. In your case, these variables are not really meaningful. So you should consider just using the raw response times per trial (the variable response_…
    in KeyError: u'' Comment by eduard May 2017
  • Hi Dirk, Try one of the portable versions. You don't have to install anything. Just download the zip, unzip and see whether another versions works on your computer. Edaurd
  • Hi, Yes, inline_scripts might be to go-to solution. In the documentation you will see taht you can to all the things that you can do with [sketchpads](http://osdoc.cogsci.nl/3.1/manual/python/canvas/) and samplers also with inline_scripts and it is…
  • Hi Tasha, OS doesn't have a history per se. Ironically, it is written to the log file, where the log file is written to. But if you don't know where it is, that doesn't help you. Maybe you can run the experiment again, and see where the files are w…
  • Hi Joao, Well, it is basically just making a bash file on a Mac. I don't have one and have never used one, so I am not much of a help. Logically, the only thing you need to do, is to run opensesame with a certain experiment, and some settings, wait…
  • Hi Zsc, Seeing the experiment would definitely help. Just because there are not information around to know what the problem is. If I had to take a guess, I would say, something is happening with the prepare/run phase of your code. But again, withou…
    in feedback Comment by eduard May 2017
  • Hi Keren, What exactly is unclear? Your data file looks very fine to me. Also the RTs look just the way I would expect them to look. Eduard
    in KeyError: u'' Comment by eduard May 2017
  • Hi Guillermo, If you put the name of the stimuli into a loop table, and choose the loop to be executed randomly, you have what you want. It's quite simple. See (for example) this section of the manual, or consider working along the tutorial. Good …
  • HI LJGS, Not sure whether it is the solution to your problem, but in the discussion Sebastiaan pointed you to, in the second inline_script, the single line items['stop_signal_coroutines'].var.duration = 5000 in it was placed in the prepare phase of…
  • Hi Candice, I don't know for sure, but I would try to manipulate some values in the frame function. For example, in the beginning of it, you could increase the width/height, of the frame by adding a constant factor, or you could try to hardcode the…
  • Hi Candice, I think the broken link should have directed you towards this location here: http://osdoc.cogsci.nl/3.0/getting-opensesame/running-with-python-portable/ Eduard