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
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)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| bdpy-0.26.tar.gz | 98.8 kB | Without provenance | Details for bdpy-0.26.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| bdpy-0.26-py3-none-any.whl | Python 3 | none | any | Details for bdpy-0.26-py3-none-any.whl |
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}
|
Security for bdpy 0.26
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.