### What is 2DMAT?

2DMAT is a framework for applying a search algorithm to a direct problem solver to find the optimal solution. As the standard direct problem solver, the experimental data analysis software for two-dimensional material structure analysis is prepared. The direct problem solver gives the deviation between the experimental data and the calculated data obtained under the given parameters, such as atomic positions as a loss function used in the inverse problem. The optimal parameters are estimated by minimizing the loss function using a search algorithm. For further use, the original direct problem solver or the search algorithm can be defined by users. In the current version, for solving a direct problem, 2DMAT offers the wrapper of the solver for the total-reflection high-energy positron diffraction (TRHEPD) experiment[1, 2], sxrd[3], and leed[4]. As algorithms, it offers the Nelder-Mead method[5], the grid search method[6], the Bayesian optimization method[7], the replica exchange Monte Carlo method[8], and the population annealing Monte Carlo method[9-11]. In the future, we plan to add other direct problem solvers and search algorithms in 2DMAT.

[1] As a review, see Y. Fukaya, et al., J. Phys. D: Appl. Phys. 52, 013002 (2019).

[3] W. Voegeli, K. Akimoto, T. Aoyama, K. Sumitani, S. Nakatani, H. Tajiri, T. Takahashi, Y. Hisada, S. Mukainakano, X. Zhang, H. Sugiyama, H. Kawata, Applied Surface Science 252 (2006) 5259.

[8] K. Hukushima and K. Nemoto, J. Phys. Soc. Japan, 65, 1604 (1996), R. Swendsen and J. Wang, Phys. Rev. Lett. 57, 2607 (1986).

[9] R. M. Neal, Statistics and Computing 11, 125-139 (2001).

[10] K. Hukushima and Y. Iba, AIP Conf. Proc. 690, 200 (2003).

[11] J. Machta, Phys. Rev. E 82, 026704 (2010).

### License

Copyright (c) <2020-> The University of Tokyo. All rights reserved.

This software was developed with the support of “Project for advancement of software usability in materials science” of The Institute for Solid State Physics, The University of Tokyo. We hope that you cite the following reference when you publish the results using 2DMAT:

Bibtex:

@article{MOTOYAMA2022108465,

title = {Data-analysis software framework 2DMAT and its application to experimental measurements for two-dimensional material structures},

journal = {Computer Physics Communications},

volume = {280},

pages = {108465},

year = {2022},

issn = {0010-4655},

doi = {https://doi.org/10.1016/j.cpc.2022.108465},

url = {https://www.sciencedirect.com/science/article/pii/S0010465522001849},

author = {Yuichi Motoyama and Kazuyoshi Yoshimi and Izumi Mochizuki and Harumichi Iwamoto and Hayato Ichinose and Takeo Hoshi}

}

### Core Developers

2DMAT has been developed by the following members.

- v2.0-

- Yuichi Motoyama (The Institute for Solid State Physics, The University of Tokyo)
- Kazuyoshi Yoshimi (The Institute for Solid State Physics, The University of Tokyo)
- Harumichi Iwamoto (Department of Applied Mathematics and Physics, Tottori University)
- Takeo Hoshi (Department of Applied Mathematics and Physics, Tottori University)

- v1.0, v0.1

- Yuichi Motoyama (The Institute for Solid State Physics, The University of Tokyo)
- Kazuyoshi Yoshimi (The Institute for Solid State Physics, The University of Tokyo)
- Takeo Hoshi (Department of Applied Mathematics and Physics, Tottori University)