The STEMsalabim software aims to provide accurate scanningtransmission electron microscopy (STEM) image simulation of a specimen whose atomic structure is known. It implements the frozen lattice multislice algorithm as described in great detail in the book Advanced computing in electron microscopy by Earl J. Kirkland.

While there are multiple existing implementations of the same technique, none of them is suitable for running on high-performance computing (HPC) clusters, which is required in order to simulate large supercells or large sets of simulations, e.g. for parameter sweeps.

The purpose of STEMsalabim is to fill this gap by providing a multislice implementation that is well parallelizable both within and across computing nodes, using a mixture of threaded parallelization and message passing interface (MPI).

How to get started

We suggest you start reading General information to understand, and only then go on with Installing STEMsalabim and Running STEMsalabim.

Contact us!

STEMsalabim is a very young piece of software and was not heavily tested, especially not outside of what we need it for. We are glad to help you getting a simulation to run, and to spare you hours of fiddling around with parameter files etc.

Please contact strl-stemsalabim [at] if you have any questions.


We acknowledge the creators of the supplementary libraries that STEMsalabim depends on.

We would also like to acknowledge the creators of STEMsim, which we used as a reference implementation to test STEMsalabim.

Once again, we would like to highlight the book Advanced computing in electron microscopy by Earl J. Kirkland for its detailed description of the implementation of multislice algorithms.

STEMsalabim was written in the Structure & Technology Research Laboratory of the Philipps-Universität Marburg.

Philipps-Universität Marburg Structure & Technology Research Laboratory
image0 image1