PtyLab.m/py/jl
A cross-platform, open-source inverse modeling toolbox for conventional and Fourier ptychography
Description
Conventional (CP) and Fourier (FP) ptychography have emerged as versatile quantitative phase imaging techniques. While the main application cases for each technique are different, namely lens-less short wavelength imaging for CP and lens-based visible light imaging for FP, both methods share a common algorithmic ground. CP and FP have in part independently evolved to include experimentally robust forward models and inversion techniques. This separation has resulted in a plethora of algorithmic extensions, some of which have not crossed the boundary from one modality to the other. Here, we present an open source, cross-platform software, called PtyLab, enabling both CP and FP data analysis in a unified framework.
PtyLab’s major strengths lie in (1) the uniform framework for CP and FP enabling cross-pollination between the two domains, (2) the availability in three widely used programming languages (Matlab, Python, and Julia), making it easy for researchers with different programming backgrounds to exchange and benchmark code snippets and data anlyses, and (3) its versatile code architecture suited both for beginners and experts interested in rapid ptychographic algorithm prototyping. In addition, a plethora of self-calibration features (e.g. aPIE, zPIE) and algorithmic novelties (e.g. conversion between CP and FP, POCT, CP with external reference beam, sPIE) are available that to our knowledge have previously not been featured in open access ptychography code. Various functions for scan grid generation help the user to optimize data acquisition and postprocessing. For further information the reader is referred to the GitHub website with its accompanying tutorials as well as the open data provided along with it.
- Non-commercial
- Open Access
Participating organisations
Mentions
- 1.Author(s): Chang Liu, Wilhelm Eschen, Lars Loetgering, Daniel S. Penagos Molina, Robert Klas, Alexander Iliou, Michael Steinert, Sebastian Herkersdorf, Alexander Kirsche, Thomas Pertsch, Falk Hillmann, Jens Limpert, Jan RothhardtPublished in PhotoniX by Springer Science and Business Media LLC in 202310.1186/s43074-023-00084-6
- 2.Author(s): Wilhelm Eschen, Chang Liu, Daniel S. Penagos Molina, Robert Klas, Jens Limpert, Jan RothhardtPublished in Optics Express by Optica Publishing Group in 2023, page: 1421210.1364/oe.485779
- 3.Author(s): Lars Loetgering, Mengqi Du, Dirk Boonzajer Flaes, Tomas Aidukas, Felix Wechsler, Daniel S. Penagos Molina, Max Rose, Antonios Pelekanidis, Wilhelm Eschen, Jürgen Hess, Thomas Wilhein, Rainer Heintzmann, Jan Rothhardt, Stefan WittePublished in Optics Express by Optica Publishing Group in 2023, page: 1376310.1364/oe.485370
- 4.Author(s): Daniel S. Penagos Molina, Lars Loetgering, Wilhelm Eschen, Jens Limpert, Jan RothhardtPublished in Optics Express by Optica Publishing Group in 2023, page: 2695810.1364/oe.495197
- 5.Author(s): Mengqi Du, Xiaomeng Liu, Antonios Pelekanidis, Fengling Zhang, Lars Loetgering, Patrick Konold, Christina L. Porter, Peter Smorenburg, Kjeld S. E. Eikema, Stefan WittePublished in Optica by Optica Publishing Group in 2023, page: 25510.1364/optica.478346
- 6.Author(s): Wilhelm Eschen, Lars Loetgering, Vittoria Schuster, Robert Klas, Alexander Kirsche, Lutz Berthold, Michael Steinert, Thomas Pertsch, Herbert Gross, Michael Krause, Jens Limpert, Jan RothhardtPublished in Light: Science & Applications by Springer Science and Business Media LLC in 202210.1038/s41377-022-00797-6