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).
Metadata
Release files for bcf-scape 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| bcf_scape-0.1.4.tar.gz | 30.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| bcf_scape-0.1.4-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 67.3 kB
Release files / bcf_scape-0.1.4.tar.gz
| Download URL | bcf_scape-0.1.4.tar.gz |
|---|---|
| Size | 30.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
89214f67e4d6a5512eddaf38c8b33be40e7d6cda34d0244d4d6080894b3c9acd
|
|
BLAKE2b-256 checksum How to use checksums |
35a5bb0332588bccfaabf360e82c8da46b644d184d99778c93f605185261767b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.1
|
Release files / bcf_scape-0.1.4-py3-none-any.whl
| Download URL | bcf_scape-0.1.4-py3-none-any.whl |
|---|---|
| Size | 36.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4051821038d64dd281e01a41def0af0f3dcef6ec522b050cb984a763c4ae238e
|
|
BLAKE2b-256 checksum How to use checksums |
1838e02430cb0067cf5e460aa649805ac9ea7d31c510df30ffc87f2b8351c2e3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.9.1
|