Bdpy
Python package for brain decoding analysis (BrainDecoderToolbox2 data format, machine learning analysis, functional MRI)
Install / Use
/learn @KamitaniLab/BdpyREADME
BdPy
Python package for brain decoding analysis
Requirements
- Python 3.8 or later
- numpy
- scipy
- scikit-learn
- pandas
- h5py
- hdf5storage
- pyyaml
Optional requirements
dataformmodule- pandas
dl.caffemodule- Caffe
- Pillow
- tqdm
dl.torchmodule- PyTorch
- Pillow
figmodule- matplotlib
- Pillow
bdpy.mlmodule- tqdm
mrimodule- nipy
- nibabel
- pandas
recon.torchmodule- PyTorch
- Pillow
Optional requirements for testing
- fastl2lir
Installation
Latest stable release:
$ pip install bdpy
To install the latest development version ("master" branch of the repository), please run the following command.
$ pip install git+https://github.com/KamitaniLab/bdpy.git
Packages
- bdata: BdPy data format (BData) core package
- dataform: Utilities for various data format
- distcomp: Distributed computation utilities
- dl: Deep learning utilities
- feature: Utilities for DNN features
- fig: Utilities for figure creation
- ml: Machine learning utilities
- mri: MRI utilities
- opendata: Open data utilities
- preproc: Utilities for preprocessing
- recon: Reconstruction methods
- stats: Utilities for statistics
- util: Miscellaneous utilities
BdPy data format
BdPy data format (or BrainDecoderToolbox2 data format; BData) consists of two variables: dataset and metadata. dataset stores brain activity data (e.g., voxel signal value for fMRI data), target variables (e.g., ID of stimuli for vision experiments), and additional information specifying experimental design (e.g., run and block numbers for fMRI experiments). Each row corresponds to a single 'sample', and each column representes either single feature (voxel), target, or experiment design information. metadata contains data describing meta-information for each column in dataset.
See BData API examples for useage of BData.
Developers
- Shuntaro C. Aoki (Kyoto Univ)
Related Skills
YC-Killer
2.7kA library of enterprise-grade AI agents designed to democratize artificial intelligence and provide free, open-source alternatives to overvalued Y Combinator startups. If you are excited about democratizing AI access & AI agents, please star ⭐️ this repository and use the link in the readme to join our open source AI research team.
best-practices-researcher
The most comprehensive Claude Code skills registry | Web Search: https://skills-registry-web.vercel.app
groundhog
400Groundhog's primary purpose is to teach people how Cursor and all these other coding agents work under the hood. If you understand how these coding assistants work from first principles, then you can drive these tools harder (or perhaps make your own!).
last30days-skill
19.9kAI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary
