A toolbox of psychological / neuroscience experiments
Project description
# Overview
Expy is an simple-yet-powerful experiment framework builder for cognitive tasks. It's aimed at setting up an experiment without struggling with the manual production of stimuli, data loading and storing, or the other time-consuming works.
**Highlights**:
- Various stimuli modules (not need for preparation of massive stimuli pictures).
- Various procedure-controlling modules (instruction, tip, rest-stage, etc.)
- Convenient for stimuli loading and responses recording.
- Convenient for getting participants' response data (from keyboard, mouse, or joystick).
- Sending triggers easily.
- Easy pause or exit from the program.
**Limitation**:
- Not good at drawing complex shape (e.g.,grating) as stimuli (however, you could draw them as loaded pictures).
---
## Documentation
See http://expy.readthedocs.io/en/latest/ for introduction, tutorials, and reference manual.
---
# Installation instructions
Expy has been tested on Python3.X 64bit.
(Current it might be unfit for older versions like Python2.7. But since Python2 will become obsolete in the years to come, why not drop it anyaway and take Python3 instead?)
The simplest way to install Expy is through the Python Package Index (PyPI), which ensures that all required dependencies are established. This can be achieved by executing the following command:
```
pip install expy
```
or:
```
sudo pip install expy
```
###*Required Dependencies*
- numpy
- pandas
- scipy
- pygame
- pyaudio
- wave
- pyserial
---
# Simple example (An RSPV demo)
```python
# coding:utf-8
from expy import * # Import the needed functions
start() # Initiate the experiment environment
for w in 'ABCDE12345':
drawText(w) # Draw something on the canvas(not the screen)
show(0.2) # Display current canvas on the screen, and keep for 0.2s
```
Expy is an simple-yet-powerful experiment framework builder for cognitive tasks. It's aimed at setting up an experiment without struggling with the manual production of stimuli, data loading and storing, or the other time-consuming works.
**Highlights**:
- Various stimuli modules (not need for preparation of massive stimuli pictures).
- Various procedure-controlling modules (instruction, tip, rest-stage, etc.)
- Convenient for stimuli loading and responses recording.
- Convenient for getting participants' response data (from keyboard, mouse, or joystick).
- Sending triggers easily.
- Easy pause or exit from the program.
**Limitation**:
- Not good at drawing complex shape (e.g.,grating) as stimuli (however, you could draw them as loaded pictures).
---
## Documentation
See http://expy.readthedocs.io/en/latest/ for introduction, tutorials, and reference manual.
---
# Installation instructions
Expy has been tested on Python3.X 64bit.
(Current it might be unfit for older versions like Python2.7. But since Python2 will become obsolete in the years to come, why not drop it anyaway and take Python3 instead?)
The simplest way to install Expy is through the Python Package Index (PyPI), which ensures that all required dependencies are established. This can be achieved by executing the following command:
```
pip install expy
```
or:
```
sudo pip install expy
```
###*Required Dependencies*
- numpy
- pandas
- scipy
- pygame
- pyaudio
- wave
- pyserial
---
# Simple example (An RSPV demo)
```python
# coding:utf-8
from expy import * # Import the needed functions
start() # Initiate the experiment environment
for w in 'ABCDE12345':
drawText(w) # Draw something on the canvas(not the screen)
show(0.2) # Display current canvas on the screen, and keep for 0.2s
```
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
expy-0.9.14.tar.gz
(6.4 MB
view details)
Built Distribution
expy-0.9.14-py3-none-any.whl
(6.4 MB
view details)
File details
Details for the file expy-0.9.14.tar.gz
.
File metadata
- Download URL: expy-0.9.14.tar.gz
- Upload date:
- Size: 6.4 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0a909555ac12562b7ec417943fb74bf68c63ff8f2320753e781b4aabc545cb3b |
|
MD5 | 9b5245e6ccc575f005411c00e3650b22 |
|
BLAKE2b-256 | dd55c802fcedc7161e5bf070d8edb40315f499fae9411b36264f94135435f0c5 |
File details
Details for the file expy-0.9.14-py3-none-any.whl
.
File metadata
- Download URL: expy-0.9.14-py3-none-any.whl
- Upload date:
- Size: 6.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: Python-urllib/3.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3ba027c7c6e0d899a633b0a204a5ba7ecee6dcc2469cfbcfdf4d266518d58855 |
|
MD5 | 7690733937db0c6eac6217c2b3b2c108 |
|
BLAKE2b-256 | 4a022f38253249865edc5b3e7c0cc39de09c0aa392ea9133b1c831fe29011dd3 |