Skip to main content

Light Beads Microscopy Pipeline using Suite2p

Project description

LBM-Suite2p-Python

Status: Late-beta stage of development

Documentation

PyPI - Version DOI

A volumetric 2-photon calcium imaging processing pipeline for Light Beads Microscopy (LBM) datasets, built on Suite2p.

A GUI is available via mbo_utilities (GUI functionality will lag behind this pipeline).

Quick Start

See the installation documentation for GUI dependencies and troubleshooting.

uv pip install lbm_suite2p_python

Basic Usage

import lbm_suite2p_python as lsp

ops = {"two_step_registration": 1}
files = [
    r"D://demo//plane05_stitched.zarr",
    r"D://demo//plane06_stitched.zarr",
]

# Process entire volume
output_ops = lsp.run_volume(
    input_files=files,
    save_path=None,     # save next to tiffs
    ops=ops,
    keep_reg=True,      # Keep registered binaries
    force_reg=False,    # Skip if already registered
    force_detect=False  # Skip if stat.npy exists
)

Process a single plane:

ops_file = lsp.run_plane(
    input_path=files[0],
    save_path=None,
    ops=ops,
    keep_raw=False,  # Delete data_raw.bin after processing
    keep_reg=True    # Keep data.bin (registered binary)
)

Documentation

Built With

This pipeline integrates several open-source tools:

Issues & Support

Contributing

Contributions are welcome! This project follows Suite2p's conventions and uses:

  • Ruff for linting and formatting (line length: 88, numpy docstring style)
  • pytest for testing
  • Sphinx for documentation

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

lbm_suite2p_python-2.2.0.tar.gz (49.6 kB view details)

Uploaded Source

Built Distribution

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

lbm_suite2p_python-2.2.0-py3-none-any.whl (51.1 kB view details)

Uploaded Python 3

File details

Details for the file lbm_suite2p_python-2.2.0.tar.gz.

File metadata

  • Download URL: lbm_suite2p_python-2.2.0.tar.gz
  • Upload date:
  • Size: 49.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.2

File hashes

Hashes for lbm_suite2p_python-2.2.0.tar.gz
Algorithm Hash digest
SHA256 e9cdf28a51d410ac0556f3a10f1293966faa9dfd4d3dc33615a559544294bf52
MD5 4eee190d3d4cc64fcc5fff792843041b
BLAKE2b-256 4d00d6e473a63f1760607349ff8b8039f0114e88f05907d91af6fd966ef592d3

See more details on using hashes here.

File details

Details for the file lbm_suite2p_python-2.2.0-py3-none-any.whl.

File metadata

File hashes

Hashes for lbm_suite2p_python-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 de2f1ad5fb00ff886221cd41a47d74727dc979affd4652ec7b5b48c0c901b1ee
MD5 6cab072313447ed894351528a3c95462
BLAKE2b-256 2a96968f96a3d1f4187e413784f809d30caa621e060b0288275ed89b7fa12449

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