Stimuli
This repository contains auditory stimuli that do not require PsychoPy. The auditory stimuli use the python sounddevice library.
Installation
This repository is available for python ≥ 3.11 on pip with the command
pip install stimuli or on conda-forge with the command
conda install -c conda-forge stimuli.
Usage
Audio stimulus
from stimuli.audio import Tone
from stimuli.time import sleep
from stimuli.trigger import ParallelPortTrigger
trigger = ParallelPortTrigger("/dev/parport0")
sound = Tone(frequency=1000, volume=80, duration=1)
sound.play(when=0.2)
sleep(0.2)
trigger.signal(1)
Metadata
Release files for stimuli 1.2.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 | Provenance | Actions |
|---|---|---|---|---|
| stimuli-1.2.0.tar.gz | 34.6 kB | Without provenance | Details for stimuli-1.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| stimuli-1.2.0-py3-none-any.whl | Python 3 | none | any | Details for stimuli-1.2.0-py3-none-any.whl |
Total release size: 80.3 kB
Release files / stimuli-1.2.0.tar.gz
| Download URL | stimuli-1.2.0.tar.gz |
|---|---|
| Size | 34.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
49f1fe1eb9628fc7bd69714262f833f309b17a785c39d1d5e562cc700ea07bf3
|
|
BLAKE2b-256 checksum How to use checksums |
b48faa3b16a90304e13afb2f2b3bdb5bba89ec5cdb4d362ad3286b97047784ce
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Release files / stimuli-1.2.0-py3-none-any.whl
| Download URL | stimuli-1.2.0-py3-none-any.whl |
|---|---|
| Size | 45.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c899d445da51779378542cf5f372a631ace864b3ff056bcbf8643ee49fb2831b
|
|
BLAKE2b-256 checksum How to use checksums |
be797e459c147b860daa7a662250c53242cef1dd934da126e35fd2aca9277310
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.15
|
Security for stimuli 1.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.