Skip to main content

Brain decoder toolbox for Python

Project description

BdPy

PyPI version GitHub license ci

Python package for brain decoding analysis

Requirements

  • Python 3.8 or later
  • numpy
  • scipy
  • scikit-learn
  • pandas
  • h5py
  • hdf5storage
  • pyyaml

Optional requirements

  • dataform module
    • pandas
  • dl.caffe module
    • Caffe
    • Pillow
    • tqdm
  • dl.torch module
    • PyTorch
    • Pillow
  • fig module
    • matplotlib
    • Pillow
  • bdpy.ml module
    • tqdm
  • mri module
    • nipy
    • nibabel
    • pandas
  • recon.torch module
    • 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

Installation (Python 3.6~3.8)

For Python 3.6, use the following commands:

$ pip install "Cython==0.29.36" "numpy"
$ pip install bdpy

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)

Project details


Download files

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

Source Distribution

bdpy-0.26.tar.gz (98.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bdpy-0.26-py3-none-any.whl (129.3 kB view details)

Uploaded Python 3

File details

Details for the file bdpy-0.26.tar.gz.

File metadata

  • Download URL: bdpy-0.26.tar.gz
  • Upload date:
  • Size: 98.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for bdpy-0.26.tar.gz
Algorithm Hash digest
SHA256 d4bf4f690e47d00228dac62c29a1f147963f964a6308cb8c648f06de6b48ebe0
MD5 065c81ae22a033392b078c6d1d4cfa7f
BLAKE2b-256 578095fe9cf5f18b7aca623a09cb9171fb3fc6c1287cb5eff2f3437d1865eaa2

See more details on using hashes here.

File details

Details for the file bdpy-0.26-py3-none-any.whl.

File metadata

  • Download URL: bdpy-0.26-py3-none-any.whl
  • Upload date:
  • Size: 129.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.14 {"installer":{"name":"uv","version":"0.11.14","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for bdpy-0.26-py3-none-any.whl
Algorithm Hash digest
SHA256 bc47cee24c296eadc1c5074f2a9bc9883177fdb0b8f5a4e0abeb5a7dd787527c
MD5 dbc0dae9cdbe5dd1bfe687365978a848
BLAKE2b-256 a9bd93d23d0eed0214e08e7bf97955cb04e71b40893bf12ed9db0ef3998f2579

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page