How the stored diffraction counts arise
The known probe and positions define each patch of the exit wave. Because the detector samples the complete discrete pattern, a unit-modulus object conserves the expected number of electrons.
E39 · Electron wavefront
What do overlapping probe positions add to a set of diffraction patterns? Redundancy. A diffraction pattern records intensity and loses the phase. When neighboring probe positions overlap, each part of the object shows up in several patterns. An iterative algorithm adjusts a phase guess until it agrees with all of them, which can recover the lost phase, though not always uniquely.
Record a diffraction pattern at every position of an overlapping scan, then refine a phase estimate over repeated iterations against the stored counts.
Physics tutorial
BackgroundA detector records only the intensity of each diffraction pattern, so the phase is lost. Ptychography scans the probe in overlapping steps; here you record such a dataset and refine a phase estimate against the stored counts.
Why it mattersWhen neighbouring probe positions overlap, each part of the object appears in several diffraction patterns, and that redundancy helps constrain the phase.
Start with the essentials
The known probe and positions define each patch of the exit wave. Because the detector samples the complete discrete pattern, a unit-modulus object conserves the expected number of electrons.
The object step is 0.7 with a unit-modulus constraint. Joint mode adds a probe step of 0.15 after two initialization passes, using the previous object value. Each pass normalizes the probe to the independently known incident intensity.
The residual measures how well the estimate matches the recorded amplitudes. A sparse scan can fit well and still leave the phase unconstrained.
Typical misconceptionA low residual or sharp calculated probe certifies an experimental image.
Better mental modelThe residual describes only this model. The model uses a coherent 200 kV beam and a single-slice teaching object that changes only the phase. ePIE jointly updates a finite probe and the unit-modulus object from stored counts and known integer positions. Independent width and defocus calibration initialize the probe; a frozen-probe option supplies a mismatch comparison. Unit incident norm and unit object modulus fix the amplitude scale. Constant phase and opposite affine phase ramps in object and probe remain ambiguous; regular scans can have further ambiguities. The displayed object phase is relative to its illuminated circular mean. ADF and integrated CoM use these same electrons. The latter is a weak-phase, finite-detector comparison with a free integration constant, not a general quantitative phase inversion. Multislice scattering, position refinement, partial coherence, damage, background and real-material resolution are omitted. A small residual alone does not prove that the object is unique or correct. Angles and specimen size are enlarged schematically.
Choose the scan step, the probe width and the number of electrons per frame.
What to observe: With the counts per frame fixed, a smaller step gives more overlap and also more total dose.Acquire the dataset and browse the stored diffraction frames.
What to observe: Moving the acquisition sliders afterwards does not rewrite the stored frames.Choose the number of iterations and the assumed probe calibration, then reconstruct.
What to observe: Only the recorded counts, the positions and the calibration constrain the object update.Compare the sparse, low-count and incorrect-probe examples before you check the target.
What to observe: A small residual can come with a phase that is wrong or only weakly constrained.