Skip to main content

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)

Metadata

Release files for bdpy 0.26

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bdpy 0.26
File Size Uploaded
bdpy-0.26.tar.gz 98.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bdpy 0.26
File Interpreter ABI Platform
bdpy-0.26-py3-none-any.whl Python 3 none any Details

Total release size: 228.0 kB

Release files / bdpy-0.26.tar.gz

Download URL bdpy-0.26.tar.gz
Size 98.8 kB
Tags Source
SHA-256 checksum
How to use checksums
d4bf4f690e47d00228dac62c29a1f147963f964a6308cb8c648f06de6b48ebe0
BLAKE2b-256 checksum
How to use checksums
578095fe9cf5f18b7aca623a09cb9171fb3fc6c1287cb5eff2f3437d1865eaa2
Upload date
Uploaded using Trusted Publishing?
What is 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}

Release files / bdpy-0.26-py3-none-any.whl

Download URL bdpy-0.26-py3-none-any.whl
Size 129.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bc47cee24c296eadc1c5074f2a9bc9883177fdb0b8f5a4e0abeb5a7dd787527c
BLAKE2b-256 checksum
How to use checksums
a9bd93d23d0eed0214e08e7bf97955cb04e71b40893bf12ed9db0ef3998f2579
Upload date
Uploaded using Trusted Publishing?
What is 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}
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page