PyAtoms: An interactive tool for simulating atomic scanning tunneling microscopy images of 2D materials, moiré systems and superlattices
Asari G. Prado, Morgaine I. Mandigo-Stoba, Kuan-Yu Wey, Setayesh Nekarae, Abraham Enriquez-Ibarra, Sarah Bañuelos, Andrew Nguyen, Christopher Gutiérrez
TL;DR
PyAtoms presents an open-source, Python-based GUI for rapid, real-time STM/SPM image simulation of 2D materials, moiré systems, and superlattices using a Fourier-space lattice framework. It offers two moiré modeling approaches and a low-pass filter for efficient real-space and reciprocal-space rendering, along with real-time estimates of imaging time to assist experimental planning. The tool supports parameter exploration of lattice constants, twist angles, strain, and sublattice asymmetry across graphene, TMDCs, and CDW/BDW systems, enabling side-by-side comparison with experiments and qualitative interpretation of complex moiré patterns and QPI data. While presently qualitative in experimental matching, PyAtoms provides an accessible, extensible platform with open-source code for potential quantitative fitting and broader multilayer modeling, benefiting the quantum materials SPM community.
Abstract
We present PyAtoms, an interactive open-source software that rapidly simulates atomic-scale scanning tunneling microscopy (STM) and other scanning probe microscopy (SPM) images of two-dimensional (2D) layered materials, moiré systems, and superlattices. Rooted in a Fourier-space description of ideal atomic lattice images, PyAtoms is a Python-based graphical user interface (GUI) with robust capabilities for tuning lattice parameters (lattice constants, strain, number of layers, twist angles) and STM imaging parameters (pixels, scan size, scan angle) and provides time estimates for spectroscopic measurements. These capabilities allow users to efficiently plan time-consuming STM experiments. We provide an overview of PyAtoms' current features, describe its underlying mathematical principles, and then demonstrate simulations of several 2D materials including graphene with variable sublattice asymmetry, twisted tri-layer graphene moiré systems, and several charge- and bond-density wave systems.
