Python based micromagnetic model providing interface to micromagnetic simulation tools.
Project description
micromagneticmodel
Marijan Beg1,2, Ryan A. Pepper2, Thomas Kluyver1, and Hans Fangohr1,2
1 European XFEL GmbH, Holzkoppel 4, 22869 Schenefeld, Germany
2 Faculty of Engineering and the Environment, University of Southampton, Southampton SO17 1BJ, United Kingdom
| Description | Badge |
|---|---|
| Latest release | |
| Build | |
| Coverage | |
| Documentation | |
| Dependecies | |
| License |
About
micromagneticmodel is a Python package that provides:
-
Interface for for micromagnetic simulation tools
-
Mechanism for defining micromagnetic system, its Hamiltonian, and its dynamics equation
It is available on all major operating systems (Windows, MacOS, Linux) and requires Python 3.5 or higher.
Installation
We recommend installing micromagneticmodel by using either of the pip or conda package managers.
Python requirements
Before installing micromagneticmodel via pip, please make sure you have Python 3.5 or higher on your system. You can check that by running
python3 --version
If you are on Linux, it is likely that you already have Python installed. However, on MacOS and Windows, this is usually not the case. If you do not have Python 3.5 or higher on your machine, we strongly recommend installing the Anaconda Python distribution. Download Anaconda for your operating system and follow instructions on the download page. Further information about installing Anaconda can be found here.
pip
After installing Anaconda on MacOS or Windows, pip will also be installed. However, on Linux, if you do not already have pip, you can install it with
sudo apt install python3-pip
To install the micromagneticmodel version currently in the Python Package Index repository PyPI on all operating systems run:
python3 -m pip install micromagneticmodel
conda
micromagneticmodel is installed using conda by running
conda install --channel conda-forge micromagneticmodel
For further information on the conda package, dependency, and environment management, please have a look at its documentation.
Updating
If you used pip to install micromagneticmodel, you can update to the latest released version in PyPI by running
python3 -m pip install --upgrade micromagneticmodel
On the other hand, if you used conda for installation, update micromagneticmodel with
conda upgrade micromagneticmodel
Development version
The most recent development version of micromagneticmodel that is not yet released can be installed/updated with
git clone https://github.com/joommf/micromagneticmodel.git
python3 -m pip install --upgrade micromagneticmodel
Note: If you do not have git on your system, it can be installed by following the instructions here.
Documentation
Documentation for micromagneticmodel is available here, where APIs and tutorials (in the form of Jupyter notebooks) are available.
Support
If you require support on installation or usage of micromagneticmodel or if you want to report a problem, you are welcome to raise an issue in our joommf/help repository.
License
Licensed under the BSD 3-Clause "New" or "Revised" License. For details, please refer to the LICENSE file.
How to cite
If you use micromagneticmodel in your research, please cite it as:
-
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 (2017).
-
DOI will be available soon
Acknowledgements
micromagneticmodel was developed as a part of OpenDreamKit – Horizon 2020 European Research Infrastructure project (676541).
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file micromagneticmodel-0.8.1.tar.gz.
File metadata
- Download URL: micromagneticmodel-0.8.1.tar.gz
- Upload date:
- Size: 15.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b43d08a064ce4dec527be813348db3381cde0db19a5310e510d91456e2846094
|
|
| MD5 |
f720c99d5e9609fff7abea8e60adc256
|
|
| BLAKE2b-256 |
e56d735137639ff17c5785274e847b7cb76328e09359e7fef00bf45ada7ee08e
|
File details
Details for the file micromagneticmodel-0.8.1-py3-none-any.whl.
File metadata
- Download URL: micromagneticmodel-0.8.1-py3-none-any.whl
- Upload date:
- Size: 30.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f21e7b3f25666651aafaafcc646e9523afdce48d76163874920d8a6fbb98d5f6
|
|
| MD5 |
a98c989b359600bbb44b1ef14141eb1b
|
|
| BLAKE2b-256 |
c4107665ddc596aa9ab7491b5f74bc49e8477fc4dc0d6f17bbe02db94801ba41
|