arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2111.07347cond-mat.mtrl-sci
收藏

自由、灵活、快速:使用基于Python的开源4D- STEM分析工具箱Pyxem中的多核和GPU加速模板匹配功能进行方向映射

Free, flexible and fast: orientation mapping using the multi-core and GPU-accelerated template matching capabilities in the python-based open source 4D-STEM analysis toolbox Pyxem

Niels Cautaerts, Phillip Crout, Håkon Wiik Ånes, Eric Prestat, Jiwon Jeong, Gerhard Dehm, Christian H. Liebscher

摘要:

这项工作提出了在Pyxem中实现的新模板匹配功能,Pyxem是一个用于分析四维扫描透射电子显微镜(4D-STEM)数据的开源Python库。模板匹配是用于导出局部晶体取向的蛮力方法。它的工作原理是将模拟衍射图案库与纳米束和进动电子衍射(NBED和PED)收集的实验图案进行比较。这是一项计算要求很高的任务,因此该实现通过利用多个CPU内核或图形处理单元(GPU)来结合效率和可扩展性。该代码构建在科学Python生态系统之上,旨在支持自定义和可复制的工作流程,将图像处理,模板库生成,索引和可视化都结合在一个环境中。这些工具不受文件大小和格式的影响,这一点对于越来越多的来自不同制造商的像素化探测器来说非常重要。本文详细介绍了该方法的实施,验证和基准测试结果。该方法说明了通过计算纳米晶材料和沉淀物嵌入在晶体基质中的取向图。速度和灵活性的结合为TEM内的自动化参数研究和实时在线方向映射打开了大门。

英文摘要:

This work presents the new template matching capabilities implemented in Pyxem, an open source Python library for analyzing four-dimensional scanning transmission electron microscopy (4D-STEM) data. Template matching is a brute force approach for deriving local crystal orientations. It works by comparing a library of simulated diffraction patterns to experimental patterns collected with nano-beam and precession electron diffraction (NBED and PED). This is a computationally demanding task, therefore the implementation combines efficiency and scalability by utilizing multiple CPU cores or a graphical processing unit (GPU). The code is built on top of the scientific python ecosystem, and is designed to support custom and reproducible workflows that combine the image processing, template library generation, indexation and visualisation all in one environment. The tools are agnostic to file size and format, which is significant in light of the increased adoption of pixelated detectors from different manufacturers. This paper details the implementation, validation, and benchmarking results of the method. The method is illustrated by calculating orientation maps of nanocrystalline materials and precipitates embedded in a crystalline matrix. The combination of speed and flexibility opens the door for automated parameter studies and real-time on-line orientation mapping inside the TEM.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑