Skip to content

User Guide

How PtyLab.py works: the two ptychography modes, the input data, the engines and their settings.

  • CPM Overview Conventional ptychography and how a CPM reconstruction is set up.
  • FPM Overview Fourier ptychography with an LED array and how it maps onto the same framework.
  • Data Format The HDF5 fields PtyLab.py reads, with types and units.
  • Engines The available reconstruction algorithms and when to use each.
  • Parameter Reference Every Params setting shared by the engines.
  • Differentiable Ptychography Gradient-based reconstruction with the optional PyTorch GradientEngine. Work in progress.

Learn by example

The Examples run these pieces end-to-end on simulated and real data. The API Reference documents each class and function.