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
File details
Details for the file psychopy_bids-2023.1.0.tar.gz
.
File metadata
- Download URL: psychopy_bids-2023.1.0.tar.gz
- Upload date:
- Size: 93.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.8.16 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e8e612886029a09c7f77b321ab3ddc9ddcfc10e99be79504d6766886bbe97498 |
|
MD5 | 1dd3afb7ca092d6c0483ab971216ae6a |
|
BLAKE2b-256 | cb8fc290378365bbb276c6ebe273de33fcc7f01f6b7276c60f09c4c44cdd774b |
File details
Details for the file psychopy_bids-2023.1.0-py3-none-any.whl
.
File metadata
- Download URL: psychopy_bids-2023.1.0-py3-none-any.whl
- Upload date:
- Size: 133.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.4.0 CPython/3.8.16 Windows/10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 482cf8c413dc4874e9af54a9cabcd172065fe56f9915bf1c96423b4ebb77a6ed |
|
MD5 | 6e8f38d2033f6aefe432b17a127f30b7 |
|
BLAKE2b-256 | bd2d81a10de25d1ce386bc841f3e6b04449837aa464c4e176b84516ce664e8d0 |
File details
Details for the file psychopy_bids-2023.1.0-1-py3-none-any.whl
.
File metadata
- Download URL: psychopy_bids-2023.1.0-1-py3-none-any.whl
- Upload date:
- Size: 133.9 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 | 30bff4b9bec14f2841b0f5a3056ab6c76c3c457d88e110803878236f0ca19191 |
|
MD5 | a63cbee13a861bf330c0536e07d8a3c8 |
|
BLAKE2b-256 | edf284a700f026ad7df3cfbe5526bca334b8c1220e8696c6f2313f5906e007a1 |