Skip to main content

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 = [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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

psychopy_bids-2024.1.1.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

psychopy_bids-2024.1.1-py3-none-any.whl (2.4 MB view details)

Uploaded Python 3

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

Hashes for psychopy_bids-2024.1.1.tar.gz
Algorithm Hash digest
SHA256 9be60b1bc2f6a978a9954185ccb4d61b9362514c6c1ae40e507cadac48453365
MD5 57fc18182f1720e0702f1c6df7da5a6f
BLAKE2b-256 6035ad777246db85969e3f54b57bc5c4dcf88424ed3895f6154cf81f36865f0d

See more details on using hashes here.

File details

Details for the file psychopy_bids-2024.1.1-py3-none-any.whl.

File metadata

File hashes

Hashes for psychopy_bids-2024.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 befd76b78378aeb3819c2ebd78b55e5ae5446f2b87db68d6e488b6ae9ce85033
MD5 e19eff793789053d607c203d1ec1d1e8
BLAKE2b-256 295038645a1ba7ebef9c3ba14551ab3251b0749ca10958c99e7fdf92fb5e4896

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page