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, Both are perfectly fine options. Randomization is easier if everything is in the same block loop, but having 3 different loop also works. If you have everything in one loop, you have to make sure that the right things are presented at the right…
  • Hi Daniel, Unfortunately, I don't have much knowledge about parallel ports and such. However, to increase the changes that you get help here on the forum it might be useful, if you could provide more information on how exactly does not work. Is the…
  • Hi, You can try to browse the forum for examples, or some other online resources (e.g. https://osf.io/d2ecb/). However, I don't think the problem is very hard. You should be able to implement it yourself. You just need a sequence with sampler (pl…
  • Hi Johannes, Yes, that is very possible (I recommend the drag and drop option). I could try to make you a little script that brings you towards your solution, but I think the mousetrap plugin could make your life much easier, and I haven't worked …
  • Hi, > a word and picture must be co-presented You do it just the same way as the tutorials explained. On the left of the sketchpad item, you can select one type of stimuli you can draw, just select the image tool, draw the image to wherever you …
  • Hi SH, Can you provide more detail? What is the rate of change? Is the transition color important? I made a little script that provides the basic idea. Hope this is useful. http://forum.cogsci.nl/uploads/114/4V86J0FVSQH4.osexp Eduard
  • Hi lucie, A form has a response variable, suppose it is called "response", then you can at two feedback items after the form, one for a red dot and one for a green dot. In the "run if" field, you can put something like "[re…
  • Hi Enzo, There might. You can check the github page of Pygaze to find the part in the tobii implementation that handles accessing Tobii information. However, if I remember correctly Tobii codes invalid samples as (-1, -1). So, it should be easy t…
  • Hi Stef, That should be possible. There is no already existing form that does that, but you can start building your own form from scratch (checkout the manual osdoc.cogsci.nl, for how to). Basically, you would use the image widget and the mcq widge…
  • Hi Matthew, So, the experiment still works as it should? Does the problem occur only if your experiment is in a Dropbox directory? And how big are your files? Eduard
  • Hi Slafko, there is not really a need to pull anything. You can just use `var.T1_Size` and `var.T2_Size` as variables as they are. If you want to use them in a `sketchpad` use them as [T1_Size] and [T2_Size]. Does that make sense? Eduard
  • Hi Mollie, How about you add a variable that tracks the previous targets? So in the end of your trial loop add an `inline_script`, incl. something like this `var.prev_targets.append(var.target)` (also make sure you initialize the variable before t…
  • Hi Enzo, I haven't worked with the Tobii, but I suppose the validity variable is defined per sample. So at a sampling rate of 500Hz, you get every 2ms the information whether a sample was valid or not. During a trial you will have many samples, so y…
  • Hi, Does Logitech provide a python API for their webcams? If they do, you can look there to find out how to communicate with it (which would take place in `inline_script`s). In a way, it is also an option that you start the recording before the exp…
  • Ah, I see. In this case, you can try to modify the calibration function of pygaze to draw the calibration dots not relative to the entire screen dimensions, but to whatever makes sense in your case. If you use an Eyelink, the function is in this fi…
  • Hi, This sounds like the sound files are not working. Can you try to convert them to .ogg or .wav files? Sometimes that solves the issue. eduard
  • Hi Nathalie, Can you share your experiment with us? Like that we can see what is happening with your experiment. Thanks, Eduard
  • When does the error occur? I just tried ~50 trials for each loop and I can't reproduce the error. You could also try to load the excel file in an inline_script and check whether each word was read correctly. import pandas as pd df = pd.read_excel(…
  • Have you added at least a single line to the loop table? If not, the loops will just be skipped. If you give us more information on your implementation we will be able to help you better. Eduard
  • Hi Niu, you started the right way (as I can see from your last screenshot, where you put `[s9]=1`). This is how you change the run if field. What you need to do to make your experiment work is adding a variable to the loop table that indicates how …
  • Hi Rebecca, after every call of the form, you have to log the response. Otherwise the previous responses will be overwritten. So, add a logger to your loop and it should be fine. Does that help? Eduard
  • Hi, At the moment, the way the images are defined doesn't allow me to distinguish between the different races? Does anyone know what I am doing wrong? What do you mean with that? As far as I can see the variable `race` is distinguishing the races,…
  • Hi Boo, Could it be the centered variable of a Text object? https://osdoc.cogsci.nl/3.2/manual/python/canvas/#function-canvas46text40text-centertrue-xnone-ynone-max95widthnone-4242style95args41 If you, set it to True the x coordinate corresponds to…
  • Hi, Sorry to give you such a vague advice, but if I remember correctly a colleague of mine has implemented something like that. His code is on github, but without much explanation. Maybe you can email him and ask for advice? https://github.com/jon…
  • Hi Marine, Could you combine text display widgets with text input widgets on a single form? Otherwise, you would have to do python coding of vigorously controlling where letters are being wriitten on the screen. https://osdoc.cogsci.nl/3.2/manual…
  • Hi, > B) Extending the screen by doubling the resolution. This would work, if it weren't for the eye-tracking that requires the dimensions of just one screen. Is it possible to set two resolutions for different parts of the experiment, e.g. by …
  • Hi Hannah, Can you share your experiment? That will make it easier to fix the problem. Thanks, Eduard
  • Hi Ghazit, Try an inline_script. https://osdoc.cogsci.nl/3.2/manual/python/about/ Basically, you can run a while loop for 60 seconds and present all your stimuli inside that loop. E.g. start_time = clock.time() while clock.time()-start_time< 6…
  • Good to hear. But just to be clear, Pygaze (most likely) to the online trick. It would just take more effort to really set it up correctly. Eduard
  • Hi, The problem is not to do with Opensesame, but with excel (In fact it is not even a problem :). You just have to split the cell contents to columns (Excel doesnt per default import comma separated text files). If you follow these instructions …
    in Data Output Comment by eduard March 2019