EoinTravers
About
- Username
- EoinTravers
- Joined
- Visits
- 91
- Last Active
- Roles
- Member
Comments
-
It seems you have a few options: * Abandon interpolation * Reimplement the scipy functions in pure python (difficult, but not impossible) * See if someone else has already done this elsewhere. * Consider using JavaScript, instead of OpenSesame, to …
-
I see you've moved on from this, but I'll answer for anyone else looking in to this. The problem here is your hardware. 17 msec the standard refresh time for usb mice, and I'm surprised that android touchscreens even sample that quickly. I've learn…
-
Hi all, Thanks to everyone for taking an interest. I've not been able to give any time to this project for quite a while, as I've been kept busy with my own PhD, and unfortunately, this isn't going to change much for the next 7 months. For those o…
-
Hi Joanne, While I don't know specifically what's causing your problem, it sounds like * Each trial in your experiment is quite complex (is there animation involved?) * Your experiment is VERY long. so you're probably right, your poor computer is…
-
I had to do something not too dissimilar recently, which I've detailed here. For your case, I would try adjusting the code at the bottom of the page to something along the lines of this (although I haven't tested this in OpenSesame yet): import cs…
-
Ah, ok, that's a lot simpler. A Canvas refers to the whole screen, you can't have two canvases side by side, but you can easily draw your mondrains on one side of the canvas, and the target on the other. I think the most efficient way of doing this…
-
Hi, Could you please clarify, are you trying to superimpose the flashing mondrians on top of your static image (the banana, I think), rather than alternating between the two, or showing them side by side? If so, I don't think it's possible to supe…
-
I've just tried the following, and it seems to do what you want on my computer anyway. Maybe you could try this, and let us know how you get on? I've made a new experiment, and in it I've placed a single inline_script item. In the Prepare Phase tab…
-
Hi, This seems an interesting problem. Without knowing much about psychophysics myself, I can only make some suggestions: * Do the stimuli really need to be generated freshly on each trial? If PsychoPy allows this, maybe you could instead generate…
-
Honestly, I don't fully understand what I mean either. I can see two possibilities that, theoretically, should be possible. The first would be to basically try to pass all the Python (or possibly the .opensesame script, along with the code needed …
-
Hi all, Over the the last few weeks, independent of what I've been doing with OpenSesame, I've been designing a JavaScript platform for running experiments online, tentatively called PsychScript. This has grown from some JavaScript I had written f…
-
Finally... from openexp.mouse import mousemy_mouse = mouse(exp, visible=True)from openexp.sampler import sampleraudio_file = exp.get_file('music.wav') # or 'Materials/music.wav', where ever you have it saved tocorrect_music = sampler(exp, audio_fil…
-
Hi Glad to hear you got sorted! I'm actually in the process of making a plugin for OS that does just that, but I won't have a chance to finish it for a while, I don't think. There was a pretty in depth discussion of mouse tracking in OpenSesame at…
-
Hi Fiona, You'll need to use a little bit of inline python scripting to anything complex with the mouse. In your case, I think you'll get what you want if you set the duration of Sketchpad item you've described to 0 (so that it is shown, and then mo…
-
Oh, another possibility is, instead of completely randomizing which sequence is presented, you counterbalance it according to the subject number. subject_nr = exp.get('subject_nr')sequence_number = (subject_nr % 4) + 1 # Gives the remainder of subj…
-
Hi Johannes, There may be more elegant way of solving your problem, but I've done something similar as follows. * First, you'll need to generate your four sequences, and place them within the experiment structure so that they would run one after th…
-
@Edwin Honestly, I've not tried it at all (I still haven't found time to finish what I was doing on the mobile app). I do know that it works with the HTML5 canvas, so it seems plausible that a new back end could be added, that draws to pyjamas.canv…
-
@Evadeh I had previously been looking at the PyJs library (http://pyjs.org/) as a way of porting OpenSesame to the web browser. While it's almost definitely possible, the biggest hurdle I can see is inconsistent timing: while JavaScript itself is pr…
-
Ah, good stuff, I won't need to track down our busy/missing system administrator then. Thanks! Eoin
-
Very good job indeed. Well done! I'm looking at the possibility of remote data logging using server-side PHP, and SQL. Unfortunately, it doesn't look like the Pygame subset for Android supports this, and I'm not even sure SL4A does, although I can …
-
As I've said before, this is fantastic. Is distribution on the Google Play store in the pipeline? It would be great to open up options like http://www.plosone.org/article/info%3Adoi%2F10.1371%2Fjournal.pone.0024974#pone.0024974-Nosek1 to projects th…
-
Psy-An lab looks interesting. I'll be sure to take a look at it later in the week. You're right about my code, I have a response button in the top left and top right corners (as in Freeman's MouseTracker program), and the trial ends and logs a respo…
-
I apologize, I didn't realize I could import directly from pygame into the experiment without editing the droid.py file. From pygame.mouse import get_pressed global get_pressed worked a treat. Eoin
-
I think I can help with the data logging here. I've been building a template for something similar for touchscreens (so haven't needed to see the cursor). What I've done is, after the stimuli have been presented (most conveniently with the sketchpad…
-
Oh, also I don't know if this is a general problem, or something specific to my ageing laptop, but when I run any version of OS on my Ubuntu 12.10 laptop, the window extends out of the workspace I'm in and into the one below, meaning I can't access …
-
I've been working on some touch tracking paradigms for Android modeled on MouseTracker (http://www.dartmouth.edu/~freemanlab/mousetracker/). I know this can be done manually (and I will do it myself next week, when I get the time), but this kind of…