Questions tagged [psychopy]

PsychoPy is an open-source python module written in python and c libraries for the generation of experiments for neuroscience and experimental psychology. PsychoPy includes Builder and Coder - two graphical interfaces to build experiments using the psychopy python module.

PsychoPy is an open-source Python module written in Python and C libraries for the generation of experiments for neuroscience and experimental psychology. PsychoPy includes Builder and Coder - two graphical interfaces to build experiments using the PsychoPy Python module.

Links:

See the project website for documentation and more information about PsychoPy.

All support now takes place in the psychopy forum

See Github for psychopy's source code. Contributions are very welcome!

521 questions
0
votes
1 answer

Psychopy MovieStim3: pausing errors

I am trying to follow the MovieStim3 pausing example as outlined here: MoviePause.py I am using the same code as this example, except I am using my own movie file. print('orig movie size=' + str(mov.size)) print('duration=%.2fs' %…
0
votes
1 answer

Sound files in PsychoPy wont load

I'm currently working on building an experiment in PsychoPy (v1.82.01 stand-alone). I started on the project several months ago with an older version of PsychoPy. It worked great and I ran some pilot subjects. We have since adjusted the stimuli…
D. Bjornn
  • 1
  • 2
0
votes
0 answers

ImportError regarding AppKit module in Psychopy

I recently downloaded PyObjC to my Mac OS X El Capitan version 10.11.3, so that I could import the AppKit module in PsychoPy. When I attempted to run my script though I received the following error: ImportError: The 'packaging' package is required;…
djl
  • 267
  • 1
  • 3
  • 13
0
votes
1 answer

PsychoPy textStim Memory Leak Issue

I've been developing an experiment in the coder section of PsychoPy. It's a relatively simple task but requires a fair amount to text and image drawing. I tried running the entire experiment (consists of 123 trials) a few days ago, and around the…
djl
  • 267
  • 1
  • 3
  • 13
0
votes
1 answer

How do I make a variable for a nested loop?

I have a bit of code that draws an array of lines (32X32 grid). The actual code that draws it starts from #Nested loop to draw anti-aliased lines in a 32X32 grid. Because I have a patch within it that has lines of different orientation, the codes is…
S. K. Sid
  • 33
  • 7
0
votes
1 answer

psychopy microphone recordings cut off

I am using Psychopy Builder (version 1.78.01, on Windows 7 or Windows XP) to run a language production experiment in which participants see a picture and have to name it. The picture is supposed to stay on screen for a maximum of 20 seconds, and…
simona
  • 1
  • 2
0
votes
2 answers

Python/Psychopy: calculating 1 degree of visual angle

I need to know how many pixels make up 1 degree of visual angle in order to create stimuli of the correct size to display using Python/Psychopy. Could someone help me calculate 1 degree of visual angle (in pixels) from the following information?…
Steve
  • 327
  • 2
  • 3
  • 15
0
votes
1 answer

PsychoPy - Move RatingScale marker continuously on key-down

I have a script in Matlab (psychtoolbox) in which I have coded a visual analog scale, anchored at 0 and 100, on which participants move a marker by holding down the left and right arrow-keys. The participant has five-seconds to move the marker to…
Patrick Williams
  • 694
  • 8
  • 22
0
votes
1 answer

Python/Psychopy WindowsError: exception: access violation reading 0x00000010

When I try to call this function in my program, it will call the error (in the title) if I take to long to run the program. It seems like over 5 minutes spent on the program will cause it to crash. Windows 8 Python 2.7 Psychopy 1.82.02 def…
0
votes
1 answer

efficient way to draw continuous line in psychopy

I'm looking for a more efficient way to draw continuous lines in PsychoPy. That's what I've come up with, for now... edit: the only improvement I could think of is to add a new line only if the mouse has really moved by adding if…
piot
  • 3
  • 4
0
votes
0 answers

Saving Psychopy ouput in Excel sheets

I hope that someone can give me an answer to a basic question concerning a beginners problem with psychopy. I want to save the output of an reaction time experiment in an excel file. I managed to do that, but I do have the problem, that I can't get…
Fal
  • 1
  • 2
0
votes
2 answers

Rounding up a jitter in psychopy

I'm building a fMRI paradigm and I have a stimulus that disappears when a user presses a button (up to 4s), then a jitter (0-12s), then another stimulus presentation. I'm locking the stimuli presentation to the 1s TR of the scanner so I'm curious…
Dae
  • 89
  • 1
  • 9
0
votes
0 answers

GL_STEREO not supported! but it should... (Use Nvidia 3D Vision from Psychopy (or Matlab))

I would like to use the Nvidia LCD shutter glasses (3D Vision 2) with Psychopy to present different images to left and right eye. The glasses work perfectly when used with the Nvidia demos and test, but not when used via Psychopy. My computer is…
lachioma
  • 11
  • 2
0
votes
1 answer

set fixation events in psychopy/ioHub for eyelink dataviewer

I am using psychopy and iohub to collect eyetracking data collection with the eyelink (sr research) system. I would like to be able to set two things up: fixation events (where fixation for 100ms at a certain point is required for the next part of…
Mik
  • 417
  • 6
  • 13
0
votes
1 answer

Psychopy Pyo Custom Audio

I am having difficulty playing a custom audio file through Psychopy. I am getting a message saying: AttributeError: No audio API found. Try installing pyo 0.6.8+, or pygame 1.8+ I tried to install the pyo API but still could not get it to work or…
Alex
  • 1