A PsychoPy plugin to work with the Brain Imaging Data Structure (BIDS)
Project description
psychopy_bids
A PsychoPy plugin to work with the Brain Imaging Data Structure (BIDS)
Installation
$ pip install psychopy_bids
Usage
psychopy_bids
can be used to create valid BIDS datasets by adding the possibility of using task events in PsychoPy.
from psychopy_bids import bids
handler = bids.BIDSHandler(dataset="example", subject="01", task="A")
handler.createDataset()
event_list = [{'trigger': bids.BIDSTaskEvent(onset=1.0, duration=0, trial_type="trigger")}]
participant_info = {'participant_id': handler.subject, 'age': 18}
handler.addTaskEvents(event_list, participant_info)
Contributing
Interested in contributing? Check out the contributing guidelines. Please note that this project is released with a Code of Conduct. By contributing to this project, you agree to abide by its terms.
License
psychopy_bids
was created by Christoph Anzengruber & Florian Schöngaßner. It is licensed under the terms of the GNU General Public License v3.0 license.
Credits
psychopy_bids
was created with cookiecutter
and the py-pkgs-cookiecutter
template.
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
Built Distribution
File details
Details for the file psychopy_bids-0.1.2.tar.gz
.
File metadata
- Download URL: psychopy_bids-0.1.2.tar.gz
- Upload date:
- Size: 90.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.9.12 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | fabbab1120fa4bec299ef41640e0bed90092cd93bad88ece0e23a8128c2e2d9b |
|
MD5 | 59783cdf187d075a46f495f50d8bea1f |
|
BLAKE2b-256 | ef8684ffc31746ffb1acdaba790881071b6e92b66f9c32783a2b12fc9a45a7b8 |
File details
Details for the file psychopy_bids-0.1.2-py3-none-any.whl
.
File metadata
- Download URL: psychopy_bids-0.1.2-py3-none-any.whl
- Upload date:
- Size: 132.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.1.14 CPython/3.9.12 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 14c2728e38e53df4a8a3cdc8ead73947cec9f4bac866d5c49f45f6abb866e0ad |
|
MD5 | ae5539f1e91a7ad8b53953db299e6195 |
|
BLAKE2b-256 | bbd3e833c426a12ab1fdeb75216a1a0b7b0ea555fd84d068c4c67bac87ece2f5 |