A PsychoPy wrapper to create moving visual stimuli without loops.
Project description
StimPy
StimPy is a thin PsychoPy wrapper to simplify the creation of visual stimuli.
Installation
Use the package manager pip to install StimPy.
pip install stimpy
Usage
import stimpy as sp
circle = sp.visual.Circle(size=(2, 2), fillColor=(1, 1, 1),
pos=sp.Animate([(-45, 0), (45, 0)], [2, 2]))
stimuli = sp.Stimuli()
stimuli.append(circle, begin=0, dur=10)
win = sp.Window(distance=13, width=26, units="degFlat")
trial = sp.Trial(stimuli, win=win)
trial.run()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
stimpy-0.1.1.tar.gz
(9.1 kB
view hashes)
Built Distribution
stimpy-0.1.1-py3-none-any.whl
(11.1 kB
view hashes)