Skip to main content
Cornell University
We gratefully acknowledge support from the Simons Foundation, member institutions, and all contributors. Donate
arxiv logo > cond-mat > arXiv:2505.07814

Help | Advanced Search

arXiv logo
Cornell University Logo

quick links

  • Login
  • Help Pages
  • About

Condensed Matter > Materials Science

arXiv:2505.07814 (cond-mat)
[Submitted on 12 May 2025 (v1), last revised 11 Jul 2025 (this version, v2)]

Title:PtyRAD: A High-performance and Flexible Ptychographic Reconstruction Framework with Automatic Differentiation

Authors:Chia-Hao Lee, Steven E. Zeltmann, Dasol Yoon, Desheng Ma, David A. Muller
View a PDF of the paper titled PtyRAD: A High-performance and Flexible Ptychographic Reconstruction Framework with Automatic Differentiation, by Chia-Hao Lee and 4 other authors
View PDF HTML (experimental)
Abstract:Electron ptychography has recently achieved unprecedented resolution, offering valuable insights across diverse material systems, including in three dimensions. However, high-quality ptychographic reconstruction is computationally expensive and time consuming, requiring a significant amount of manually tuning even for experts. Additionally, essential tools for ptychographic analysis are often scattered across multiple software packages, with some advanced features available only in costly commercial software like MATLAB. To address these challenges, we introduce PtyRAD, an open-source software framework offers a comprehensive, flexible, and computationally efficient solution for electron ptychography. PtyRAD provides seamless optimization of multiple parameters--such as sample thickness, local tilts, probe positions, and mixed probe and object modes--using gradient-based methods with automatic differentiation (AD). By utilizing PyTorch's highly optimized tensor operations, PtyRAD achieves up to a 17x speedup in reconstruction time compared to existing packages without compromising image quality. In addition, we propose a real-space depth regularization, which avoids wrap-around artifacts and can be useful for twisted two-dimensional (2D) material datasets and vertical heterostructures. Moreover, PtyRAD integrates a Bayesian optimization workflow that streamlines hyperparameter selection. We hope the open-source nature of PtyRAD will foster reproducibility and community-driven development for future advances in ptychographic imaging.
Comments: 17 pages, 6 figures
Subjects: Materials Science (cond-mat.mtrl-sci); Optics (physics.optics)
Cite as: arXiv:2505.07814 [cond-mat.mtrl-sci]
  (or arXiv:2505.07814v2 [cond-mat.mtrl-sci] for this version)
  https://doi.org/10.48550/arXiv.2505.07814
arXiv-issued DOI via DataCite

Submission history

From: Chia-Hao Lee [view email]
[v1] Mon, 12 May 2025 17:59:05 UTC (26,812 KB)
[v2] Fri, 11 Jul 2025 02:37:17 UTC (37,291 KB)
Full-text links:

Access Paper:

    View a PDF of the paper titled PtyRAD: A High-performance and Flexible Ptychographic Reconstruction Framework with Automatic Differentiation, by Chia-Hao Lee and 4 other authors
  • View PDF
  • HTML (experimental)
  • TeX Source
  • Other Formats
view license
Current browse context:
cond-mat.mtrl-sci
< prev   |   next >
new | recent | 2025-05
Change to browse by:
cond-mat
physics
physics.optics

References & Citations

  • NASA ADS
  • Google Scholar
  • Semantic Scholar
a export BibTeX citation Loading...

BibTeX formatted citation

×
Data provided by:

Bookmark

BibSonomy logo Reddit logo

Bibliographic and Citation Tools

Bibliographic Explorer (What is the Explorer?)
Connected Papers (What is Connected Papers?)
Litmaps (What is Litmaps?)
scite Smart Citations (What are Smart Citations?)

Code, Data and Media Associated with this Article

alphaXiv (What is alphaXiv?)
CatalyzeX Code Finder for Papers (What is CatalyzeX?)
DagsHub (What is DagsHub?)
Gotit.pub (What is GotitPub?)
Hugging Face (What is Huggingface?)
Papers with Code (What is Papers with Code?)
ScienceCast (What is ScienceCast?)

Demos

Replicate (What is Replicate?)
Hugging Face Spaces (What is Spaces?)
TXYZ.AI (What is TXYZ.AI?)

Recommenders and Search Tools

Influence Flower (What are Influence Flowers?)
CORE Recommender (What is CORE?)
IArxiv Recommender (What is IArxiv?)
  • Author
  • Venue
  • Institution
  • Topic

arXivLabs: experimental projects with community collaborators

arXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.

Both individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.

Have an idea for a project that will add value for arXiv's community? Learn more about arXivLabs.

Which authors of this paper are endorsers? | Disable MathJax (What is MathJax?)
  • About
  • Help
  • contact arXivClick here to contact arXiv Contact
  • subscribe to arXiv mailingsClick here to subscribe Subscribe
  • Copyright
  • Privacy Policy
  • Web Accessibility Assistance
  • arXiv Operational Status
    Get status notifications via email or slack