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.
Release files for BIDSHandler 0.2.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| BIDSHandler-0.2.1.tar.gz | 17.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| BIDSHandler-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 44.2 kB
Release files / BIDSHandler-0.2.1.tar.gz
| Download URL | BIDSHandler-0.2.1.tar.gz |
|---|---|
| Size | 17.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7c2d7050deac9c4ec14ee8cf4f5d86d4cbad6748049928ed912abdf5b7e40c25
|
|
BLAKE2b-256 checksum How to use checksums |
bd51b67703207e472b05a6361e1f4acc9b87b056e15ec98098336f23ea30c55a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.5
|
Release files / BIDSHandler-0.2.1-py3-none-any.whl
| Download URL | BIDSHandler-0.2.1-py3-none-any.whl |
|---|---|
| Size | 26.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9e8750df318ce23585f897ea3922a4028efbb1cbb8133a78031387ab40cad544
|
|
BLAKE2b-256 checksum How to use checksums |
1cbedd7be9cea72c67c5c1477bb79a04c05d16b3d435f2abc6d3dd956fb9c642
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.5.0.1 requests/2.18.4 setuptools/40.6.2 requests-toolbelt/0.9.1 tqdm/4.30.0 CPython/3.6.5
|