Microstructure Characterization and Reconstruction in Python: MCRpy

Paul Seibert, Alexander Raßloff, Karl Kalina, Marreddy Ambati, Markus Kästner
7/11/2022
cond-mat.mtrl-sci

Official code: NEFM-TUDresden/MCRpy (71 stars, Python, Apache-2.0, last commit 2026-05-29).

Abstract

Microstructure characterization and reconstruction (MCR) is an important prerequisite for empowering and accelerating integrated computational materials engineering. Much progress has been made in MCR recently, however, in absence of a flexible software platform it is difficult to use ideas from other researchers and to develop them further.

Show full abstract

To address this issue, this work presents MCRpy for easy-to-use, extensible and flexible MCR. The software platform that can be used as a program with graphical user interface, as a command line tool and as a Python library. The central idea is that microstructure reconstruction is formulated as a modular and extensible optimization problem. In this way, any descriptors can be used for characterization and any loss function combining any descriptors can be minimized using any optimizer for reconstruction. With stochastic optimizers, this leads to variations of the well-known Yeong-Torquato algorithm. Furthermore, MCRpy features automatic differentiation, enabling the utilization of gradient-based optimizers. In this work, after a brief introduction to the underlying concepts, the capabilities of MCRpy are demonstrated by exemplarily applying it to typical MCR tasks. Finally, it is shown how to extend MCRpy by defining a new microstructure descriptor and readily using it for reconstruction without additional implementation effort.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Microstructure Characterization and Reconstruction in Python

7122PythonJun 23, 20226 months agoApache-2.0

Similar Papers

Cite this paper

@article{seibert2022microstructure,
  title  = {Microstructure Characterization and Reconstruction in Python: MCRpy},
  author = {Paul Seibert and Alexander Raßloff and Karl Kalina and Marreddy Ambati and Markus Kästner},
  year   = {2022},
  eprint = {2207.04652},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2207.04652}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2207.04652.svg)](https://codeofpaper.com/paper/2207.04652)

Discussion