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-2023.2.0.tar.gz (132.3 kB view details)

Uploaded Source

Built Distribution

psychopy_bids-2023.2.0-py3-none-any.whl (182.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: psychopy_bids-2023.2.0.tar.gz
  • Upload date:
  • Size: 132.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.7.1 CPython/3.8.18 Windows/10

File hashes

Hashes for psychopy_bids-2023.2.0.tar.gz
Algorithm Hash digest
SHA256 4a9d0058debd7cd480a6e7b9441e7bdc599218e5f0c72b5ddfabb9ad3d8b1502
MD5 ba18b837ba2eade275e3425fe87de6dd
BLAKE2b-256 0e001135f43dfe7d8c3feeed2b7ae8fce1585ba2838432a870f19371994c59cf

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for psychopy_bids-2023.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 6415dcef7a2b989c6d8720381d76403ae631bc51f86b0b944d3e6605c6d01940
MD5 b9229815f7b0163340869334fc877271
BLAKE2b-256 6b9fadbde3b71a0d8ccbc594111d939bc2971a61f3c45a1ea15e2ee2ff731726

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