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
3
votes
3 answers

Analysis of Eye-Tracking data in python (Eye-link)

I have data from eye-tracking (.edf file - from Eyelink by SR-research). I want to analyse it and get various measures such as fixation, saccade, duration, etc. Is there an existing package to analyse Eye-Tracking data? Thanks!
Cranjis
  • 1,590
  • 8
  • 31
  • 64
3
votes
1 answer

why is psychopy.visual.MovieStim3 so slow in my use case?

Currently I would like to continually play movies in a loop from different filepaths using python 3.6, psychopy 1.90.2. The filepaths are listed in a csv file and each filepath has common ancestors but has a different parent directory and filename.…
3
votes
1 answer

Requiring PsychoPy fails readthedocs build due to memory consumption

I have a project (https://github.com/jfkominsky/PyHab) which is essentially an extension of PsychoPy (http://psychopy.org/). I want to use Sphinx and ReadTheDocs for code documentation. I use the autoclass features from Sphinx for my documentation…
jfkominsky
  • 41
  • 4
3
votes
2 answers

xlsxwriter installed but "No module named xlsxwriter" in psychopy error

I've tried installing xlsxwriter on MacOS I tried: pip install xlsxwriter easy_install xlsxwriter python -m easy_install xlsxwriter python -m pip install xlsxwriter with pip uninstall xlsxwriter in between each attempt. I've tried all different…
3
votes
1 answer

Drawing Matplotlib plot into Psychopy loop

Using Psychopy and Matplotlib I am displaying 100 rectangles of random orientations (0,360), sizes, and positions, on the left hand side of the screen. I am assigning a unique colour to each quadrant of orientation (i.e. red for all orientations <…
Steve
  • 327
  • 2
  • 3
  • 15
3
votes
1 answer

Threading stops the application

I am working on an animal tracking program with OpenCV. When the animal is recognised, I want to draw some shapes and project them in front of it for a certain number of seconds. For drawing the shapes and projecting them I am using PsychoPy When I…
The Maestro
  • 659
  • 1
  • 5
  • 21
3
votes
1 answer

Pyschopy Script That Uses Primary Display Monitor

I'm using Psychopy for some stimulus presentation and have written a script thats working well but always presents on my laptop monitor not the second monitor (even if that one is set to primary display). I know you can use the Monitor Center for…
Becky
  • 63
  • 5
3
votes
2 answers

Anaconda environments for 32bit and 64bit parallel?

I recently started using psychopy and want to use it without the standalone version but rather import it as a library. I am using the Anaconda distribution and have already managed to install a new environment following the instructions given…
S.A.
  • 1,819
  • 1
  • 24
  • 39
3
votes
1 answer

PsychoPy: unable to read data from parallel port

I am using Psychopy v1.82.01 (coder view) on a Windows 7 computer to run an fMRI experiment. I would like to readData() from the parallel port (for recording button presses and for receiving the trigger from the scanner to sync). However, when I use…
Emma
  • 41
  • 3
3
votes
0 answers

Psychopy: bad color of visual.Circle in blendMode add

I am using blendMode='add' and drawing circles with visual.Circle. Unfortunatelly colors are not displayed correctly - it seems that adding rgb values is performed differently for circles. Many colors are marked with noise as if their values went…
mmagnuski
  • 1,249
  • 1
  • 11
  • 23
3
votes
1 answer

Recording the time of the start of a screen touch in PsychoPy on Windows

I'm helping to implement an experiment using PsychoPy on a Windows 8 tablet. It doesn't seem to be possible to get direct access to touch events through either PsychoPy, or the pyglet or PyGame interfaces. Most other sources I've found have referred…
alisdt
  • 509
  • 4
  • 6
3
votes
1 answer

Interpretation of Psychopy/iohub Tobii Gaze Data

I have recorded gaze data using Psychopy/iohub and a Tobii TX300 eye tracker. Loading the hdf5 file shows the following entries in a BinocularEyeSampleEvent: ['experiment_id', 'session_id', 'device_id', 'event_id', 'type', 'device_time',…
brina
  • 93
  • 1
  • 8
3
votes
1 answer

Understanding PsychoPy's data logging

I have a test PsychoPy Builder script that I am using to investigate some counter-intuitive behaviour. The structure is four routines: "Init", not in a loop, the following code in "Begin Experiment": x = 0 y = 0 z = 0 foo = [0, 0, 0] "One", in a…
Novak
  • 4,687
  • 2
  • 26
  • 64
3
votes
2 answers

PsychoPy: send triggers over parallel port of PC with XP 32 bit

I am having problems with sending triggers from a 32 bit PC with Windows XP Professional and Psychopy v.1.81.03 to the parallel port. I am positive that the port address is 378, and am able to send triggers with Eprime and I am able to turn specific…
3
votes
1 answer

Prevent image stretch in fullscreen for psychopy

This is the first time I am using this software to create an experiment. For my experiment I am presenting two images side by side, ideally I would like to run this experiment in fullscreen but when I set the value to true, the images become…
Jack E Farr
  • 31
  • 1
  • 3
1
2
3
34 35