Utility tools for system neuroscience research, including Open Source Wrapper or Parser
Project description
neuralib
Utility tools for rodent system neuroscience research, including Open Source Wrapper or Parser
See the Documentation and Examples
Checkout Release notes
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]
- Choices
in
-
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 atlasneuralib.atlas.brainrender
: cli-based wrapper for brainrenderneuralib.atlas.cellatlas
: Volume and cell types counts for each brain region, refer to Cell Atlasneuralib.atlas.ibl
: Slice view plotting wrapper for ibllib and iblatlas
calimg
- Module for 2photon calcium imaging acquisition and result parsing
segmentation
- Module for neuronal segmentation
model
-
neuralib.model.bayes_decoding
: Position decoding using population neuronal activity -
neuralib.model.rastermap
: Run and result parser for rastermap
tracking
- Module for other open-source tools wrapper
-
neuralib.tracking.deeplabcut
: Result parser for DeepLabCut -
neuralib.tracking.facemap
: Result parser for 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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file neura_library-0.3.1.tar.gz
.
File metadata
- Download URL: neura_library-0.3.1.tar.gz
- Upload date:
- Size: 212.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ce76dc45d89c8c998b6342ea7a2428b8cfb59cbb976b5545eb50d7cc9b4ac8fb |
|
MD5 | 0649f24482db3a6e2f9ada81a0e37d09 |
|
BLAKE2b-256 | 82f11b0a17ae68e48588d47056417a1d142b4b78317a7ee2fb00f9460cc2d131 |
Provenance
File details
Details for the file neura_library-0.3.1-py3-none-any.whl
.
File metadata
- Download URL: neura_library-0.3.1-py3-none-any.whl
- Upload date:
- Size: 265.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.9.20
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 309950552e579905b8e67e643d582eb28ffc4eb3584a4e41db379a49872a8f71 |
|
MD5 | a2927cc109e621c2f43b6ba1949791c6 |
|
BLAKE2b-256 | 7f5dbf06604d6cd3b8599e0c2e3384ba05c5944c9546ae91e9613768082c12e6 |