Skip to main content

bcf-scape

bcf-scape is a modular Python library for processing SCAPE light-sheet microscopy data: deskewing OME-TIFF stacks, computing Z / Y max-projections, and batch-processing multi-position / multi-timepoint acquisitions.

GPU-accelerated via pyclesperanto.

Developed and maintained by the Scientific Computing Facility at MPI-CBG.

Installation

pip install bcf-scape

The package imports as scape:

import scape

Quick start

Command line

python -m scape.pipeline \
    --settings settings.toml \
    --tiff     /data/raw/scan.ome.tif \
    --output   /data/processed/Deskewed/

or via the console script:

scape --help

Python API

from scape.config.settings import load_settings_from_file
from scape.pipeline import run

settings = load_settings_from_file("settings.toml")
run(settings, "/data/raw/scan.ome.tif", "/data/processed/Deskewed/")

TOML configuration

ProcessingSettings round-trips to a human-readable TOML file:

from scape.config.settings import ProcessingSettings

settings = ProcessingSettings()
settings.lightsheet_angle_in_degrees = 39
settings.save_toml("my_run.toml")

# Later …
settings = ProcessingSettings.load_toml("my_run.toml")

Modules

Module Responsibility
scape.pipeline End-to-end deskewing pipeline (CLI entry point)
scape.config.settings ProcessingSettings + TOML I/O
scape.metadata.parser OME-TIFF metadata extraction
scape.preprocessing.image_handler Channel/timepoint selection, dual-camera flips
scape.processing.deskew_engine Deskewing primitives
scape.batch.processor Multi-position / multi-timepoint orchestration
scape.output.saver TIFF writing helpers
scape.visualization.viewer Interactive Jupyter previews

Citation

If this package contributes to a publication, please acknowledge the Scientific Computing Facility at MPI-CBG. Contact scicomp@mpi-cbg.de for the formal citation entry.

Links

License

BSD-3-Clause. See LICENSE.

Copyright © 2026 Max Planck Institute of Molecular Cell Biology and Genetics (MPI-CBG).

Download files

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

Source Distribution

bcf_scape-0.1.2.tar.gz (28.1 kB view details)

Uploaded Source

Built Distribution

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

bcf_scape-0.1.2-py3-none-any.whl (33.7 kB view details)

Uploaded Python 3

File details

Details for the file bcf_scape-0.1.2.tar.gz.

File metadata

  • Download URL: bcf_scape-0.1.2.tar.gz
  • Upload date:
  • Size: 28.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.1

File hashes

Hashes for bcf_scape-0.1.2.tar.gz
Algorithm Hash digest
SHA256 c93c2323aa0bf2fba4cb6169bd2ec64f047b814ef1b13996f21c11dde6422625
MD5 4cbf2ced4ef5aaf824cebe534d4bcfe3
BLAKE2b-256 3341a2b660fea1bf802e892658315bc794a0488574382156f60d93c3c5fa899f

See more details on using hashes here.

File details

Details for the file bcf_scape-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: bcf_scape-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 33.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.9.1

File hashes

Hashes for bcf_scape-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c478814ee70453dffdf0f9f34920995eb28a43e12e24bdc1b625c1f88ce6e130
MD5 caf7625b4c0dd306f100d7dcde5b8a4d
BLAKE2b-256 2ed8fb9da2b347c989d455f7f62642abaf57cdc0143f98a0d1bb9d1ec8b54f9a

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.4

2 files

0.1.3

2 files

This release

0.1.2 This release

2 files

0.1.1

2 files

0.1.0

2 files

Supported by

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