Widgets#

quantem.widget provides eleven interactive widgets for electron microscopy visualization and workflow operations.

Visualization widgets support:

  • NumPy, CuPy, and PyTorch arrays as input

  • Automatic light/dark theme detection

  • Zoom and pan with mouse scroll and drag

  • Colormaps: inferno, viridis, plasma, magma, hot, gray

  • State persistencesummary(), state_dict(), save(path), state= constructor param

Workflow widgets:

  • Bin for calibration-aware 4D-STEM binning