A PsychoPy plugin for using the Brain Imaging Data Structure (BIDS) to organize and describe data.
Project description
psychopy-bids
A PsychoPy plugin to work with the Brain Imaging Data Structure (BIDS)
- Website: https://psygraz.gitlab.io/psychopy-bids
- Documentation: https://psychopy-bids.readthedocs.io
- Source code: https://gitlab.com/psygraz/psychopy-bids/
- Contributing: https://psychopy-bids.readthedocs.io/en/doc/contributing/
- Bug reports: https://gitlab.com/psygraz/psychopy-bids/issues
- Code of Conduct: https://psychopy-bids.readthedocs.io/en/doc/conduct/
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 = [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-2024.1.1.tar.gz
.
File metadata
- Download URL: psychopy_bids-2024.1.1.tar.gz
- Upload date:
- Size: 2.2 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9be60b1bc2f6a978a9954185ccb4d61b9362514c6c1ae40e507cadac48453365 |
|
MD5 | 57fc18182f1720e0702f1c6df7da5a6f |
|
BLAKE2b-256 | 6035ad777246db85969e3f54b57bc5c4dcf88424ed3895f6154cf81f36865f0d |
File details
Details for the file psychopy_bids-2024.1.1-py3-none-any.whl
.
File metadata
- Download URL: psychopy_bids-2024.1.1-py3-none-any.whl
- Upload date:
- Size: 2.4 MB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.8.18
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | befd76b78378aeb3819c2ebd78b55e5ae5446f2b87db68d6e488b6ae9ce85033 |
|
MD5 | e19eff793789053d607c203d1ec1d1e8 |
|
BLAKE2b-256 | 295038645a1ba7ebef9c3ba14551ab3251b0749ca10958c99e7fdf92fb5e4896 |