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
Hashes for psychopy_bids-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9c820159415166171fdac3d84b0ee1fcfd41a6fbd3a5b592a44adf9f4d18db40 |
|
MD5 | e04111614773587a2a97450d4e8806de |
|
BLAKE2b-256 | 92ed0c33b59829eb693429e94f450f9e669578414c737211ff1611e79dbe407b |