Skip to main content

Simple way to manage and manipulate BIDS compatible data

Project description

BIDSHandler

A simple way to manage and manipulate BIDS compatible data.

Installation

BIDSHandler requires only one dependency which can be easily installed using pip:

pip install pandas

To install BIDSHandler you can then enter in a terminal:

pip install BIDSHandler

Entering import bidshandler in a python console should not raise an error which indicates that BIDSHandler has been installed correctly.

Basic Usage

BIDSHandler has 5 primary objects; BIDSTree, Project, Subject, Session and Scan, corresponding to different levels within a BIDS archive folder structure. Generally data will be loaded into a BIDSTree object and the child objects are automatically generated. From there it is easy to query and manipulate the BIDS data.

import bidshandler as bh
tree = bh.BIDSTree('folder')
print(tree.projects)
print(tree.subjects)
# etc.

Contributing

BIDSHandler is still in very early stages, but contributions are more than welcome in the form of PR's and by raising issues to discussion potential features. Ideally BIDSHandler would be able to handle any BIDS data from any modality such as MRI and EEG, but the current focus is on MEG data.

Project details


Download files

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

Files for BIDSHandler, version 0.2.1
Filename, size File type Python version Upload date Hashes
Filename, size BIDSHandler-0.2.1-py3-none-any.whl (26.6 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size BIDSHandler-0.2.1.tar.gz (17.6 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page