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

  • Well, then, you have to do that 10 times. If you wrap everything into a loop/sequence, you have to write the code only once. In that case you would formulate your instruction as text in the loop table. Eduard
  • Hi SJ, Maybe this part of the documentaiton helps: http://osdoc.cogsci.nl/3.1/manual/structure/loop/#reading-independent-variables-from-file Eduard
  • Hi, The debug output doesn't show any problems, as far as I can tell. You are using, Opensesame 3.2, right? Could you upload your experiment? I'll have a look. You can also try to fix it yourself, but removing (or replacing) stepwise items from th…
  • Hi Debbie, It is rather unlikely (though not impossible) that a user here, will just magically produce an experimental script that you can use for your studies. Therefore, please help us helping you and provide more details on what it is that you h…
  • You have to set the repeat values as well. If they are set to 1, then the sequence will repeat only once, regardless of how long your list is. Two more remarks: 1) var.reconCateg = [1, 1, 0, 0] #create category listvar.reconCateg = list(var.reconC…
  • How did you set up your loop? Could you quickly upload your experiment? Then I can have a look. Eduard
  • var.trials will contain 0s and 1s in a certain proportion. When you present your stimuli, you have to do it contingent on the number in the list. If var.trials[current_trial_number] == 0 present a repeated stimulus, else, present a switched stimulus…
  • Hi Marco. random.shuffle() doesn't return anything. Instead of doing var.reconCateg = shuffle(var.reconCateg), just do shuffle(var.reconCateg). Does that already solve it? Eduard
  • Hi, my bad, replace var.trials = [0] * 0.6 * 20 + [1] * (1-0.6) * 20 with var.trials = [0] * int(0.6 * 20) + [1] * int((1-0.6) * 20) Does that work?
  • Hi Sophie, Unfortunately, this is behaviour is central to many things in Opensesame and as far as I know there is no way, you can make sure your number is interpreted as a string. However, but I think you can bypass the issue, by putting a placehol…
  • Ok, that is an indentation error. If you remove the tabs on line 22 and replace them with 8 whitespaces, the error should disappear. Can you try that? Eduard
  • I think there is only the Eyetribe (100€ if I recall correctly), but then, the manufacturer stopped development of their products. Not sure whether you can still purchase them. I'm not aware of other eyetracker around that are cheap and supported b…
  • I close this discussion for sakes of your other one.
  • Hi Sara, In the very first item in the overview area on the left (usually it is called "Experiment") you can select the backend from the dropdown menu. There you can choose legacy or expyriment. Actually, you should then also be able to c…
  • Hi Megan, If you make an unlinked copy of your experimental sequence and use this copy as practice loop, you should be able to make changes in the loop table that will not transfer to the experimental phase. Do you know what I mean? Eduard
  • Hi, Can you also post the error message? And maybe even upload the experiment? Like that it is hard to tell what is going on. Btw. you can try to see what this command does if you try it in the debug window after the experiment crashed.
  • I don't think that can be changed. Sorry.
  • It comes with quite a few packages, but you can also pip install more if you need to. In any case, if you want to use them, you have to import it (in an inline_script) Eduard
  • Hi, That would be very handy indeed. But for these kind of suggestions we have a wishlist. People can post there what they like Opensesame to include in the future. Eduard
  • Hi Patricia, It seems you describe different types of issues here. Could you please keep them in separate discussions? In particular those problems that suggest bugs in Opensesame (can't break from it). With respect to your other questions, I don…
  • HI Lars, There you go: http://osdoc.cogsci.nl/3.1/manual/forms/custom/ Edurad
  • Yes it is possible. The only thing that requires a little coding is if you want to present the value of a variable from another iteration, as the variable will be overwritten on every trial. But older sequences shouldn't cause any trouble. Eduard
  • Hi, Checkout the attached experiment. Basically, I define a response variable in the form, and use that variable in a feedback item later on. Does that make sense? Eduard
  • Hi, Just add these two lines to a form_base_item ~ the numbers in the beginning define how large and where the widgets are placed. widget 0 0 1 1 image path="" # make sure the image exists in your file pool widget 1 1 1 1 text_input re…
  • You can find python coding documentation under manual/Python on osdoc.cogsci.nl Eduard
  • Do you mean for the data analysis? The easiest to accomplish this is using Pivot tables in Excel. There plenty tutorials how to do that on youtube. If you need it in the experiment itself. You have to define those columns in python code. So basical…
  • Generally, we don't close discussions, because maybe some other person will have a closely related question at some point in the future. If nobody is posting into discussion, they will just sink down the list.
  • Can you share your experiment and a logfile with us? This will make debugging much quicker. Thanks, Eduard
  • As far as I know, the release of 3.2 will happen soon-ish, so it should be stable enough. And for a couple of small example experiments, it was stable for me. Probably best, if you try and and if it works, you are good. Eduard
  • Hi, Are the options always the same? So what happens if the participant does not remember correctly? For example, will then three workplace options presented, or is the trial aborted? It sounds a little complicated but I think what I would do, is …