Skip to main content

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


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

Uploaded Source

Built Distribution

psychopy_bids-0.1.3-py3-none-any.whl (132.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: psychopy_bids-0.1.3.tar.gz
  • Upload date:
  • Size: 90.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.9.12 Windows/10

File hashes

Hashes for psychopy_bids-0.1.3.tar.gz
Algorithm Hash digest
SHA256 8375e4bc39b96802698218cff70f4f87391705efcda522a500ed2c2e858176fa
MD5 9a15a1e552ccebe207174edcac7ce378
BLAKE2b-256 c10f889fb72f79060ef7aee6ef4d0b01fc236dc73bd0c92e9d2c23b9f50234ec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: psychopy_bids-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 132.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.14 CPython/3.9.12 Windows/10

File hashes

Hashes for psychopy_bids-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 1debbd18dfc6cfc7962ea823d8370f92c37ebe7af8f5f54c4227393943ab5db7
MD5 d91e20f7f2aa92a208ce33a2d0918ef9
BLAKE2b-256 74e56bb5099f95e96e86a09f58138136f4e971e5f70dcb0aeb1708595ef05ea2

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