bdpy


Namebdpy JSON
Version 0.25.1 PyPI version JSON
download
home_pageNone
SummaryBrain decoder toolbox for Python
upload_time2024-10-09 06:09:25
maintainerNone
docs_urlNone
authorNone
requires_python<3.12,>=3.6
licenseMIT License Copyright (c) 2017-2024 Kamitani Lab Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
keywords brain decoding fmri machine learning neuroimaging neuroscience
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # BdPy

[![PyPI version](https://badge.fury.io/py/bdpy.svg)](https://badge.fury.io/py/bdpy)
[![GitHub license](https://img.shields.io/github/license/KamitaniLab/bdpy)](https://github.com/KamitaniLab/bdpy/blob/master/LICENSE)
[![ci](https://github.com/KamitaniLab/bdpy/actions/workflows/ci.yml/badge.svg)](https://github.com/KamitaniLab/bdpy/actions/workflows/ci.yml)

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:

``` shell
$ pip install bdpy
```

To install the latest development version ("master" branch of the repository), please run the following command.

```shell
$ 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](https://github.com/KamitaniLab/bdpy/blob/main/docs/bdata_api_examples.md) for useage of BData.

## Developers

- Shuntaro C. Aoki (Kyoto Univ)

            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "bdpy",
    "maintainer": null,
    "docs_url": null,
    "requires_python": "<3.12,>=3.6",
    "maintainer_email": null,
    "keywords": "brain decoding, fmri, machine learning, neuroimaging, neuroscience",
    "author": null,
    "author_email": "\"Shuntaro C. Aoki\" <s_aoki@i.kyoto-u.ac.jp>",
    "download_url": "https://files.pythonhosted.org/packages/55/db/918170108762d6f4b25f09988835ac56ad6abb0ec1376427c4cf3d8b3a3d/bdpy-0.25.1.tar.gz",
    "platform": null,
    "description": "# BdPy\n\n[![PyPI version](https://badge.fury.io/py/bdpy.svg)](https://badge.fury.io/py/bdpy)\n[![GitHub license](https://img.shields.io/github/license/KamitaniLab/bdpy)](https://github.com/KamitaniLab/bdpy/blob/master/LICENSE)\n[![ci](https://github.com/KamitaniLab/bdpy/actions/workflows/ci.yml/badge.svg)](https://github.com/KamitaniLab/bdpy/actions/workflows/ci.yml)\n\nPython package for brain decoding analysis\n\n## Requirements\n\n- Python 3.8 or later\n- numpy\n- scipy\n- scikit-learn\n- pandas\n- h5py\n- hdf5storage\n- pyyaml\n\n### Optional requirements\n\n- `dataform` module\n    - pandas\n- `dl.caffe` module\n    - Caffe\n    - Pillow\n    - tqdm\n- `dl.torch` module\n    - PyTorch\n    - Pillow\n- `fig` module\n    - matplotlib\n    - Pillow\n- `bdpy.ml` module\n    - tqdm\n- `mri` module\n    - nipy\n    - nibabel\n    - pandas\n- `recon.torch` module\n    - PyTorch\n    - Pillow\n\n### Optional requirements for testing\n- fastl2lir\n\n## Installation\n\nLatest stable release:\n\n``` shell\n$ pip install bdpy\n```\n\nTo install the latest development version (\"master\" branch of the repository), please run the following command.\n\n```shell\n$ pip install git+https://github.com/KamitaniLab/bdpy.git\n```\n\n## Packages\n\n- bdata: BdPy data format (BData) core package\n- dataform: Utilities for various data format\n- distcomp: Distributed computation utilities\n- dl: Deep learning utilities\n- feature: Utilities for DNN features\n- fig: Utilities for figure creation\n- ml: Machine learning utilities\n- mri: MRI utilities\n- opendata: Open data utilities\n- preproc: Utilities for preprocessing\n- recon: Reconstruction methods\n- stats: Utilities for statistics\n- util: Miscellaneous utilities\n\n## BdPy data format\n\nBdPy 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.\n\nSee [BData API examples](https://github.com/KamitaniLab/bdpy/blob/main/docs/bdata_api_examples.md) for useage of BData.\n\n## Developers\n\n- Shuntaro C. Aoki (Kyoto Univ)\n",
    "bugtrack_url": null,
    "license": "MIT License  Copyright (c) 2017-2024 Kamitani Lab  Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the \"Software\"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:  The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.  THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.",
    "summary": "Brain decoder toolbox for Python",
    "version": "0.25.1",
    "project_urls": {
        "Bug Tracker": "https://github.com/KamitaniLab/bdpy/issues",
        "Homepage": "https://github.com/KamitaniLab/bdpy",
        "Repository": "https://github.com/KamitaniLab/bdpy"
    },
    "split_keywords": [
        "brain decoding",
        " fmri",
        " machine learning",
        " neuroimaging",
        " neuroscience"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "c46ec8cf18bf452d2c38be9891a0340435f7af11e4aa6195c9bb7c5be10e4276",
                "md5": "cad5b55c38c9352de246796232b65fa2",
                "sha256": "2de138d53c95184ba3df2bdb8096256f89b5518124bae286330c603693873abc"
            },
            "downloads": -1,
            "filename": "bdpy-0.25.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "cad5b55c38c9352de246796232b65fa2",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": "<3.12,>=3.6",
            "size": 127568,
            "upload_time": "2024-10-09T06:09:23",
            "upload_time_iso_8601": "2024-10-09T06:09:23.147107Z",
            "url": "https://files.pythonhosted.org/packages/c4/6e/c8cf18bf452d2c38be9891a0340435f7af11e4aa6195c9bb7c5be10e4276/bdpy-0.25.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "55db918170108762d6f4b25f09988835ac56ad6abb0ec1376427c4cf3d8b3a3d",
                "md5": "b376d199412ecdf168678d6d83d93a14",
                "sha256": "eee10e394b18aa80663b0e937bf5710ea734041f0cb63f39edb73be5d079a765"
            },
            "downloads": -1,
            "filename": "bdpy-0.25.1.tar.gz",
            "has_sig": false,
            "md5_digest": "b376d199412ecdf168678d6d83d93a14",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": "<3.12,>=3.6",
            "size": 97480,
            "upload_time": "2024-10-09T06:09:25",
            "upload_time_iso_8601": "2024-10-09T06:09:25.371932Z",
            "url": "https://files.pythonhosted.org/packages/55/db/918170108762d6f4b25f09988835ac56ad6abb0ec1376427c4cf3d8b3a3d/bdpy-0.25.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-10-09 06:09:25",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "KamitaniLab",
    "github_project": "bdpy",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "bdpy"
}
        
Elapsed time: 4.17233s