Skip to content

Python package for brain decoding analysis (BrainDecoderToolbox2 data format, machine learning analysis, functional MRI)

License

Notifications You must be signed in to change notification settings

watarungurunnn/bdpy

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BdPy

PyPI version GitHub license

Python package for brain decoding analysis

Requirements

  • Python 2.7, 3.6, or later
  • numpy
  • scipy
  • scikit-learn
  • h5py
  • hdf5storage
  • pyyaml

Optional requirements

  • dataform module
    • pandas
  • dl.caffe module
    • Caffe
    • Pillow
    • tqdm
  • dl.torch module
    • PyTorch
    • Pillow
  • fig module
    • matplotlib
    • Pillow
  • mri module
    • nipy
    • nibabel
    • pandas
  • recon.torch module
    • PyTorch
    • Pillow

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)

About

Python package for brain decoding analysis (BrainDecoderToolbox2 data format, machine learning analysis, functional MRI)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%