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.0.tar.gz (2.2 MB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file psychopy_bids-2024.1.0.tar.gz.

File metadata

  • Download URL: psychopy_bids-2024.1.0.tar.gz
  • Upload date:
  • Size: 2.2 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.10.12

File hashes

Hashes for psychopy_bids-2024.1.0.tar.gz
Algorithm Hash digest
SHA256 c9376ffe1da039ba229225cb53aed90b0631850b7fa909e8cd5608ed47e32595
MD5 c0985b78f0b3fbf3c4625cbcbc685434
BLAKE2b-256 7d54c5c08b7b2b9a381c8fef63f30335b29691453b9f4b70f40e7c2fafda06d8

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for psychopy_bids-2024.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a4d94a93cd11ba07daec473bac7acab1c7dc9fa7107962efbfcbad8b724c5390
MD5 90e8431e1a381b793c5b649608c8a1ad
BLAKE2b-256 dcf911ff3b2ac782caf9aad3187b591225bf8e9cf20657ea38c1e94851aafb7f

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