Last updated:
0 purchases
psychopy bids 2023.2.0
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.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.