Skip to main content

Parsers for output from open-source packages or specific devices

Project description

neuralib-parser

Data parsers for neuroscience research tools and file formats, providing unified interfaces for segmentation, morphology, imaging, tracking, and confocal microscopy data.

Overview

neuralib-parser provides Python parsers and data structures for output from open-source packages and specific imaging devices. It includes:

  • Segmentation: Cellpose, StarDist cell segmentation
  • Morphology: SWC neuron morphology files
  • Imaging: Suite2p, Scanbox data formats
  • Tracking: DeepLabCut, Facemap behavioral tracking
  • Confocal Scans: Zeiss CZI, LSM file formats

Installation

From PyPI

pip install neuralib-parser

With Optional Dependencies

# StarDist support (requires numpy<2.0)
pip install neuralib-parser[stardist]

# Suite2p integration
pip install neuralib-parser[suite2p]

# Zeiss CZI format support
pip install neuralib-parser[czi]

# Scanbox reader
pip install neuralib-parser[sbx]

# All features (excludes stardist due to numpy<2.0 constraint)
pip install neuralib-parser[all]

From Source (uv recommended)

git clone https://github.com/ytsimon2004/neuralib2.git
cd neuralib2/packages/neuralib-parser
uv pip install -e .        # Basic installation
uv pip install -e ".[all]" # With optional features

Requirements

  • Python 3.11 or 3.12
  • Core dependencies: neuralib-utils, numpy
  • See pyproject.toml for optional dependencies

Documentation

Important Notes

StarDist and NumPy 2.0

StarDist requires numpy<2.0 due to upstream compatibility. The stardist extra explicitly pins this constraint:

License

BSD 3-Clause License. See LICENSE file for details.

Contributing

Contributions are welcome! Please:

  1. Fork the repository
  2. Create a feature branch
  3. Submit a pull request with clear description

For bug reports and feature requests, use the GitHub issue tracker.

Acknowledgments

This package provides interfaces to:

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

neuralib_parser-0.7.0.tar.gz (39.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

neuralib_parser-0.7.0-py3-none-any.whl (43.2 kB view details)

Uploaded Python 3

File details

Details for the file neuralib_parser-0.7.0.tar.gz.

File metadata

  • Download URL: neuralib_parser-0.7.0.tar.gz
  • Upload date:
  • Size: 39.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for neuralib_parser-0.7.0.tar.gz
Algorithm Hash digest
SHA256 b6d617e9236bf47966c45bb4657bb3a7efd8a0ccede4499ad091f75307138eba
MD5 8640e15bb90225678c3d45aabe6ee120
BLAKE2b-256 99a74e62fa1a1d731dcdcf5ae2dc0b5a88b645f50ba34f216f26793eeb45c303

See more details on using hashes here.

File details

Details for the file neuralib_parser-0.7.0-py3-none-any.whl.

File metadata

  • Download URL: neuralib_parser-0.7.0-py3-none-any.whl
  • Upload date:
  • Size: 43.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.9.24 {"installer":{"name":"uv","version":"0.9.24","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for neuralib_parser-0.7.0-py3-none-any.whl
Algorithm Hash digest
SHA256 cd3a359ee0996cbbc3c3c9116e2d5678556e31892a13777ea414f7b54ce9c8a7
MD5 8719cfccb5c303cb7f5dc8505989ed31
BLAKE2b-256 5c41111aafe0a0a4ec44796e17bbfcc2890d5a17e106089c14b7b88a5437d44a

See more details on using hashes here.

Supported by

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