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
conda environment
- Create and activate a new conda environment (Python >=3.9, but >=3.11 not yet tested), then install:
conda create -n neuralib python=3.9
conda activate neuralib
pip install neura-library
- If you wish to install all dependencies, run:
pip install neura-library[all]
- If you wish to install the minimal required dependencies according to usage purpose:
Choices in []: atlas, scanner, calimg, segmentation, model, track, gpu, profile, imagelib, tools, full Example of using the atlas module:
pip install neura-library[atlas]
- If installing in developer mode (Install pre-commit and linter check by ruff)
pip install neura-library[dev]
pre-commit install
ruff check .
uv virtual environment
- Install uv, run in Unix or git bash (Windows):
curl -LsSf https://astral.sh/uv/install.sh | sh
- Follow uv project structure doc:
uv init
- Make sure python version (>=3.9, but >=3.11 not yet tested), both in
pyproject.pyand.python-version
uv python install 3.9
- If you wish to install all dependencies, run:
uv add neura-library[all]
- If you wish to install the minimal required dependencies according to usage purpose:
Choices in []: atlas, scanner, calimg, segmentation, model, track, gpu, profile, imagelib, tools, full Example of using the atlas module:
uv add neura-library[atlas]
- If installing in developer mode (Install pre-commit and linter check by ruff)
uv add neura-library[dev]
pre-commit install
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
morpho
- Morphological reconstruction data presentation
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file neura_library-0.3.5.tar.gz.
File metadata
- Download URL: neura_library-0.3.5.tar.gz
- Upload date:
- Size: 218.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
077bce22de989d44b6be0c7523d6cdac4c98254968a3a1160bf0a5ca37233217
|
|
| MD5 |
03120c6b567e5d3d0a4b74233461edce
|
|
| BLAKE2b-256 |
101f7e83a2b0938e379b492f8d2414e4032b7c1f21aaa225d1d66366a8cb6ace
|
Provenance
The following attestation bundles were made for neura_library-0.3.5.tar.gz:
Publisher:
python-publish.yml on ytsimon2004/neuralib
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
neura_library-0.3.5.tar.gz -
Subject digest:
077bce22de989d44b6be0c7523d6cdac4c98254968a3a1160bf0a5ca37233217 - Sigstore transparency entry: 168054805
- Sigstore integration time:
-
Permalink:
ytsimon2004/neuralib@c4472f4c31582c9a7b5002827b38122abf6b23e7 -
Branch / Tag:
refs/tags/v0.3.5 - Owner: https://github.com/ytsimon2004
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@c4472f4c31582c9a7b5002827b38122abf6b23e7 -
Trigger Event:
push
-
Statement type:
File details
Details for the file neura_library-0.3.5-py3-none-any.whl.
File metadata
- Download URL: neura_library-0.3.5-py3-none-any.whl
- Upload date:
- Size: 273.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ebdce61b345e0ca537a1051d7b18be00757e87e9270cf740f8f9f1ad10b2b3cb
|
|
| MD5 |
57703beb6843c4a3bd9d3beb0c404202
|
|
| BLAKE2b-256 |
1957cd90321197080f388eebefc6804ff731f51e3428ff03e0848259781b010e
|
Provenance
The following attestation bundles were made for neura_library-0.3.5-py3-none-any.whl:
Publisher:
python-publish.yml on ytsimon2004/neuralib
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
neura_library-0.3.5-py3-none-any.whl -
Subject digest:
ebdce61b345e0ca537a1051d7b18be00757e87e9270cf740f8f9f1ad10b2b3cb - Sigstore transparency entry: 168054807
- Sigstore integration time:
-
Permalink:
ytsimon2004/neuralib@c4472f4c31582c9a7b5002827b38122abf6b23e7 -
Branch / Tag:
refs/tags/v0.3.5 - Owner: https://github.com/ytsimon2004
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
python-publish.yml@c4472f4c31582c9a7b5002827b38122abf6b23e7 -
Trigger Event:
push
-
Statement type: