Name | neura-library JSON |
Version |
0.3.2
JSON |
| download |
home_page | None |
Summary | Utility tools for system neuroscience research, including Open Source Wrapper or Parser |
upload_time | 2024-11-01 17:27:58 |
maintainer | None |
docs_url | None |
author | None |
requires_python | >=3.9 |
license | BSD 3-Clause License Copyright (c) 2023, YT.WEI Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
keywords |
neuroscience
visual neuroscience
cellular imaging
brain mapping
spatial navigation
|
VCS |
|
bugtrack_url |
|
requirements |
No requirements were recorded.
|
Travis-CI |
No Travis.
|
coveralls test coverage |
No coveralls.
|
# neuralib
![PyPI - Python Version](https://img.shields.io/pypi/pyversions/neura-library)
[![PyPI version](https://badge.fury.io/py/neura-library.svg)](https://badge.fury.io/py/neura-library)
[![Downloads](https://static.pepy.tech/badge/neura-library)](https://pepy.tech/project/neura-library)
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
[![Document Status](https://readthedocs.org/projects/neuralib/badge/?version=latest)](https://neuralib.readthedocs.io/en/latest/index.html)
## Utility tools for rodent system neuroscience research, including Open Source Wrapper or Parser
## See the [Documentation ](https://neuralib.readthedocs.io/en/latest/index.html) and [Examples](doc/source/notebooks)
## Checkout [Release notes](https://github.com/ytsimon2004/neuralib/releases)
# Installation
- First, install common dependencies in the conda env with Python>=3.9 (>=3.11 not yet tested)
- `pip install neura-library`
- Install all dependencies using
- `pip install neura-library[all]`
- Install the minimal required dependencies according to usage purpose . For example:
- Choices
in `[]`: `atlas`, `scanner`, `calimg`, `segmentation`, `model`, `track`, `gpu`, `profile`, `imagelib`, `tools`,
`all`
- Use `atlas` module: `pip install neura-library[atlas]`
- Use `segmentation` module: `pip install neura-library[segmentation]`
- For developer for anyone want to contribute, run also:
- `pip install neura-library[dev]`
- Setup pre-commit by: `pre-commit install`
- Do dry run `ruff` lint check by: `ruff check .`
----------------------------
# Module
## atlas
- Module for whole brain, slice view visualization and rois classification
- `neuralib.atlas.ccf`: Customized hierarchical classification for the mouse brain atlas
- `neuralib.atlas.brainrender`: cli-based wrapper for [brainrender](https://github.com/brainglobe/brainrender)
- `neuralib.atlas.cellatlas`: Volume and cell types counts for each brain region, refer
to [Cell Atlas](https://portal.bluebrain.epfl.ch/resources/models/cell-atlas/)
- `neuralib.atlas.ibl`: Slice view plotting wrapper
for [ibllib](https://github.com/int-brain-lab/ibllib?tab=readme-ov-file)
and [iblatlas](https://int-brain-lab.github.io/iblenv/_autosummary/ibllib.atlas.html)
## calimg
- Module for 2photon calcium imaging acquisition and result parsing
- `neuralib.calimg.scan_image`: Data acquired from [ScanImage](https://www.mbfbioscience.com/products/scanimage/) (
under
DEV)
- `neuralib.calimg.scanbox`: Data acquired from [Scanbox](https://scanbox.org/tag/two-photon/)
- `neuralib.calimg.suite2p`: Result parser for [suite2p](https://github.com/MouseLand/suite2p)
- `neuralib.calimg.spikes`: dF/F to spike activity (OASIS/Cascade)
## segmentation
- Module for neuronal segmentation
- `neuralib.segmentation.cellpose`: Result Parser and batch running
for [cellpose](https://github.com/MouseLand/cellpose)
- `neuralib.segmentation.stardist`: Result Parser and batch running
for [stardist](https://github.com/stardist/stardist)
## model
- `neuralib.model.bayes_decoding`: Position decoding using population neuronal activity
- `neuralib.model.rastermap`: Run and result parser for [rastermap](https://github.com/MouseLand/rastermap)
## morpho
- Morphological reconstruction data presentation
## tracking
- Module for other open-source tools wrapper
- `neuralib.tracking.deeplabcut`: Result parser for [DeepLabCut](https://github.com/DeepLabCut/DeepLabCut)
- `neuralib.tracking.facemap`: Result parser for [facemap](https://github.com/MouseLand/facemap)
## Utilities Modules
- `neuralib.argp`: Use argparse as dataclass field
- `neuralib.persistence`: caching the analyzed results (i.e., concatenation for statistic purpose)
- `neuralib.bokeh_model`: Interactive dashboard visualization
- `neuralib.sqlp`: Python functions to build a SQL (sqlite3) statement.
- `neuralib.plot`: Module for general plotting purpose
- `neuralib.imglib`: Image processing library (under DEV)
- `neuralib.tools.gspread`: Google spreadsheet API wrapper for read/write
- `neuralib.tools.slack_bot`: Real-time slack notification bot for analysis pipeline
- `neuralib.util.cli_args`: run script as subprocess
- `neuralib.util.color_logging`: logging with color format
- `neuralib.util.gpu`: OS-dependent gpu info
- `neuralib.util.profile_test`: simple benchmark profile testing
- `neuralib.util.table`: rich table visualization
- `neuralib.util.segments`: Epoch or value segments
# CLI project.scripts
- `brender`: see examples in [api](https://neuralib.readthedocs.io/en/latest/api/neuralib.atlas.brainrender.html)
Raw data
{
"_id": null,
"home_page": null,
"name": "neura-library",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": null,
"keywords": "Neuroscience, visual neuroscience, cellular imaging, brain mapping, spatial navigation",
"author": null,
"author_email": "Yu-Ting Wei <ytsimon2004@gmail.com>, Ta-Shun Su <antoniost29@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/80/55/c2960fb0083bbdfa791600d65d8d607c47af74cd347b533a07315fcc2d43/neura_library-0.3.2.tar.gz",
"platform": null,
"description": "# neuralib\n\n![PyPI - Python Version](https://img.shields.io/pypi/pyversions/neura-library)\n[![PyPI version](https://badge.fury.io/py/neura-library.svg)](https://badge.fury.io/py/neura-library)\n[![Downloads](https://static.pepy.tech/badge/neura-library)](https://pepy.tech/project/neura-library)\n\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n[![Document Status](https://readthedocs.org/projects/neuralib/badge/?version=latest)](https://neuralib.readthedocs.io/en/latest/index.html)\n\n## Utility tools for rodent system neuroscience research, including Open Source Wrapper or Parser\n\n## See the [Documentation ](https://neuralib.readthedocs.io/en/latest/index.html) and [Examples](doc/source/notebooks)\n\n## Checkout [Release notes](https://github.com/ytsimon2004/neuralib/releases)\n\n# Installation\n\n- First, install common dependencies in the conda env with Python>=3.9 (>=3.11 not yet tested)\n - `pip install neura-library`\n\n- Install all dependencies using\n - `pip install neura-library[all]`\n\n- Install the minimal required dependencies according to usage purpose . For example:\n - Choices\n in `[]`: `atlas`, `scanner`, `calimg`, `segmentation`, `model`, `track`, `gpu`, `profile`, `imagelib`, `tools`,\n `all`\n - Use `atlas` module: `pip install neura-library[atlas]`\n - Use `segmentation` module: `pip install neura-library[segmentation]`\n\n- For developer for anyone want to contribute, run also:\n - `pip install neura-library[dev]`\n - Setup pre-commit by: `pre-commit install`\n - Do dry run `ruff` lint check by: `ruff check .`\n\n----------------------------\n\n# Module\n\n## atlas\n\n- Module for whole brain, slice view visualization and rois classification\n - `neuralib.atlas.ccf`: Customized hierarchical classification for the mouse brain atlas\n - `neuralib.atlas.brainrender`: cli-based wrapper for [brainrender](https://github.com/brainglobe/brainrender)\n - `neuralib.atlas.cellatlas`: Volume and cell types counts for each brain region, refer\n to [Cell Atlas](https://portal.bluebrain.epfl.ch/resources/models/cell-atlas/)\n - `neuralib.atlas.ibl`: Slice view plotting wrapper\n for [ibllib](https://github.com/int-brain-lab/ibllib?tab=readme-ov-file)\n and [iblatlas](https://int-brain-lab.github.io/iblenv/_autosummary/ibllib.atlas.html)\n\n## calimg\n\n- Module for 2photon calcium imaging acquisition and result parsing\n - `neuralib.calimg.scan_image`: Data acquired from [ScanImage](https://www.mbfbioscience.com/products/scanimage/) (\n under\n DEV)\n - `neuralib.calimg.scanbox`: Data acquired from [Scanbox](https://scanbox.org/tag/two-photon/)\n - `neuralib.calimg.suite2p`: Result parser for [suite2p](https://github.com/MouseLand/suite2p)\n - `neuralib.calimg.spikes`: dF/F to spike activity (OASIS/Cascade)\n\n## segmentation\n\n- Module for neuronal segmentation\n - `neuralib.segmentation.cellpose`: Result Parser and batch running\n for [cellpose](https://github.com/MouseLand/cellpose)\n - `neuralib.segmentation.stardist`: Result Parser and batch running\n for [stardist](https://github.com/stardist/stardist)\n\n## model\n\n- `neuralib.model.bayes_decoding`: Position decoding using population neuronal activity\n\n- `neuralib.model.rastermap`: Run and result parser for [rastermap](https://github.com/MouseLand/rastermap)\n\n## morpho\n\n- Morphological reconstruction data presentation\n\n## tracking\n\n- Module for other open-source tools wrapper\n - `neuralib.tracking.deeplabcut`: Result parser for [DeepLabCut](https://github.com/DeepLabCut/DeepLabCut)\n\n - `neuralib.tracking.facemap`: Result parser for [facemap](https://github.com/MouseLand/facemap)\n\n## Utilities Modules\n\n- `neuralib.argp`: Use argparse as dataclass field\n\n- `neuralib.persistence`: caching the analyzed results (i.e., concatenation for statistic purpose)\n\n- `neuralib.bokeh_model`: Interactive dashboard visualization\n\n- `neuralib.sqlp`: Python functions to build a SQL (sqlite3) statement.\n\n- `neuralib.plot`: Module for general plotting purpose\n\n- `neuralib.imglib`: Image processing library (under DEV)\n\n- `neuralib.tools.gspread`: Google spreadsheet API wrapper for read/write\n\n- `neuralib.tools.slack_bot`: Real-time slack notification bot for analysis pipeline\n\n- `neuralib.util.cli_args`: run script as subprocess\n\n- `neuralib.util.color_logging`: logging with color format\n\n- `neuralib.util.gpu`: OS-dependent gpu info\n\n- `neuralib.util.profile_test`: simple benchmark profile testing\n\n- `neuralib.util.table`: rich table visualization\n\n- `neuralib.util.segments`: Epoch or value segments\n\n# CLI project.scripts\n\n- `brender`: see examples in [api](https://neuralib.readthedocs.io/en/latest/api/neuralib.atlas.brainrender.html)\n",
"bugtrack_url": null,
"license": "BSD 3-Clause License Copyright (c) 2023, YT.WEI Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.",
"summary": "Utility tools for system neuroscience research, including Open Source Wrapper or Parser",
"version": "0.3.2",
"project_urls": {
"Documentation": "https://neuralib.readthedocs.io/en/latest/index.html",
"Homepage": "https://github.com/ytsimon2004/neuralib",
"Issues": "https://github.com/ytsimon2004/neuralib/issues",
"Repository": "https://github.com/ytsimon2004/neuralib"
},
"split_keywords": [
"neuroscience",
" visual neuroscience",
" cellular imaging",
" brain mapping",
" spatial navigation"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "9375a51c471054c4f5a9474f701242f90044df9fa0395815053f128559b80f90",
"md5": "e93ebcf6fed968696c5c9db8d0877712",
"sha256": "5b22750161c5e233a46173ac9abd7a1285d594c0cdbbc8e9cfb0c498b779db06"
},
"downloads": -1,
"filename": "neura_library-0.3.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "e93ebcf6fed968696c5c9db8d0877712",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 269828,
"upload_time": "2024-11-01T17:27:56",
"upload_time_iso_8601": "2024-11-01T17:27:56.848261Z",
"url": "https://files.pythonhosted.org/packages/93/75/a51c471054c4f5a9474f701242f90044df9fa0395815053f128559b80f90/neura_library-0.3.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "8055c2960fb0083bbdfa791600d65d8d607c47af74cd347b533a07315fcc2d43",
"md5": "8abc233713445b11a1c23a7d2986eeff",
"sha256": "14783d7f32d5e79fdfcf828662af9524821fbf2c96946edc2c372fdab992095b"
},
"downloads": -1,
"filename": "neura_library-0.3.2.tar.gz",
"has_sig": false,
"md5_digest": "8abc233713445b11a1c23a7d2986eeff",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 215992,
"upload_time": "2024-11-01T17:27:58",
"upload_time_iso_8601": "2024-11-01T17:27:58.564037Z",
"url": "https://files.pythonhosted.org/packages/80/55/c2960fb0083bbdfa791600d65d8d607c47af74cd347b533a07315fcc2d43/neura_library-0.3.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-01 17:27:58",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "ytsimon2004",
"github_project": "neuralib",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "neura-library"
}