Virtual experiments in computational magnetism: mag2exp
File(s) s41524-025-01686-3.pdf (4.69 MB)
Published version
Author(s)
Type
Journal Article
Abstract
We have designed and implemented the Python package mag2exp, which enables researchers to
perform a range of virtual experiments given a spatially resolved vector field for the magnetization,
a typical result from computational methods to simulate magnetism such as micromagnetics. This
software allows experimental measurements such as magnetometry, microscopy, and reciprocal space
based techniques to be simulated in order to obtain observables that are comparable to those of the
corresponding experimental measurement.
Such virtual experiments tend to be more economic to carry out than actual experiments. There
are many uses for virtual experiments, including (i) choosing the best experimental techniques and
assessing their feasibility prior to experimentation, (ii) fine tuning experimental setup, (iii) guiding
the experiment by conducting concurrent simulations of the measurement, and (iv) interpreting the
experimental data at a later point though both qualitative and quantitative methods.
perform a range of virtual experiments given a spatially resolved vector field for the magnetization,
a typical result from computational methods to simulate magnetism such as micromagnetics. This
software allows experimental measurements such as magnetometry, microscopy, and reciprocal space
based techniques to be simulated in order to obtain observables that are comparable to those of the
corresponding experimental measurement.
Such virtual experiments tend to be more economic to carry out than actual experiments. There
are many uses for virtual experiments, including (i) choosing the best experimental techniques and
assessing their feasibility prior to experimentation, (ii) fine tuning experimental setup, (iii) guiding
the experiment by conducting concurrent simulations of the measurement, and (iv) interpreting the
experimental data at a later point though both qualitative and quantitative methods.
Date Issued
2025-07-01
Date Acceptance
2025-06-02
Citation
npj Computational Materials, 2025, 11
ISSN
2057-3960
Publisher
Nature Portfolio
Journal / Book Title
npj Computational Materials
Volume
11
Copyright Statement
© The Author(s) 2025 Open Access This article is licensed under a Creative Commons Attribution 4.0 International License, which permits use, sharing, adaptation, distribution and reproduction in any medium or format, as long as you give appropriate credit to the original author(s) and the source, provide a link to the Creative Commons licence, and indicate if changes were made. The images or other third party material in this article are included in the article’s Creative Commons licence, unless indicated otherwise in a credit line to the material. If material is not included in the article’s Creative Commons licence and your intended use is not permitted by statutory regulation or exceeds the permitted use, you will need to obtain permission directly from the copyright holder. To view a copy of this licence, visit http://creativecommons.org/licenses/by/4.0/.
License URL
Identifier
10.1038/s41524-025-01686-3
Publication Status
Published
Article Number
201
Date Publish Online
2025-07-01
