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

Uploaded Source

Built Distribution

psychopy_bids-0.1.4-py3-none-any.whl (133.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for psychopy_bids-0.1.4.tar.gz
Algorithm Hash digest
SHA256 e2c044c2d32ecac7faa0ee57103996f84ae762135c7cf463956f8d72a8a34f28
MD5 c4ee8d671f84e9d7e2d89823be56343e
BLAKE2b-256 4f9876633007bb7779974cb363f5b8c1f4fa499087f29e91f84783509da17488

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for psychopy_bids-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 1d892a24c15626174b379c7b0e4e2500321c4b287c45a2de7109400de9d4ffa2
MD5 20f4efd3d2f3202da7238fd6a4924708
BLAKE2b-256 57be43ac42e03318051772dcd34199302f9e078542b78bbd973ebd0236b5416e

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