Abstract
Ptychography has emerged as a nondestructive tool to quantitatively study extended samples at a high spatial resolution. In this manuscript, we report on recent developments from our team. We have combined cryo ptychography and fluorescence microscopy to provide simultaneous views of ultrastructure and elemental composition, we have developed multi-GPU parallel computation to speed up ptychographic reconstructions, and we have implemented fly-scan ptychography to allow for faster data acquisition. We conclude with a discussion of future challenges in high-resolution 3D ptychography.
Keywords: ptychography, cryogenic sample, parallel computation, fly scan, 3D ptychography
INTRODUCTION
Ptychography has been developed as a powerful coherent diffraction imaging (CDI) technique to reveal the details of extended objects at a high spatial resolution [1, 2]. In ptychography, a confined illumination probe is scanned across an extended object with some overlap between neighboring illuminated points, while diffraction patterns are recorded from each scan point. From these diffraction data, one can use a phase retrieval algorithm to reconstruct the object’s complex transmission function with a spatial resolution not limited by the optics but by the highest spatial frequencies measured in the diffraction patterns. In addition, the probe function can be reconstructed, which allows ptychography to be used for the characterization of focused beams [3]. Due to the short wavelength and high penetration of x-rays, x-ray ptychography has proven to be especially promising over a broad range of applications: it has been used to image subcellular structures of biological samples [4, 5], strains and dislocations of crystals [6, 7], magnetic domains in thin films [8], and chemical components of samples using x-ray absorption edges [9, 10]. When combined with angular projections, ptychographic tomography can provide 3D quantitative measurements of electron density [11, 12].
Although tremendous progress in ptychography has been made in recent years, there have still been limitations due to coherent flux, radiation damage, and the speed of data acquisition and reconstruction. We present here some advances in ptychography we have achieved at the Advanced Photon Source (APS) to address these challenges. We conclude with a discusison of the issues involved in high-resolution 3D ptychography.
SIMULTANEOUS CRYO PTYCHOGRAPHY AND FLUORESCENCE IMAGING
X-ray fluorescence microscopy (XFM) offers high sensitivity for quantitative mapping of elements in biological samples. However, a majority of biological structures are not easily visualized in XFM since XFM is relatively blind to the light elements (such as H, C, N, O) which are the main constituents of biological materials. Ptychography delivers quantitative phase contrast and high spatial resolution, providing a good solution to visualize biological ultrastructure. While the spatial resolution of ptychography can in theory reach the wavelength limit, radiation damage to biological samples affects the obtainable resolution. A good solution towards this problem is to work with frozen-hydrated biological specimens under cryogenic conditions. Cryogenic samples are better able to withstand beam-induced degradation and can provide high-fidelity structural and ionic elemental preservation, as well mitigate the effects of radiation damage. Therefore, we combined the above techniques (cryogenic conditions, fluorescence microscopy, and ptychography) together on the Bionanoprobe [13], a hard x-ray fluorescence nanorobe with cryogenic capabilities, to image frozen-hydrated biological samples. In this combination experiment, the fluorescence spectra and far-field diffraction patterns were recorded simultaneously from a frozen-hydrated Chlamydomonas alga scanned by a 5.2 keV x-ray focused beam with a spot size of ~ 85 nm [14]. Figure 1(a) shows P, S, K, and Ca fluorescence images, where the presence of K within the cell suggests good preservation of membrane integrity in the cryogenic sample preparation. The ptychographic image (Fig. 1(b)) reveals details of the organelles and membranes not seen in the fluorescence maps. With the combination of ptychographs and elemental maps, identification of the cellular components and quantification of elemental concentrations can become easier.
FIGURE 1.

Simultaneous x-ray fluorescence and ptychographic imaging of a frozen-hydrated Chlamydomonas reinhardtii alga obtained from a 167×151 point scan data [14]. (a) X-ray fluorescence maps reveal the distribution of several elements in the alga. (b) The ptychographic reconstruction shows the biological ultrastructure at sub-30 nm resolution. The ptychographic image reveals features not seen in the elemental maps and adds rich contextual information. (c) Multiple-GPU parallel reconstruction. The 167×151 diffraction patterns were partitioned across several GPUs to reduce processing time from hours to minutes, after which the reconstruction results from each GPU are stitched together to form one image as shown in (b).
RAPID PTYCHOGRAPHY RECONSTRUCTION WITH MULTI-GPUS PARALLEL COMPUTATION
Smaller nanofocused beam sizes and larger scan areas are leading to a rapid increase in the size of ptychography datasets for reconstruction. This is especially obvious in the combined ptychography-fluorescence approach shown above: the focused beam needs to be as small as possible for high-resolution fluorescence imaging, so the small beam size combined with the ptychographic overlap requirements leads to a large volume of datasets. The computational and memory requirements will become even more challenging when ptychography is extended to 3D imaging, since ptychographic scans will need to be acquired at many projection angles. Therefore, a fast and real-time ptychography reconstruction implementation is highly desirable. We have developed a rapid reconstruction code with multi-GPU implementation for real-time ptychographic phase retrieval [15]. Figure 1(c) shows an example of partitioning the 167×151 diffraction patterns (~6.2 GB) across 6 GPUs for independent reconstructions. The reconstruction results from each GPU were then stitched together as one (Fig. 1(b)) by a post-procedure of registration and phase normalization. Moreover, a function of information sharing on the neighboring boundaries instead of across all reconstruction area [16] is also provided in this developed code, which allows GPUs to communicate their results to each other during the reconstruction, yielding a result as if the reconstruction is performed using one GPU. The image reconstruction can be sped up by more than a factor of 100 by employing GPUs on one compute node, and can be faster when distributing the task over more than 100 nodes in the cluster. This parallel reconstruction method allows one to do real-time data analysis, which is extremely helpful to guide the running ptychography experiment.
FLY-SCAN PTYCHOGRAPHY FOR FAST DATA COLLECTION
X-ray ptychography was originally developed using a step-scan mode, in which the scanning microscope worked in a move-settle-acquire sequence for data acquisition at each point. The motor motion and settle time contributes an overhead time on scans, slowing down data acquisition. With diffraction limited storage rings expected to provide hundredfold gains in coherent flux [17], exposure times will decrease accordingly so the percentage of scan overhead could be larger than 90%. To address the scan overhead problem, a continuous motion approach has been proposed [18] and demonstrated [19, 20, 21] in ptychography. In fly scan ptychography, the probe moves relative to the object continuously within a scan line, while the data is acquired by detectors with a very small time interval of detector dead time. This continuous scan mode has already been well used in incoherent imaging systems, such as X-ray fluorescence microscopy [22]. However, diffraction patterns acquired from a continuously moving sample become blurry with degraded speckle visibility, bringing difficulties for ptychographic reconstruction. A recent important study [23] has shown that mixed-state issues can be well addressed using multiple object and/or probe modes in reconstruction. Since fly-scan diffraction patterns can be described as an incoherent sum of diffractions from discrete positions, the moving object can be recovered by using multiple probe modes in the reconstruction. We have explored the limits of probe overlap in fly-scan ptychography with multiple probe mode reconstruction [20].
The speedup that fly-scan ptychography can provide will become especially important when ptychography is extended to do 3D imaging of the sample [11]. Figure 2 shows a demonstration of fly-scan ptychographic tomography on a gold test sample with a thickness of 200 nm; the resolution of a single projection image (Fig. 2(a)) is about 18 nm as determined by line-cut method. The whole 3D dataset of 31 projections with 1200 scan points each was acquired within 1.5 hours, compared to the 10 hours that would have been required for step-scan ptychography. The phase contrast images from the 2D projections were then combined using TomoPy software package [24] to yield a tomographic three-dimensional view of the sample (see Fig. 2(b)).
FIGURE 2.

Fly-scan 3D ptychography on a gold test sample with a thickness of 200 nm. 31 projections of 40 × 30 scan points each were recorded in fly-scan mode with a 5.2 keV focused beam of ~100 nm, spanning a range of tilt angles from −60° to 60° with 4° angular spacing; the acquisition time per projection (covering 2 × 3 μm) is about 3 min with an exposure time of 110 ms per point, yielding the total collection time of ~1.5 hours for the whole 3D dataset. (a) Projection image reconstructed from ptychographic data at 0° using 5 probe modes. (b) 3D volume rendering of the tomographic reconstruction.
The ability to collect both ptychographic and fluorescence data in fly-scan mode enables fast multi-modal imaging. Fast data acquisition provided by the fly-scan ptychography combined with rapid parallel reconstruction allows for high-throughput ptychography, which will become increasingly important as brighter x-ray sources are developed.
3D PTYCHOGRAPHY AND DEPTH OF FIELD LIMITS
3D ptychographic imaging has been demonstrated using reconstructed phase contrast projection images in standard tomographic reconstruction [11]. What ptychography offers in this approach is a quantitative phase contrast image of extended objects, at a resolution beyond that of the probe-forming lens or pinhole. However, as spatial resolution of 3D ptychography continues to improve by, for example, the use of samples at cryogenic conditions (to mitigate radiation damage) and faster fly-scan approaches (to obtain sufficient angular sampling), the validity of treating ptychographic measurements as pure projection images becomes challenged.
In the case of a lens-based imaging system, the transverse resolution cutoff δt of a coherent image is limited by the numerical aperture θ of the lens by δt = 0.5λ/θ, where λ is the wavelength. The depth of field (DOF) goes like [25] DOF= λ/θ2 (a factor of 2 beyond what is given by Chapman et al. [26]), giving a relationship of
| (1) |
A necessary condition for the projection approximation in ptychography to be valid is when the sample thickness is less than the depth of field; in other words, the depth of field limits the maximum thickness of the sample for pure projection images at a desired resolution. Figure 3 plots the depth of field with respect to the transverse resolution at several x-ray energies. Each DOF line limits the maximum sample thickness for pure projection imaging at the desired resolution at that specific photon energy. As the spatial resolution is improved to smaller values, the corresponding DOF (or maximum sample thickness) decreases as the square of these improvements. This brings challenges to nanoscale 3D ptychography of samples with a size of microns to tens of microns, which is precisely the thickness range where x-ray microscopy offers significant advantages over electron microscopy. 3D pychographic tomography has been pioneered at the cSAXS beamline operating at 6.2 keV at the Swiss Light Source; we show as data points in Fig. 3 their achieved transverse resolution for objects with various thicknesses, along with our first demonstration of 3D fly-scan ptychography (Fig. 2). All of these experiments have been within the DOF thickness limit of Eq. 1, with the experiment by Holler et al. being closest to the limit (for details see Supplementary Information of [12]).
FIGURE 3.

Depth of field (DOF; Eq. 1) as a function of the achieved transverse resolution at a series of photon energies. As the transverse resolution improves, the depth of field decreases with the square of these improvements, putting a limit on the sample thickness for straightforward interpretation. The red curve is the DOF limit at 6.2 keV, the energy of ptychographic tomography demonstrations (red dots; see [11, 27, 4, 28, 12, 29, 30, 31, 32]) at the cSAXS beamline at the Swiss Light Source routinely conduct the 3D ptychography. The blue dot represents our fly-scan 3D ptychography study (Fig. 2) at 5.2 keV.
One solution to overcome the above challenges in high-resolution 3D ptychography is using hard x-rays with higher energy. Figure 3 shows that the depth of field increases with increases in photon energy for a fixed resolution. Hard x-rays have larger depth of field and better beam penetration as well, so that they are more suitable to study large samples in 3D compared to soft x-rays, though one also has less contrast for features of a given thickness. Another approach is to extend ptychography to deal with continuous 3D objects. A multislice reconstruction approach has been used in ptychography to image separated depth planes [33, 34]. Is there an extension of this approach that can be used for ptychographic tomography of continuous 3D objects that extend beyond the depth of focus limit of Eq. 1? This is an important question for the future.
Acknowledgments
We thank Doğa Gürsoy for the help on tomographic data reconstruction. We thank NIH National Institute of General Medical Sciences for partial support of this work under Grant 1R01GM104530. The Bionanoprobe is funded by NIH/National Center for Research Resources High End Instrumentation Grant 1S10RR029272-01 as part of the American Recovery and Reinvestment Act. Use of the Advanced Photon Source, an Office of Science User Facility operated for the US Department of Energy (DOE) Office of Science by Argonne National Laboratory, was supported by the US DOE under Contract DE-AC02-06CH11357.
Footnotes
PACS: 07.85.Qe, 42.30.Rx, 61.05.cp, 87.59.-e
References
- 1.Rodenburg J, Hurst A, Cullis A, Dobson B, Pfeiffer F, Bunk O, David C, Jefimovs K, Johnson I. Physical Review Letters. 2007;98:034801. doi: 10.1103/PhysRevLett.98.034801. [DOI] [PubMed] [Google Scholar]
- 2.Thibault P, Dierolf M, Menzel A, Bunk O, David C, Pfeiffer F. Science. 2008;321:379–382. doi: 10.1126/science.1158573. [DOI] [PubMed] [Google Scholar]
- 3.Schropp A, Boye P, Feldkamp JM, Hoppe R, Patommel J, Samberg D, Stephan S, Giewekemeyer K, Wilke RN, Salditt T, Gulden J, Mancuso AP, Vartanyants IA, Weckert E, Schöder S, Burghammer M, Schroer CG. Applied Physics Letters. 2010;96:091102. [Google Scholar]
- 4.Wilke RN, Priebe M, Bartels M, Giewekemeyer K, Diaz A, Karvinen P, Salditt T. Optics Express. 2012;20:19232–19254. doi: 10.1364/OE.20.019232. [DOI] [PubMed] [Google Scholar]
- 5.Vine DJ, Pelliccia D, Holzner C, Baines S, Berry A, McNulty I, Vogt S, Peele AG, Nugent K. Optics Express. 2012;20:18287–18296. doi: 10.1364/OE.20.018287. [DOI] [PubMed] [Google Scholar]
- 6.Godard P, Carbone G, Allain M, Mastropietro F, Chen G, Capello L, Diaz A, Metzger TH, Stangl J, Chamard V. Nature Communications. 2011;2:568–6. doi: 10.1038/ncomms1569. [DOI] [PubMed] [Google Scholar]
- 7.Takahashi Y, Suzuki A, Furutaku S, Yamauchi K, Kohmura Y, Ishikawa T. Physical Review B. 2013;87:121201(R). doi: 10.1103/PhysRevLett.112.053903. [DOI] [PubMed] [Google Scholar]
- 8.Tripathi A, Mohanty J, Dietze SH, Shpyrko OG, Shipton E, Fullerton EE, Kim SS, McNulty I. Proceedings of the National Academy of Sciences. 2011;108:13393–13398. doi: 10.1073/pnas.1104304108. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 9.Maiden AM, Morrison GR, Kaulich B, Gianoncelli A, Rodenburg JM. Nature Communications. 2013;4:1669. doi: 10.1038/ncomms2640. [DOI] [PubMed] [Google Scholar]
- 10.Shapiro DA, Yu Y-S, Jordi Cabana TT, Celestre R, Chao W, Kaznatcheev K, Kilcoyne ALD, Stefano Marchesini FM, Meng YS, Warwick T, Yang LL, Padmore HA. Nature Photonics. 2014;8:765–769. [Google Scholar]
- 11.Dierolf M, Menzel A, Thibault P, Schneider P, Kewish C, Wepf R, Bunk O, Pfeiffer F. Nature. 2010;467:436–439. doi: 10.1038/nature09419. [DOI] [PubMed] [Google Scholar]
- 12.Holler M, Diaz A, Guizar-Sicairos M, Karvinen P, Färm E, Härkönen E, Ritala M, Menzel A, Raabe J, Bunk O. Scientific Reports. 2014;4:3857. doi: 10.1038/srep03857. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 13.Chen S, Deng J, Yuan Y, Flachenecker C, Mak R, Hornberger B, Jin Q, Shu D, Lai B, Maser J, Roehrig C, Paunesku T, Gleber S, Vine D, Finney L, Von Osinski J, Bolbat M, Spink I, Chen Z, Steele J, Trapp D, Irwin J, Feser M, Snyder E, Brister K, Jacobsen C, Woloschak G, Vogt S. Journal of Synchrotron Radiation. 2014;21:66–75. doi: 10.1107/S1600577513029676. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 14.Deng J, Vine DJ, Chen S, Nashed YSG, Jin Q, Phillips NW, Peterka T, Ross R, Vogt S, Jacobsen CJ. Proceedings of the National Academy of Sciences. 2015;112:2314–2319. doi: 10.1073/pnas.1413003112. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 15.Nashed YS, Vine DJ, Peterka T, Deng J, Ross R, Jacobsen C. Optics Express. 2014;22:223015. doi: 10.1364/OE.22.032082. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 16.Guizar-Sicairos M, Johnson I, Diaz A, Holler M, Karvinen P, Stadler HC, Dinapoli R, Bunk O, Menze A. Optics Express. 2014;22:14859–14870. doi: 10.1364/OE.22.014859. [DOI] [PubMed] [Google Scholar]
- 17.Eriksson M, van der Veen JF, Quitmann C. Journal of Synchrotron Radiation. 2014;21:837–842. doi: 10.1107/S1600577514019286. [DOI] [PubMed] [Google Scholar]
- 18.Clark JN, Huang X, Harder RJ, Robinson IK. Optics Letters. 2014;39:6066–6069. doi: 10.1364/OL.39.006066. [DOI] [PubMed] [Google Scholar]
- 19.Pelz PM, Guizar-Sicairos M, Thibault P, Johnson I, Holler M, Menzel A. Applied Physics Letters. 2014;105:251101. [Google Scholar]
- 20.Deng J, Nashed YSG, Chen S, Phillips NW, Peterka T, Ross R, Vogt S, Jacobsen C, Vine DJ. Optics Express. 2015;23:5438–5451. doi: 10.1364/OE.23.005438. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 21.Huang X, Lauer K, Clark JN, Xu W, Nazaretski E, Harder R, Robinson IK, Chu YS. Scientific Reports. 2015;5:9074. doi: 10.1038/srep09074. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 22.Lombi E, Jonge MD, Donner E, Ryan CG, Paterson D. Analytical and Bioanalytical Chemistry. 2011;400:1637–1644. doi: 10.1007/s00216-011-4829-2. [DOI] [PubMed] [Google Scholar]
- 23.Thibault P, Menzel A. Nature. 2013;494:68–74. doi: 10.1038/nature11806. [DOI] [PubMed] [Google Scholar]
- 24.Gursoy D, De Carlo F, Xiao X, Jacobsen C. Journal of Synchrotron Radiation. 2014;21:1188–1193. doi: 10.1107/S1600577514013939. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 25.Wang Y, Jacobsen C, Maser J, Osanna A. Journal of Microscopy. 2000;197:80–93. doi: 10.1046/j.1365-2818.2000.00629.x. [DOI] [PubMed] [Google Scholar]
- 26.Chapman H, Barty A, Marchesini S, Noy A, Hau-Riege SP, Cui C, Howells M, Rosen R, He H, Spence J, Weierstall U, Beetz T, Jacobsen C, Shapiro D. Journal of the Optical Society of America A. 2006;23:1179–1200. doi: 10.1364/josaa.23.001179. [DOI] [PubMed] [Google Scholar]
- 27.Diaz A, Trtik P, Guizar-Sicairos M, Menzel A, Thibault P, Bunk O. Physical Review B. 2012;85:020104. [Google Scholar]
- 28.Holler M, Raabe J, Diaz A, Guizar-Sicairos M, Quitmann C, Menzel A, Bunk O. Review of Scientific Instruments. 2013;83:073703. doi: 10.1063/1.4737624. [DOI] [PubMed] [Google Scholar]
- 29.Trtik P, Diaz A, Guizar-Sicairos M, Menzel A, Bunk O. Cement & Concrete Composites. 2013;36:71–77. [Google Scholar]
- 30.Diaz A, Guizar-Sicairos M, Poeppel A, Menzel A, Bunk O. Carbon. 2014;67:98–103. [Google Scholar]
- 31.da Silva JC, Mader K, Holler M, Haberthür D, Diaz A, Guizar-Sicairos M, Cheng W, Shu Y, Raabe J, Menzel A, van Bokhoven JA. Chem Cat Chem Communications. 2015;7:413–416. doi: 10.1002/cctc.201402925. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 32.Zanette I, Enders B, Dierolf M, Thibault P, Gradl R, Diaz A, Guizar-Sicairos M, Menzel A, Pfeiffer F, Zaslansky P. Scientific Reports. 2015;5:9210. doi: 10.1038/srep09210. [DOI] [PMC free article] [PubMed] [Google Scholar]
- 33.Maiden AM, Humphry MJ, Rodenburg JM. Journal of the Optical Society of America A. 2012;29:1606–1614. doi: 10.1364/JOSAA.29.001606. [DOI] [PubMed] [Google Scholar]
- 34.Suzuki A, Furutaku S, Shimomura K, Yamauchi K, Kohmura Y, Ishikawa T, Takahashi Y. Physical Review Letters. 2014;112:053903. doi: 10.1103/PhysRevLett.112.053903. [DOI] [PubMed] [Google Scholar]
