Skip to main content
# 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
```

Release files for expy 0.9.14

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for expy 0.9.14
File Size Uploaded
expy-0.9.14.tar.gz 6.4 MB Details

Built distribution (wheel)

Table of built distributions (wheels) for expy 0.9.14
File Interpreter ABI Platform
expy-0.9.14-py3-none-any.whl Python 3 none any Details

Total release size: 12.9 MB

Release files / expy-0.9.14.tar.gz

Download URL expy-0.9.14.tar.gz
Size 6.4 MB
Tags Source
SHA-256 checksum
How to use checksums
0a909555ac12562b7ec417943fb74bf68c63ff8f2320753e781b4aabc545cb3b
BLAKE2b-256 checksum
How to use checksums
dd55c802fcedc7161e5bf070d8edb40315f499fae9411b36264f94135435f0c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6

Release files / expy-0.9.14-py3-none-any.whl

Download URL expy-0.9.14-py3-none-any.whl
Size 6.4 MB
Tags Python 3
SHA-256 checksum
How to use checksums
3ba027c7c6e0d899a633b0a204a5ba7ecee6dcc2469cfbcfdf4d266518d58855
BLAKE2b-256 checksum
How to use checksums
4a022f38253249865edc5b3e7c0cc39de09c0aa392ea9133b1c831fe29011dd3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via Python-urllib/3.6
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page