https://github.com/ubermag/mag2exp
https://github.com/ubermag/mag2exp
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ubermag/mag2exp
- Owner: ubermag
- License: bsd-3-clause
- Created: 2021-06-07T15:18:32.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2026-01-12T21:34:49.000Z (5 months ago)
- Last Synced: 2026-01-13T01:54:35.045Z (5 months ago)
- Language: Jupyter Notebook
- Size: 177 MB
- Stars: 2
- Watchers: 5
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mag2exp
[Samuel Holt](https://github.com/samjrholt)1,2, [Martin Lang](https://github.com/lang-m)1, James Loudon3, Thomas Hicken4, [Swapneel Amit Pathak](https://github.com/swapneelap)1,5, [David Cortés Ortuño](https://github.com/davidcortesortuno)6, [Marijan Beg](https://github.com/marijanbeg)7,1, and [Hans Fangohr](https://github.com/fangohr)1,5,8
1 *Faculty of Engineering and Physical Sciences, University of Southampton, Southampton SO17 1BJ, UK*
2 *Department of Physics, University of Warwick, Coventry CV4 7AL, UK*
3 *Department of Materials Science and Metallurgy, University of Cambridge, Cambridge, CB3 0FS, United Kingdom*
4 *Department of Physics, Durham University, Durham, DH1 3LE, United Kingdom*
5 *Max Planck Institute for the Structure and Dynamics of Matter, Luruper Chaussee 149, 22761 Hamburg, Germany*
6 *Paleomagnetic Laboratory Fort Hoofddijk, Utrecht University, Utrecht, 3584 CD, Netherlands*
7 *Department of Earth Science and Engineering, Imperial College London, London SW7 2AZ, UK*
8 *Center for Free-Electron Laser Science, Luruper Chaussee 149, 22761 Hamburg, Germany*
| Description | Badge |
| --- | --- |
| Tests | [](https://github.com/ubermag/mag2exp/actions/workflows/test.yml) |
| Linting | [](https://results.pre-commit.ci/latest/github/ubermag/mag2exp/master) |
| | [](https://github.com/psf/black) |
| Releases | [](https://badge.fury.io/py/mag2exp) |
| | [](https://anaconda.org/conda-forge/mag2exp) |
| Coverage | [](https://codecov.io/gh/ubermag/mag2exp) |
| Documentation | [](https://ubermag.github.io/documentation/mag2exp.html) |
| YouTube | [](https://www.youtube.com/channel/UC7MSqVQSMFV42R1jAYmKGLg) |
| Binder | [](https://mybinder.org/v2/gh/ubermag/mag2exp/latest?urlpath=lab/tree/docs) |
| Platforms | [](https://anaconda.org/conda-forge/mag2exp) |
| Downloads | [](https://anaconda.org/conda-forge/mag2exp) |
| License | [](https://opensource.org/licenses/BSD-3-Clause) |
| DOI | [](https://doi.org/10.5281/zenodo.5564954) |
## About
`mag2exp` is a Python package, integrated with Jupyter, providing:
- simulations of experimental techniques perfomed on magnetisation textures,
- the ability to perform "virtual" experiments,
- the functionality to compare of real experimental results agaist simulated experiments.
It is available on Windows, MacOS, and Linux. It requires Python 3.8+.
## Documentation
APIs and tutorials are available in the documentation. To access the documentation, use the badge in the table above.
## Installation, testing, and upgrade
We recommend installation using `conda` package manager. Instructions can be found in the [documentation](https://ubermag.github.io/installation.html).
## Binder
This package can be used in the cloud via Binder. To access Binder, use the badge in the table above.
## YouTube
YouTube video tutorials are available on the [Ubermag channel](https://www.youtube.com/channel/UC7MSqVQSMFV42R1jAYmKGLg).
## Support
If you require support, have questions, want to report a bug, or want to suggest an improvement, please raise an issue in [ubermag/help](https://github.com/ubermag/help) repository.
## Contributions
All contributions are welcome, however small they are. If you would like to contribute, please fork the repository and create a pull request. If you are not sure how to contribute, please contact us by raising an issue in [ubermag/help](https://github.com/ubermag/help) repository, and we are going to help you get started and assist you on the way.
**Contributors**:
## License
Licensed under the BSD 3-Clause "New" or "Revised" License. For details, please refer to the [LICENSE](LICENSE) file.
## How to cite
1. M. Beg, M. Lang, and H. Fangohr. Ubermag: Towards more effective micromagnetic workflows. [*IEEE Transactions on Magnetics* **58**, 7300205](https://doi.org/10.1109/TMAG.2021.3078896) (2022).
2. M. Beg, R. A. Pepper, and H. Fangohr. User interfaces for computational science: A domain specific language for OOMMF embedded in Python. [*AIP Advances* **7**, 56025](http://aip.scitation.org/doi/10.1063/1.4977225) (2017).
3. Samuel Holt, Martin Lang, James Loudon, Thomas Hicken, Swapneel Amit Pathak, David Cortés Ortuño, Marijan Beg, and Hans Fangohr. mag2exp: Simulate experimental measurements for magnetic materials DOI: [10.5281/zenodo.5564954](http://doi.org/10.5281/zenodo.5564954) (2025).
## Acknowledgements
- [OpenDreamKit](http://opendreamkit.org/) – Horizon 2020 European Research Infrastructure project (676541)
- EPSRC Programme Grant on [Skyrmionics](http://www.skyrmions.ac.uk) (EP/N032128/1)