Welcome to NeuraLib’s documentation!

API Reference

Installation

Installation

Release Notes

Modules

neuralib.atlas

Module for whole brain, slice view visualization and rois classification

neuralib.imaging

Module for 2-photon calcium imaging acquisition and result parsing

neuralib.segmentation

Module for neuronal segmentation

neuralib.locomotion

Module for handle animal’s locomotion

neuralib.model

neuralib.morpho

Morphological reconstruction data presentation

neuralib.tracking

Utilities Modules

neuralib.argp

  • Use argparse as dataclass field

neuralib.persistence

  • Caching the analyzed results (i.e., concatenation for statistic purpose)

neuralib.sqlp

  • Python functions to build a SQL (sqlite3) statement.

neuralib.dashboard

  • Interactive dashboard visualization

neuralib.plot

  • Module for general plotting purpose

neuralib.imglib

  • Image processing library

neuralib.io

  • File IO and example dataset

neuralib.tools.gspread

  • Google spreadsheet API wrapper for read/write

neuralib.tools.slack_bot

  • Real-time Slack notification bot for analysis pipeline

neuralib.util.color_logging

  • Logging with color format

neuralib.util.gpu

  • OS-dependent GPU info

neuralib.util.profile

  • Simple benchmark profile testing and debugging

neuralib.util.table

  • Rich table visualization

neuralib.util.segments

  • Epoch or value segments

CLI project.scripts

neuralib_brainrender

  • See examples in api

neuralib_brainrender -h

neuralib_widefield

  • See example in api

neuralib_widefield -h

Doc for Array type

  • Array[DType, [*Shape]]

  • DType = array datatype. Shape = array shape. | = Union

Example

  • int or bool with (N,3) array -> Array[int|bool, [N, 3]]

  • float array with union shape (N,2) or (N,T,2) -> Array[float, [N, 2]|[N, T, 2]]

Notebook Example

Indices and tables