4d — Reconstruction engines

Processing scripts · 4d User Manual

← Back to “Processing sections & scripts”

Alternative reconstruction engines alternative

Beyond SHARP, several sections expose reconstruction engines directly, useful for method development and comparison.

py4Dstem — direct py4DSTEM reconstructions

#TitleWhat it does
10Parallax reconstructionPerforms a parallax (tilt-corrected bright-field) reconstruction.
20Parallax AnalysisAnalyses the parallax reconstruction result.
50Singleslice ptychography reconstructionPerforms a single-slice ptychography reconstruction.
60Parallax reconstruction (draft)A draft/raw variant of the parallax reconstruction.

Torchslice — PyTorch-based tools

#TitleWhat it does
10Neighbour correlation alignmentAligns patterns by neighbour cross-correlation.
15Parallax reconstructionPerforms a parallax reconstruction.
20Shadow MontageComputes shadow-montage reconstructions at several assumed inter-pattern distances and picks the most accurate by a metric.
21Shadow Montage (rotate patterns)A shadow-montage variant that rotates patterns while testing several distances.
60Compute Correlation MetricEstimates resolution via the correlation metric of Descloux et al., Nature Methods (2019).

PtychoBones — multislice for tilted planes

Berk Kücükoglu's PtychoBones package for multislice ptychography of tilted sample planes.

#TitleWhat it does
10Find Pattern CenterDetermines the dimensions/center of the CBED pattern.
50Multislice ptychography for tilted sample planesRuns multislice ptychography on a 4D dataset.
99Backup of Berk's Multislice ScriptBackup copy of the multislice reconstruction script.