No description
  • Python 97.9%
  • TeX 1.4%
  • Shell 0.7%
Find a file
Chris Markiewicz fc7e87af36
Merge pull request #778 from DimitriPapadopoulos/versioneer
Update versioneer: 0.18 → 0.20
2021-09-14 13:39:39 -04:00
.circleci Update .circleci/config.yml 2020-06-22 14:47:57 -04:00
.github Add "codespell" tool to CI checks to catch typos sooner 2021-09-14 18:26:11 +02:00
bids Merge pull request #778 from DimitriPapadopoulos/versioneer 2021-09-14 13:39:39 -04:00
doc Remove trailing spaces (#780) 2021-09-14 12:15:38 -04:00
examples add statsmodels example notebook 2021-05-10 12:22:18 -05:00
paper DOC: Fix BIDS citation 2019-06-26 11:02:24 -04:00
tools Remove trailing spaces (#780) 2021-09-14 12:15:38 -04:00
.coveragerc ignore external and setup-related files 2019-04-22 08:11:44 -05:00
.gitattributes ENH: Manage version with versioneer 2018-05-19 21:23:17 -04:00
.gitignore Fresh fork and pip install -e . that should be ignored. 2020-02-05 12:52:42 -05:00
.mailmap Update mailmap 2020-09-09 15:53:18 -04:00
.zenodo.json DOC: Update Zenodo 2021-05-21 11:02:23 -04:00
appveyor.yml update models 2021-05-06 15:08:23 -05:00
CHANGELOG.rst DOC: Update changelog 2021-08-20 12:44:44 -04:00
codecov.yml CI: Drop coveralls, use codecov properly 2018-05-20 13:43:14 -04:00
LICENSE Few more deshablonizations. Left few Shablona mentionings as TODO pointers 2016-07-09 16:45:34 -04:00
long_description.rst MAINT: Move configuration to setup.py 2019-09-06 12:00:14 -04:00
Makefile CI: First pass at GH actions 2020-12-18 13:39:01 -05:00
MANIFEST.in MAINT: Package tests 2019-09-06 18:41:58 -04:00
pyproject.toml Remove trailing spaces (#780) 2021-09-14 12:15:38 -04:00
README.md replace patsy with formulaic and update setup 2021-05-07 14:31:36 -05:00
setup.cfg [FIX] install graphviz as a extras_require 2021-06-02 11:44:45 -07:00
setup.py MAINT: Move configuration to setup.py 2019-09-06 12:00:14 -04:00
versioneer.py Update versioneer: 0.18 → 0.20 2021-09-14 18:22:27 +02:00

PyBIDS

DOI DOI

Build Status (Linux and OS X) Binder PyPI version

PyBIDS is a Python library to centralize interactions with datasets conforming BIDS (Brain Imaging Data Structure) format. For more information about BIDS visit http://bids.neuroimaging.io.

PyBIDS currently supports Python 3 on POSIX operating systems (including Mac OS). Windows is not officially supported, though most PyBIDS functionality will probably work fine.

Installation

PyBIDS is most easily installed from pip. To install the latest official release:

pip install pybids

If you want to live on the bleeding edge, you can install from master:

pip install git+https://github.com/bids-standard/pybids.git

Dependencies

PyBIDS has a number of dependencies. The core querying functionality requires only the BIDS-Validator package. However, most other modules require the core Python neuroimaging stack: numpy, scipy, pandas, and nibabel. The reports module additionally requires num2words. By default, all dependencies will be installed with pybids (if they aren't already available).

Usage

Get started by checking out the documentation!

Or you can start at our tutorial! You can run it interactively without installing anything via binder. Click on the link and then navigate to examples/pybids_tutorial.ipynb to explore.

How to cite

To credit PyBIDS in your work, please cite both the JOSS paper and the Zenodo archive. The former provides a high level description of the package, and the latter points to a permanent record of all PyBIDS versions (we encourage you to cite the specific version you used). Example citations (for PyBIDS 0.9.3):

Yarkoni et al., (2019). PyBIDS: Python tools for BIDS datasets. Journal of Open Source Software, 4(40), 1294, https://doi.org/10.21105/joss.01294

Yarkoni, Tal, Markiewicz, Christopher J., de la Vega, Alejandro, Gorgolewski, Krzysztof J., Halchenko, Yaroslav O., Salo, Taylor, … Blair, Ross. (2019, August 8). bids-standard/pybids: 0.9.3 (Version 0.9.3). Zenodo. http://doi.org/10.5281/zenodo.3363985

Community guidelines

Bug reports, feedback, and other contributions to PyBIDS are welcome. To report a bug, request a feature, or raise a technical (non-usage-related) question for discussion, please open an issue on GitHub. Requests for support and questions about usage (where no bug is suspected) should be posted on the NeuroStars forum. For questions about the BIDS specification or BIDS-Validator, please see the corresponding repositories. For general BIDS-related discussion, see the bids-discussion mailing list.

Pull requests are always welcome. If you have any doubts about the suitability of a PR, or want to discuss implementation-related issues, feel free to open an issue for discussion.