Show3DSlices#
Show3DSlices lays slices of a volume side by side across an axis, with a synced crosshair, so you can read out depth structure at a glance instead of scrubbing one slice at a time.
Tip
Run this exact notebook with the Colab badge above, or View or download this notebook on GitHub. For finished results, use HTML and file export to export interactive HTML or share a trusted notebook with widget state.
((24, 256, 256), dtype('float32'))
Slices across depth#
Pass the stack with depth and lateral calibration so Show3DSlices can draw calibrated scale bars. The crosshair links the panels; move it on one to see the same position on all.
from quantem.widget import Show3DSlices
Show3DSlices(
volume,
sampling=(0.3, 0.18, 0.18),
units=("nm", "nm", "nm"),
title="Synthetic object phase",
)