Skip to content

Commit 18c2e5b

Browse files
authored
Merge pull request #8 from TaskBeacon/codex/explain-codebase-structure-to-newcomer
Improve READMEs
2 parents 8349e7e + 780e678 commit 18c2e5b

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

README.md

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,26 @@
11
# psyflow
22

3-
This repository hosts the **psyflow** package.
3+
**psyflow** is a small framework that helps build modular cognitive and
4+
behavioural experiments on top of
5+
[PsychoPy](https://www.psychopy.org/). It bundles a collection of helper
6+
classes and utilities so you can focus on experimental logic rather than
7+
boilerplate.
8+
9+
## Key components
10+
11+
- **BlockUnit** – manage blocks of trials and collect results
12+
- **StimUnit** – present a single trial and log responses
13+
- **StimBank** – register and build stimuli from Python functions or YAML
14+
definitions
15+
- **SubInfo** – gather participant information via a simple GUI
16+
- **TaskSettings** – central configuration object for an experiment
17+
- **TriggerSender** – send triggers to external devices (e.g. EEG/MEG)
18+
19+
The package also provides a command line tool `psyflow-init` which
20+
scaffolds a new project using the bundled cookiecutter template.
21+
22+
Comprehensive documentation and tutorials are available on the
23+
[GitHub Pages site](https://taskbeacon.github.io/psyflow/).
424

525
## Publishing to PyPI
626

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
This project was generated with **psyflow-init**.
2+
3+
## Usage
4+
5+
1. Edit the configuration files under `config/` to define your
6+
stimuli, trigger codes and general task settings.
7+
2. Run `python main.py` to launch the experiment.
8+
9+
For full documentation on psyflow and how to customise this template,
10+
visit the [GitHub Pages site](https://taskbeacon.github.io/psyflow/).

0 commit comments

Comments
 (0)