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, I haven't made any experiments with android platform, but I believe a touch response is pretty much the same as mouse_response. So, if you use the mouse_response item, you should be able to sample touches. Have you tried that already? Eduard
  • Hi, Alright, that looks fine. So, which error message do you get?
  • Hi Cletess, I see two solutions for your problem. * Don't select the random image from the loop_table but from a list in an inline_script. Do it once before you enter the prime phase. import randomno_faces = 100 # not sure how many different face…
  • Hi Srishti, Without an error message and knowing how your variables var.my_dur and var.stim_type look like, it is virtually impossible to say what is the issue. Would you please add this information? Eduard
  • Hi cat, the thing that causes the halt of the experiment is not kb = keyboard(), but k,t = kb.get_key(). You have to remove only the latter to avoid the experiment from pausing, or replace it with a clock.sleep(500), if you want it to sleep for 500…
  • Hi Cat, Also to you a happy new year. The error message you see says that the variable kb does not exist. I don't know exactly how you wrote your code, but I suppose this line: kb = keyboard() you only use once in the first inline_script that yo…
  • Hi, You should remove that part of the code that is used to measure response times. If the inline_script does not do anything else than measuring response times, you can of course delete it entirely. (Quote) What do you mean? Do you get an error m…
  • Hi, You can almost directly use the Beginner's tutorial. Modify the loop table to your design and you should be almost there. Good luck. Eduard
  • Hi, What I mean, is that in your code you don't do anything to actually present the endings. The only thing you do, is selecting which ending to present. If you say that you present your stories in sketchpads then this is where you have to add the…
  • Hi, The feedback item does not need to be used differently per se. The one only special thing about the feedback item that distinguishes it from a normal sketchpad is the fact, that the variables it is showing are only computed in the run_phase of …
  • Hi Argiro, I don't think you can have both, a trial and an overall feedback with the same variables just because one thing can't represent two different values. If you create overall variables yourself and use them in the final feedback item, it sh…
  • Hi Argiro, Basically, the issue here is not the sketchpad but the definition of the trial sequence, right? The presentation of the stimulus is rather straightforward. Just like Josh described you need for each stimulus one sketchpad, in which you d…
  • Hi, * Here is the website of the json people. Read it to understand how that file format is structured. * here is a file converter, that might be useful to you. It was literally the first hit on google when I looked for "JSON file format con…
  • Hi, Well, if the presentation of the stimuli doesn't work, why don't you share that part with us, instead of the part where you select the endings? Btw. Here is your code a little shorther: import random# a list that would allow to define the end…
  • Hi, In the first item in the overview area, there is a field resolution, there you can change the window resolution of your experiment. (Quote) That is probably because, each of them uses a different internal clock. That is, the start time for eac…
  • Hi Sarmad, The file has to be in a .json file format if you want to use Sebastiaan's script directly. However, the main idea of the code should work for other file format as well. You might need to tweak a couple of things. Eduard
  • hi Sristhi, Sorry for the delay, I have been quite busy recently. I'm afraid, I don't quite understand what your problem is exactly. Would you mind rephrasing? As far as I understand, you wonder how to randomly define the filenames, filepaths, and…
  • Hi Veronica, Would you mind uploading your experiment? The issue you describe sounds intriguing and I'd like to have a look. Or did you already resolve the problem? Thanks, Eduard
  • Hi, On the first glance it looks fine to me. What is the error you struggled with? Or did you resolve it by now? Eduard
  • Hi, If you just want to get a keypress response, you could use the code below. It uses Opensesame instead of going directly into PsychoPy. I don't think it matters, but make sure that it works how you expect it to. Of course you could do this also …
  • Hi Vedant, Could you upload the experiment, or at least an overview of your sequence and the code you use for your MCQ item? Otherwise it is hard to say what exactly it is that is going wrong for you. Thanks, Eduard
  • Do I understand correctly, that in the PP group, the pressing of the shift key has no effect, but is only required to have the make the groups more comparable? In this case, you could exclude the key from the keyboard, so that pressing it would not …
  • Hi Vatsal, First of all, apologies for the late response, it slipped me through earlier. In case you are still working on this experiment, I attach an updated version of it. it is a basic version of your design. I hope I didn't change it too much. …
  • Hi Srishti, The duration field in a sampler is only specifying how long OpenSesame will wait after the sampler began to play before it proceeds with the next item in your sequence. It does not influence the duration of the sound being played. Basic…
  • Hi, It's a little hard to tell which inline_script it is that you are showing here. What is the problem btw? "It doesn't work" is a little to vague to be able to help ;) Basically, you need three different inline_scripts. 1) Before the…
  • Hi Grusha, Great to hear!. Unfortunately, I am also unsure what could be the reasons for this behaviour. I had similar issues when the timing on my machine were quite off and more importantly not even consistently off. However, when I tested it in …
  • 1) If you use inline_scripts to record responses, you don't need the keyboard_response items any more. Remove them. Also set the duration of the sketchpads to 0. 2) The error is caused because you're already computing the reaction time (end time - …
  • Hi Cat, (Quote) You can use inline_scripts to do that. Put one before each sketchpad and one after it (One inline_script in between each sketchpad is fine). In the run phase of the inline_script you add these lines: # once for each sketchpadkb = k…
  • Hi Karin, You could work around by subtracting the number of practice trials that you have. Not very pretty, but probably sufficient. # assuming you have 16 practice trialsrun_if = ([count_trial_sequence]+1-16)%32=0 Does this work? Eduard
    in breaks Comment by eduard November 2016
  • Hi Magnus, How far did you get so far? From your description, I'm not sure whether I got your design entirely. Would you mind trying again to explain it to me? In general, it should be possible to run the study with Opensesame. Combing Opensesame …