Papers
Topics
Authors
Recent
Gemini 2.5 Flash
Gemini 2.5 Flash
139 tokens/sec
GPT-4o
47 tokens/sec
Gemini 2.5 Pro Pro
43 tokens/sec
o3 Pro
4 tokens/sec
GPT-4.1 Pro
47 tokens/sec
DeepSeek R1 via Azure Pro
28 tokens/sec
2000 character limit reached

Streaming Large-Scale Electron Microscopy Data to a Supercomputing Facility (2407.03215v1)

Published 3 Jul 2024 in physics.ins-det, cond-mat.mtrl-sci, cs.DC, and cs.NI

Abstract: Data management is a critical component of modern experimental workflows. As data generation rates increase, transferring data from acquisition servers to processing servers via conventional file-based methods is becoming increasingly impractical. The 4D Camera at the National Center for Electron Microscopy (NCEM) generates data at a nominal rate of 480 Gbit/s (87,000 frames/s) producing a 700 GB dataset in fifteen seconds. To address the challenges associated with storing and processing such quantities of data, we developed a streaming workflow that utilizes a high-speed network to connect the 4D Camera's data acquisition (DAQ) system to supercomputing nodes at the National Energy Research Scientific Computing Center (NERSC), bypassing intermediate file storage entirely. In this work, we demonstrate the effectiveness of our streaming pipeline in a production setting through an hour-long experiment that generated over 10 TB of raw data, yielding high-quality datasets suitable for advanced analyses. Additionally, we compare the efficacy of this streaming workflow against the conventional file-transfer workflow by conducting a post-mortem analysis on historical data from experiments performed by real users. Our findings show that the streaming workflow significantly improves data turnaround time, enables real-time decision-making, and minimizes the potential for human error by eliminating manual user interactions.

Definition Search Book Streamline Icon: https://streamlinehq.com
References (44)
  1. Openchemistry/stempy: stempy 3.3.3, Apr. 2023. URL https://doi.org/10.5281/zenodo.7806318.
  2. Lbnl superfacility project report, 2022. URL https://doi.org/10.2172/1875256. Research Org.: Lawrence Berkeley National Lab. (LBNL), Berkeley, CA (United States).
  3. Cluster imaging with a direct detection CMOS pixel sensor in transmission electron microscopy. Nuclear instruments & methods in physics research. Section A, Accelerators, spectrometers, detectors and associated equipment, 608(2):363–365, Sept. 2009. 10.1016/j.nima.2009.07.017.
  4. The chain of chirality transfer in tellurium nanocrystals. Science, 372(6543):729–733, 2021.
  5. Theory and practice of electron diffraction from single atoms and extended objects using an empad. Microscopy, 67(suppl_1):i150–i161, 2018.
  6. An ultrafast direct electron camera for 4d stem. Microscopy and Microanalysis, 27(S1):1004–1006, 2021.
  7. N. Dekkers and H. De Lang. Differential phase contrast in a stem. Optik, 41(4):452–456, 1974.
  8. Reference array and design consideration for the next-generation event horizon telescope. Galaxies, 11(5), 2023. 10.3390/galaxies11050107. URL https://www.mdpi.com/2075-4434/11/5/107.
  9. B. Enders and P. Thibault. A computational framework for ptychographic reconstructions. Proceedings of the Royal Society A: Mathematical, Physical and Engineering Sciences, 472(2196):20160640, 2016. 10.1098/rspa.2016.0640. URL https://royalsocietypublishing.org/doi/abs/10.1098/rspa.2016.0640.
  10. Cross-facility science with the superfacility project at lbnl. In 2020 IEEE/ACM 2nd Annual Workshop on Extreme-scale Experiment-in-the-Loop Computing (XLOOP), pages 1–7. IEEE, 2020.
  11. Operation of TEAM I in a User Environment at NCEM. Microscopy and Microanalysis, 18(4):676–683, 07 2012. 10.1017/S1431927612001225. URL https://doi.org/10.1017/S1431927612001225.
  12. Electron tomography: a three-dimensional analytic tool for hard and soft materials research. Advanced materials, 27(38):5638–5663, 2015.
  13. The 4d camera - an 87 khz frame-rate detector for counted 4d-stem experiments. Microscopy and Microanalysis, 26(S2):1896–1897, 2020. 10.1017/S1431927620019753.
  14. The 4d camera: an 87 khz direct electron detector for scanning/transmission electron microscopy, 2023.
  15. C. Harris and A. Genova. Distiller. https://github.com/OpenChemistry/distiller, 2023.
  16. Accelerating experimental science using jupyter and nersc hpc. In Tools and Techniques for High Performance Computing: Selected Workshops, HUST, SE-HER and WIHPC, Held in Conjunction with SC 2019, Denver, CO, USA, November 17–18, 2019, Revised Selected Papers 6, pages 145–163. Springer, 2020.
  17. B. D. A. Levin. Direct detectors and their applications in electron microscopy for materials science. Journal of Physics: Materials, 4(4):042005, 7 2021. 10.1088/2515-7639/ac0ff9. URL https://dx.doi.org/10.1088/2515-7639/ac0ff9.
  18. Atomic electron tomography: 3d structures without crystals. Science, 353(6306):aaf2157, 2016.
  19. Resolution beyond the’information limit’in transmission electron microscopy. nature, 374(6523):630–632, 1995.
  20. C. Ophus. Four-Dimensional Scanning Transmission Electron Microscopy (4D-STEM): From Scanning Nanodiffraction to Ptychography and Beyond. Microscopy and Microanalysis, 25(3):563–582, 06 2019. 10.1017/S1431927619000497. URL https://doi.org/10.1017/S1431927619000497.
  21. C. Ophus. Quantitative scanning transmission electron microscopy for materials science: Imaging, diffraction, spectroscopy, and tomography. Annual Review of Materials Research, 53:105–141, 2023.
  22. Interactive parallel workflows for synchrotron tomography. In 2020 IEEE/ACM 2nd Annual Workshop on Extreme-scale Experiment-in-the-Loop Computing (XLOOP), pages 29–34. IEEE, 2020.
  23. Advanced techniques in automated high-resolution scanning transmission electron microscopy. Nanotechnology, 35(1):015710, oct 2023. 10.1088/1361-6528/acf938. URL https://dx.doi.org/10.1088/1361-6528/acf938.
  24. Real-time interactive ptychography from electron event representation data. Microscopy and Microanalysis, 27(S1):188–189, 08 2021a. 10.1017/S1431927621001288. URL https://doi.org/10.1017/S1431927621001288.
  25. Phase-contrast imaging of multiply-scattering extended objects at atomic resolution by reconstruction of the scattering matrix. Phys. Rev. Res., 3:023159, 2021b. 10.1103/PhysRevResearch.3.023159. URL https://link.aps.org/doi/10.1103/PhysRevResearch.3.023159.
  26. Solving complex nanostructures with ptychographic atomic electron tomography, 2022. URL https://arxiv.org/abs/2206.08958.
  27. R. Rao. Synchrotrons face a data deluge. Phys. Today, 2020(2):0925a, Sept. 2020.
  28. Uncovering the three-dimensional structure of upconverting core–shell nanoparticles with multislice electron ptychography. Applied Physics Letters, 124(24):240601, 06 2024. 10.1063/5.0206814. URL https://doi.org/10.1063/5.0206814.
  29. py4dstem: A software package for four-dimensional scanning transmission electron microscopy data analysis. Microscopy and Microanalysis, 27(4):712–743, 2021.
  30. Intrinsic instability of aberration-corrected electron microscopes. Phys. Rev. Lett., 109:163901, Oct 2012. 10.1103/PhysRevLett.109.163901. URL https://link.aps.org/doi/10.1103/PhysRevLett.109.163901.
  31. Differential phase-contrast microscopy at atomic resolution. Nature Physics, 8(8):611–615, 2012.
  32. Towards data-driven next-generation transmission electron microscopy. Nature materials, 20(3):274–279, Mar. 2021. 10.1038/s41563-020-00833-z.
  33. Subsampled stem-ptychography. Applied Physics Letters, 113(3), 2018.
  34. R. Thomas and S. Cholia. Interactive supercomputing with jupyter. Computing in Science & Engineering, 23(2):93–98, 2021.
  35. Toward interactive supercomputing at nersc with jupyter. In Cray User Group (CUG) Conference Proceedings. Cray User Group (CUG), 2017.
  36. Iterative phase retrieval algorithms for scanning transmission electron microscopy. arXiv preprint arXiv:2309.05250, 2023.
  37. E. Waddell and J. Chapman. Linear imaging of strong phase objects using asymmetrical detectors in stem. Optik, 54:83–96, 1979.
  38. S. Welborn. SI videos, streaming, May 2024. URL https://doi.org/10.5281/zenodo.10092028.
  39. Accelerating time-to-science by streaming detector data directly into perlmutter compute nodes. arXiv preprint arXiv:2403.14352, 2024a.
  40. This manuscript’s code repository. https://github.com/swelborn/welborn-microscopy-streaming-paper-with-code, 2024b.
  41. Development of stem-holography. Microscopy and Microanalysis, 22(S3):506–507, 2016. 10.1017/S143192761600338X.
  42. Probing light atoms at subnanometer resolution: Realization of scanning transmission electron microscope holography. Nano letters, 18(11):7118–7123, 2018.
  43. Dose-efficient cryo-electron microscopy for thick samples using tilt-corrected scanning transmission electron microscopy, demonstrated on cells and single particles. bioRxiv, pages 2024–04, 2024.
  44. High-frame rate and high-count rate hybrid pixel detector for 4d stem applications. Frontiers in Physics, 11:1308321, 2023.

Summary

We haven't generated a summary for this paper yet.