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
Metadata
Release files for pandorica 1.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pandorica-1.5.0.tar.gz | 226.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pandorica-1.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 425.1 kB
Release files / pandorica-1.5.0.tar.gz
| Download URL | pandorica-1.5.0.tar.gz |
|---|---|
| Size | 226.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
88b1e3b84be3343d164ecd865e1a9174a5986dad19b80a974c16ee9945a8777f
|
|
BLAKE2b-256 checksum How to use checksums |
d5a3f576bc23ea66218fe02d060641c97e16a0881bfcbf92192bf617f508e5d0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.0
|
Release files / pandorica-1.5.0-py3-none-any.whl
| Download URL | pandorica-1.5.0-py3-none-any.whl |
|---|---|
| Size | 199.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
88d784aabc2083ca07b83455da600300664dd1cc3438c5f5ecd0aeecd291f29c
|
|
BLAKE2b-256 checksum How to use checksums |
de52764e262dd0b7c50c43e03096c0b47184a5b8112066b976d036ec825798ed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.13.0
|