Analytical tools for cryo-electron microscopy (stitching + napari validator).
Project description
PANDORICA
Analytical tools for electron microscopy.
Bundled tools
pandorica.stitch— serial-section tomogram stitcher: image-driven coarse→fine alignment — the image fixes each section's global pose (rotation, shift, anisotropic stretch) and the microtubules drive only the fine residual warp — with a diffeomorphism-guarded TPS warp, global pose solve, and CPU/GPU volume export. Falls back to an MT-only pose solve when volumes are absent. Plain-language tour:HOW_IT_WORKS.md. Dense reference:pandorica/stitch/README.md.pandorica.napari— napari plugin: visually validate the stitcher on real datasets and record coarse-alignment ground truth by hand.
Install
pip install pandorica # core stitcher + CLI
pip install "pandorica[napari]" # add the napari validator widgets
Use
python -m pandorica.stitch.cli <input_dir>
from pandorica.stitch.cli import run_stitch
run_stitch("path/to/sections") # writes <input_dir>/stitched_output/
If tardis_em is also installed, the same entry point is exposed as the
tardis_stitch console script.
Citation
If pandorica contributes to a publication or presentation, please cite the
software:
@software{kiewisz_pandorica_2026,
author = {Kiewisz, Robert},
title = {pandorica: analytical tools for electron microscopy},
year = {2026},
version = {1.0.3},
url = {https://github.com/RRobert92/pandorica},
license = {PolyForm-Noncommercial-1.0.0}
}
Related prior work (scholarly context; not required by pandorica's license)
Pandorica's stitcher is a from-scratch Python reimplementation in the serial-section EM lineage; it does not include code from these projects. Citing them is a scholarly courtesy when positioning your work, not a legal obligation imposed by pandorica:
- Lindow et al., Journal of Microscopy (2021), SerialSectionAligner — doi:10.1111/jmi.13039
- Weber et al., PLoS ONE (2014), microtubulestitching
See pandorica/stitch/README.md for full author
lists and the wider related-work list (IMOD, msemalign, Okapi-EM, …).
License
PolyForm Noncommercial License 1.0.0 — free for research, study, and use by educational, public-research, charitable, public-health, environmental, and government institutions, regardless of funding source. Commercial use requires a separate license; see COMMERCIAL.md to request one. Full terms in LICENSE.
Contributions require a Developer Certificate of Origin sign-off — see CONTRIBUTING.md.
Contact
Robert Kiewisz — robert.kiewisz@gmail.com
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pandorica-1.5.0.tar.gz.
File metadata
- Download URL: pandorica-1.5.0.tar.gz
- Upload date:
- Size: 226.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88b1e3b84be3343d164ecd865e1a9174a5986dad19b80a974c16ee9945a8777f
|
|
| MD5 |
5306c42899514721556c0f19c1b20ded
|
|
| BLAKE2b-256 |
d5a3f576bc23ea66218fe02d060641c97e16a0881bfcbf92192bf617f508e5d0
|
File details
Details for the file pandorica-1.5.0-py3-none-any.whl.
File metadata
- Download URL: pandorica-1.5.0-py3-none-any.whl
- Upload date:
- Size: 199.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
88d784aabc2083ca07b83455da600300664dd1cc3438c5f5ecd0aeecd291f29c
|
|
| MD5 |
429d6040d64e6400b7c4c896e4d4d15b
|
|
| BLAKE2b-256 |
de52764e262dd0b7c50c43e03096c0b47184a5b8112066b976d036ec825798ed
|