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([(-40, -20), (-40, 20), (40, 20), (40, -20)], [1, 1, 1, 1])
)
scene = sp.Scene(color=(-1, -1, -1), units="deg")
scene.add(circle, begin=0, dur=4)
win = sp.Window(distance=13, width=26)
trial = sp.Trial(scene, win=win)
trial.start()
trial.save_movie("example.mp4", fps=60)
Release files for stimpy 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| stimpy-0.3.0.tar.gz | 10.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| stimpy-0.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 22.1 kB
Release files / stimpy-0.3.0.tar.gz
| Download URL | stimpy-0.3.0.tar.gz |
|---|---|
| Size | 10.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4d8d669c0d7b37088c9d21a83d21f66886e01ed1f193fb8331520b1ca72c6b93
|
|
BLAKE2b-256 checksum How to use checksums |
f9e2cb75d9526f29f182dc2123998b0ef06d827c6b90bf9ab75057b61e467a85
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.8 CPython/3.9.1 Windows/10
|
Release files / stimpy-0.3.0-py3-none-any.whl
| Download URL | stimpy-0.3.0-py3-none-any.whl |
|---|---|
| Size | 12.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d068009e9f620f631274e98d5db092ed6bfc5a15d48842a99c23b495c090b521
|
|
BLAKE2b-256 checksum How to use checksums |
af8304ee76fddfb767ccf7eb2f837938e4c355cf353dabc50fef9d696aa7f348
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.8 CPython/3.9.1 Windows/10
|