Skip to main content

Utility tools for system neuroscience research, including Open Source Wrapper or Parser

Project description

neuralib

Document Status PyPI - Python Version PyPI version Downloads

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.0 (for common dependencies)

    • pip install neura-library
  • Install all dependencies using

    • pip install neural-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 neural-library[atlas]
    • Use segmentation module: pip install neural-library[segmentation]

Open-Source tools API call / data parsing

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
    • neuralib.atlas.cellatlas: Volume and cell types counts for each brain region, refer to Cell Atlas
    • neuralib.atlas.ibl: Slice view plotting wrapper for ibllib and iblatlas

calimg

  • Module for 2photon calcium imaging acquisition and result parsing
    • neuralib.calimg.scan_image: Data acquired from ScanImage ( under DEV)
    • neuralib.calimg.scanbox: Data acquired from Scanbox
    • neuralib.calimg.suite2p: Result parser for suite2p
    • neuralib.calimg.spike: dF/F to spike activity (OASIS/Cascade)

segmentation

  • Module for neuronal segmentation
    • neuralib.segmentation.cellpose: Result Parser and batch running for cellpose
    • neuralib.segmentation.stardist: Result Parser and batch running for stardist

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.csv: csv context manager

  • neuralib.util.gpu: OS-dependent gpu info

  • neuralib.util.profile_test: simple benchmark profile testing

  • neuralib.util.table: rich table visualization

CLI project.scripts

  • brender: see examples in api

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neura_library-0.2.4.tar.gz (200.5 kB view details)

Uploaded Source

Built Distribution

neura_library-0.2.4-py3-none-any.whl (252.7 kB view details)

Uploaded Python 3

File details

Details for the file neura_library-0.2.4.tar.gz.

File metadata

  • Download URL: neura_library-0.2.4.tar.gz
  • Upload date:
  • Size: 200.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.1.1 CPython/3.9.19

File hashes

Hashes for neura_library-0.2.4.tar.gz
Algorithm Hash digest
SHA256 e9b04780154d29b10ccd2b59af8779a7d5cfdd7bb297a6d7252caf21e1df61c9
MD5 c8075ed1021e334f86cde17684ad3535
BLAKE2b-256 28d4deeed89788b477aac31e5abc44c59b95c954223afc3c1fc555010170e470

See more details on using hashes here.

Provenance

File details

Details for the file neura_library-0.2.4-py3-none-any.whl.

File metadata

File hashes

Hashes for neura_library-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0091eaac0b8577fa1b0ce9ec382797fc5bf6969ec6ddb630f18515d76385d0f1
MD5 06fd8225a7f1b7b03d9e2453cfeae36a
BLAKE2b-256 627edaa2a3513fd25dd26afc336577dbbc551432b55d9985f7412c6df5dfd75e

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page