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)
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 Distributions
Hashes for psychopy_bids-2023.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 482cf8c413dc4874e9af54a9cabcd172065fe56f9915bf1c96423b4ebb77a6ed |
|
MD5 | 6e8f38d2033f6aefe432b17a127f30b7 |
|
BLAKE2b-256 | bd2d81a10de25d1ce386bc841f3e6b04449837aa464c4e176b84516ce664e8d0 |
Hashes for psychopy_bids-2023.1.0-1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 30bff4b9bec14f2841b0f5a3056ab6c76c3c457d88e110803878236f0ca19191 |
|
MD5 | a63cbee13a861bf330c0536e07d8a3c8 |
|
BLAKE2b-256 | edf284a700f026ad7df3cfbe5526bca334b8c1220e8696c6f2313f5906e007a1 |