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!

470 questions
15
votes
5 answers

Abort trap: 6 when running a python script

I am working on a python program that displays an animation, thus I am using pyglet. Until now I've been working with the python compiler that comes with Psychopy, but now I need to make this program as most independent as possible. I have achieved…
jl.da
  • 507
  • 1
  • 8
  • 27
6
votes
1 answer

PsychoPy sending triggers on 64bit OS

I have a problem with sending triggers for eeg recording using PsychoPy standalone v1.81.00 on a Win7 64bit OS. I followed the descriptions here and don't get any (more) errors. The triggers, however, don't show on the recording computer…
Mario Reutter
  • 219
  • 2
  • 8
5
votes
1 answer

pandas to_csv creates empty, unspecified file

I am new to python and programming in general, so this is probably a stupid question. I am currently preparing a psychology experiment using PsychoPy v1.90.2 standalone, python 2.7, the coder version, based on both an existing script and a tutorial…
JuliaC
  • 85
  • 1
  • 6
5
votes
3 answers

Psychopy and pylink example

I'm working on integrating an experiment in psychopy with the eyelink eyetracking system. The way to do this seems to be through pylink. Unfortunately I'm really unfamiliar with pylink and I was hoping there was a sample of an experiment that…
Mik
  • 367
  • 5
  • 12
5
votes
1 answer

Serial Commands for BrainTree Scientific, Inc. Syringe Pump (model bs-8000) rs232

UPDATE: After ensuring my commands, serial config, and terminator ('\r') were correct I got this working on 1 of 5 computers. This leads me to believe it is an adapter issue. I plan on calling the company to see about ordering a USB/RJ11 adapter (I…
broinjc
  • 2,419
  • 3
  • 21
  • 42
5
votes
4 answers

Exiting PsychoPy Window

I was stepping through some PsychoPy code in the coder view, and ran the Window function: http://www.psychopy.org/api/visual/window.html This had the helpful side-effect of opening a grey window and did not bind any keys to exit. How does one exit…
alexplanation
  • 1,338
  • 11
  • 18
4
votes
2 answers

PSYCHOPY Error: AttributeError: module 'logging' has no attribute 'getLogger'

I'm new to Python and Pscyhopy and whenever I try running an experiment, it gives me this…
4
votes
1 answer

Failure to append a variable in psychopy

I am creating a probabilistic learning task. It has a learning phase which is what I am preparing at the moment using the builder interface with custom code in PsychoPy. The learning phase has at least 60 trials in a loop called practice. Apart from…
4
votes
2 answers

Psychopy: Creating multiple line objects simultaneously

My code here works, but my current method is very inefficient and time consuming. I'm generating 4 Cartesian coordinates and appending them to a list. I'm then creating 4 Psychopy line objects (visual.Line) and assigning each object an x,y…
Jonathan
  • 327
  • 1
  • 3
  • 13
4
votes
1 answer

Proper procedure for python package collections in Nixos

I am interested in a reliable and robust procedure for collecting python package and dependencies for the Psychopy library into a single collection or environment to make a self-contained and maintainable installation. As well it would be good to…
brittAnderson
  • 1,278
  • 9
  • 20
4
votes
1 answer

Why does my dialogue box not show when fullscr=True?

I want to display a dialogue box to ask an experimental participant to enter a number, using psychopy. When fullscr=False in win, the dialogue box displays. When fullscr=True, it doesn't appear, even though typing the number and then return does…
4
votes
1 answer

Psychopy ISI component and how to use it to load stimuli in the Builder

I am having some doubts whether I understand correctly the concept of static component or not. I am designing an experiment where I am presenting images for certain durations and once an image is gone the participant will have to submit a…
Lazaros
  • 43
  • 4
3
votes
1 answer

How to get USB controller/gamepad to work with python

I have a USB controller that I'm trying to get inputs from, a Microsoft® SideWinder® Plug & Play Game Pad. I'm having difficulties trying to figure out how to receive its inputs correctly. Unfortunately, I cannot use pygame as it requires a window…
user10901512
3
votes
1 answer

How do you overcome the "RuntimeError: Gamma ramp size is reported as 0." without changing the window type when using psychopy?

I have developed a program to play videos in psychopy using a machine with Ubuntu 16.04, a NVIDIA GPU and associated driver. The program works perfectly fine on this machine. The program is rather large but of note, it uses…
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!
okuoub
  • 864
  • 1
  • 17
  • 38
1
2 3
31 32