Abtem
Python package for transmission electron microscopy simulations with multislice and Bloch-wave methods
What it is
abTEM is an open-source Python library designed for simulating transmission electron microscopy (TEM) and scanning transmission electron microscopy (STEM) experiments. The package implements multislice and Bloch-wave algorithms to model electron scattering through crystalline and amorphous materials, supporting applications in materials science, physics, and nanotechnology research. It provides tools for constructing atomic models, defining potentials, calculating wave functions, and simulating detector signals including diffraction patterns, images, and spectroscopy data.
The library features a modular architecture with dedicated modules for frozen phonon configurations, contrast transfer functions, partial coherence effects, and advanced sampling techniques. Users can build custom simulation workflows by combining components for probe formation, specimen slicing, propagation, and detection. Integration with GPAW enables ab initio potential calculations, while the PRISM algorithm accelerates large-scale STEM simulations.
Documentation includes a getting started guide, installation instructions, basic examples, and a comprehensive user guide covering atomic models, multislice simulations, and scan configurations. An example gallery demonstrates common workflows such as CBED, HRTEM, STEM, PRISM, SAED, PED, Bloch wave, PACBED, and 4D-STEM simulations with interactive visualizations. The reference API details all classes and functions across submodules for atoms, waves, detectors, measurements, and visualization.
The project targets researchers and developers in electron microscopy who need flexible, scriptable simulation capabilities. It supports reproducible computational workflows through programmatic configuration and integrates with the broader Python scientific ecosystem. Contributions are welcome through the project repository, and citation information is provided for academic use.
This description was generated by AI from the site's public content and may contain errors.
What you can do there
- Read comprehensive documentation and user guides
- Install and run TEM simulation examples
- Build custom multislice and Bloch-wave workflows
- Simulate diffraction patterns and STEM images
- Contribute to the open-source project
Who it's for
Materials scientists, physicists, and developers researching electron microscopy simulations
Frequently asked questions about abtem.readthedocs.io
›What is abTEM used for
abTEM simulates transmission electron microscopy experiments including multislice and Bloch-wave calculations for materials science research.
›How do I install abTEM
Installation instructions are provided in the documentation getting started section, typically via pip or conda from the project repository.
›What simulation types does abTEM support
The package supports CBED, HRTEM, STEM, PRISM, SAED, PED, Bloch wave, PACBED, and 4D-STEM simulations with various detector models.
›Can abTEM calculate ab initio potentials
Yes, integration with GPAW allows ab initio potential calculations for more accurate scattering factors.
›Is there an example gallery
The documentation includes an example gallery with quickstart notebooks for major simulation types and interactive visualizations.
›How can I contribute to abTEM
Contribution guidelines are available in the project repository linked from the documentation footer.
›What programming language is abTEM written in
abTEM is a Python package designed for the scientific Python ecosystem with NumPy and SciPy dependencies.
