Busabase
Busabase is an open-source (MIT) database and workspace for AI agents — data, docs, skills, and apps in one place. Run it locally, self-host it inside your network, or use Busabase Cloud, and turn age
Read and process microscopy data, create multiscale OME‑Zarr files, and apply corrections
AI summary · website content
DataPython · DockerfileGitHub @embl-mifOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗ZarrSmith is a Python package for reading microscopy datasets from multiple acquisition systems, building multiscale pyramids, writing OME-NGFF / OME-Zarr, and working with those datasets from Python, the command line and napari.
The rendered documentation is at embl-mif.github.io/zarrsmith.
[!NOTE] ZarrSmith was called PyMIF up to version 0.5.5. From 0.6.0, import
zarrsmithand run thezarrsmithcommand instead ofpymif. The Docker images of PyMIF stay available atghcr.io/embl-mif/pymif:<version>; newer images are atghcr.io/embl-mif/zarrsmith.
tczyx axes. → Python APIconda create -n zarrsmith python=3.12
conda activate zarrsmith
pip install zarrsmith
Optional extras:
pip install "zarrsmith[napari]" # napari widgets
pip install "zarrsmith[notebooks]" # Jupyter, to run the example notebooks
pip install "zarrsmith[dev]" # tests and packaging
pip install "zarrsmith[docs]" # documentation build
pip install "zarrsmith[all]" # all of the above
Extras can be combined, e.g. pip install "zarrsmith[napari,notebooks]".
Installing from source, development installs, versioning and releases: Installation and versioning.
import zarrsmith.microscope_manager as mm
source = mm.ViventisManager("path/to/Position_1") # any microscope manager
source.build_pyramid(num_levels=3)
source.to_zarr("output.zarr") # NGFF v0.5 / Zarr v3
z = mm.ZarrManager("output.zarr")
z.visualize() # open in napari
zarrsmith convert -i INPUT_PATH -m MICROSCOPE -z OUTPUT_ZARR
zarrsmith fuse -i ACQUISITION_FOLDER -z OUTPUT_ZARR -rds 4 8 8 # fuse raw tiles
zarrsmith chromatic-shift -i INPUT_ZARR -z OUTPUT_ZARR -r shift.json # align channels in Z
zarrsmith resample -i INPUT_ZARR -z OUTPUT_ZARR -ps 1 0.5 0.5 # change the pixel size (Z Y X)
Getting started
| Page | Contents |
|---|---|
| Installation and versioning | environments, extras, release labels |
| Readers and conventions | supported microscopes, shared reader behaviour, logging |
Working with data
| Page | Contents |
|---|---|
| Python API | export, empty datasets, axis-aware metadata, labels, region writes |
| Mosaics | raw tiles, placement check, fusion options, timelapses |
| Chromatic shift correction | measuring the Z offset between channels, the corrected dataset, checking the result, zarrsmith chromatic-shift |
| Advanced writing options | sharding, singleton axes, parallel writing, progress bar |
Interfaces
| Page | Contents |
|---|---|
| Command line | zarrsmith convert, zarrsmith fuse, zarrsmith chromatic-shift, zarrsmith resample (one dataset or a CSV batch) |
| Napari plugin | converter, mosaic fusion and objects explorer widgets |
Reference
| Page | Contents |
|---|---|
| API reference | generated from the docstrings |
| Contributing | package layout, adding a microscope manager or a mosaic manager, zarrsmith.utils, documentation |
For questions or bug reports, open an issue on GitHub, or contact the current maintainers.
[!IMPORTANT] If ZarrSmith contributes to your work, please acknowledge ZarrSmith and the EMBL Mesoscopic Imaging Facility in your publications.