![]() ![]() I haven’t used gitlab before either, but I hope the link works: Lowe Wilsson / Responsive clickable images project (I tried creating a very, very basic illustration of what I’m getting at and uploaded it on gitlab. The main difference is that the threads I saw talked about modifying stimuli in response to subject actions, but not generating novel (or at least, new copies of) stimuli in response to actions.ĭoes anyone have tips for me on this? If I need to jump into Python coding to achieve the intended effect then that’s fine since I know Python from before, I just need some pointers on how to start working on this kind of reactivity in PsychoPy. Pretending the response is just the image of smiley face appearing on the screen, how could I create a program that for 30 s every time the stimulus (I use a circle from the polygon stimuli)… Essentially, I need to make a small button in the middle of the screen that when clicked on (we use touch screens and pecks=clicks) a response is made (external food delivery). I’m trying to bring psychopy into our pigeon lab and am having some trouble with what I think should be a fairly easy task. g.:Ĭlicking on Image Causes Response Builder I searched the forums but the things that turned up weren’t quite the same, e. I haven’t found anything in the documentation for mouse events( Mouse Component - PsychoPy v2021.2 and psychopy.event - for keypresses and mouse clicks - PsychoPy v2021.2 ). When it comes to the part about generating the crosses based on subject actions however, I don’t really know where to even begin. I’m in the very early stages of even trying to figure out PsychoPy so there are obviously many things I need to do, but mostly I have a rough idea of how they might be solved. Just as there is no limit to the number of responses the subject can give during the 90s, there is no limit for the number of crosses that are generated/displayed. ![]() The only feedback will be the crosses demarcating the points that the subject has clicked, as a kind of memory aid. There will be a limited number of areas which indicate “correct” responses, but the participant will not be given feedback on whether or not their response was correct or not. Until the 90s have passed, this loop of registering clicks, generating crosses on the image and “cooling down” continues.For a “cooldown period” of 0.5 seconds, participant clicks will not be registered.All subsequent presentations of the image will include a cross marking the point that the participant clicked. The position is registered in the experiment data Present subject with an image and instruct them to click on points (no restrictions on the number of points) of the image using a mouse for a set time, say 90 seconds.I want to put together an experiment with the following procedure: I’m as newbie as they come and I look forward to getting to know PsychoPy and the community better This is still a work in progress so needs tweaks and improvements, but I hope that you find it helpful.This is my first post about my first project using PsychoPy. For your purposes, you would want to check this was 0, which would mean there were no current touch events. You can then check inside your experiment how many ongoing touches there are by checking the length of psychoJS.ongoingTouches. This is implemented by replacing the addMouseEventListeners in the core module I therefore import a custom psychojs library here. I’ve been toying with enabling multi-touch on touch screen devices for another project and have something that I hope might help youĮssentially you monitor for ongoing touch events in the way that describes. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |