New algorithm enhances ptychographic image reconstruction

June 5, 2018 by Kathy Kincade, Lawrence Berkeley National Laboratory
Ptychographic X-ray imaging is used to characterize the structure and properties of matter and materials. Ptychography is used in a range of scientific domains, including condensed-matter physics, cell biology and electronics. Credit: Berkeley Lab

An international team of researchers that includes scientists from Berkeley Lab's Computational Research Division (CRD) and Center for Advanced Mathematics for Energy Research Applications (CAMERA) continues to find new ways to improve ptychographic image reconstruction.

In scientific experiments, ptychographic X-ray imaging is primarily used to characterize the structure and properties of matter and materials. While the method has been around for some 50 years, broad utilization has been hampered by the fact that the experimental process was slow and the computational processing of the data to produce a reconstructed image was expensive.

But in recent years advances in detectors and X-ray microscopes at light sources such as Berkeley Lab's Advanced Light Source (ALS) have made it possible to measure a ptychographic dataset in seconds. As a result, today ptychography is used in a range of scientific domains, including condensed-matter physics, cell biology and electronics.

In practice, X-ray ptychography works by focusing a beam of x-rays onto a spot in a sample. The scattering from the sample is recorded in the far field, and the recorded pattern is then phased to obtain the final image. The highest resolution attainable is not limited by the size of the focal spot, only by the numerical aperture and wavelength used. The phasing procedure in ptychography uses the overlap between consecutive exposures of the sample, plus the recorded far-field diffraction patterns, to reconstruct a high-resolution image of the sample.

As a result, reconstructing ptychographic datasets can be a data-intensive challenge that involves solving a difficult phase-retrieval problem, calibrating optical elements and dealing with experimental outliers and "noise." To address this challenge, Berkeley Lab scientists developed SHARP (scalable heterogeneous adaptive real-time ptychography), an algorithmic framework and computer software that enables the reconstruction of millions of phases of ptychographic image data per second. Since being introduce in 2016, SHARP has had a demonstrable impact on productivity for scientists working at the ALS and other light sources across the Department of Energy complex, with notable successes in the analysis of magnetic thin films, magnetozomes and 3-D battery materials.

Now researchers from CAMERA, the University of Texas and Tianjin Normal University—all members of the SHARP collaboration—have developed a model that further enhances SHARP's reconstruction capabilities. The new algorithm, GDP-ADMM (gradient decomposition of the probe/alternating direction method of multipliers), takes advantage of state-of-the-art mathematical aspects of phase retrieval, background noise optimization and detector "denoising" to enhance data acquisition and image resolution. With GDP-ADMM, SHARP is now able to handle more light than before, enabling faster acquisition and higher time resolution and ultimately more scientific discoveries.

A paper describing GDP-ADMM was the cover article in the May 2018 issue of Acta Crystallography Section A. GDP-ADMM allows more light to be used, opening the entrance slits of a ptychographic microscope and reducing the number of frames required to obtain enough data to reconstruct a meaningful image. The publication details how GDP-ADMM and partial coherence analysis help overcome stability issues inherent in coherent ptychographic imaging experiments, which often discard the majority of flux from a light source to define the coherence of an illumination (localized coherent X-ray probe). It also exploits translational kernel separability to speed analysis.

"The goal was to offer the ability to quickly discover interesting nanoparticles at full resolution by enabling rapid feedback from the microscopists at the beamlines," said Stefano Marchesini, a staff scientist in CRD and co-author on the Acta paper. "Even when the next-generation coherent light sources come online, we may be able to extend the X-ray energies that can be used in ptychography by using this model."

Explore further: Berkeley Lab paves the way for real-time ptychographic data streaming

More information: Huibin Chang et al, Partially coherent ptychography by gradient decomposition of the probe, Acta Crystallographica Section A Foundations and Advances (2018). DOI: 10.1107/S2053273318001924

Related Stories

SHARP—a 'killer app' for ptychography

September 2, 2016

Ptychography, a revolutionary x-ray imaging technique that combines diffraction and microscopy, has now been coupled with applied mathematics and high-performance computing to quickly turn high-throughput "imaging by diffraction" ...

Sharper images for extreme LCLS experiments

April 17, 2013

( —An imaging technique conceived 50 years ago has been successfully demonstrated at SLAC's Linac Coherent Light Source, where it is expected to improve results in a range of experiments, including studies of extreme ...

Recommended for you

Water can be very dead, electrically speaking

June 21, 2018

In a study published in Science this week, the researchers describe the dielectric properties of water that is only a few molecules thick. Such water was previously predicted to exhibit a reduced electric response but it ...


Please sign in to add a comment. Registration is free, and takes less than a minute. Read more

Click here to reset your password.
Sign in to get notified via email when new comments are made.