Python interface to OOMMF integrated into Jupyter notebook.
Project description
oommfc
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
oommfc
is a Python package that provides:
-
An interface to the Object Oriented MicroMagnetic Framework OOMMF
-
Integration of OOMMF simulations into the Jupyter notebook
It is available on all major operating systems (Windows, MacOS, Linux) and requires Python 3.5 or higher.
Installation
We recommend installing oommfc
by using either of the pip
or conda
package managers.
Python requirements
Before installing oommfc
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.
OOMMF requirements
oommfc
is a Python package used to drive OOMMF. Therefore, OOMMF is a requirement (dependency) of oommfc
. If you decide to install oommfc
using conda
, then OOMMF will be automatically installed. However, if you decide to use pip
for oommfc
installation, we strongly recommend using conda to install OOMMF. You can install OOMMF by running:
conda install --channel conda-forge oommf
Note: Details on how to install Anaconda Python distribution can be found in the conda
section.
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 oommfc
version currently in the Python Package Index repository PyPI on all operating systems run:
python3 -m pip install oommfc
conda
oommfc
is installed using conda
by running
conda install --channel conda-forge oommfc
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 oommfc
, you can update to the latest released version in PyPI by running
python3 -m pip install --upgrade oommfc
On the other hand, if you used conda
for installation, update oommfc
with
conda upgrade oommfc
Development version
The most recent development version of oommfc
that is not yet released can be installed/updated with
git clone https://github.com/joommf/oommfc
python3 -m pip install --upgrade oommfc
Note: If you do not have git
on your system, it can be installed by following the instructions here.
Documentation
Documentation for oommfc
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 oommfc
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 oommfc
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
oommfc
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
File details
Details for the file oommfc-0.8.5.tar.gz
.
File metadata
- Download URL: oommfc-0.8.5.tar.gz
- Upload date:
- Size: 22.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f29a5a61042264312ef61fcaaf6d87ef3b3328f5df19adb9d62416d5e73aee24 |
|
MD5 | 35024bc1e6c6dde442602ae738e0e970 |
|
BLAKE2b-256 | 6fd4f4b58b7a8176d0d4cad4aebd25bfd32ad5203258c420fce50b36cc3080d0 |
File details
Details for the file oommfc-0.8.5-py3-none-any.whl
.
File metadata
- Download URL: oommfc-0.8.5-py3-none-any.whl
- Upload date:
- Size: 36.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cd297088f16e5a7dbfb0370f29249eb2f523cbbb8bfb7e1dc2750940662947f |
|
MD5 | 7f1ada04b7543a58a50040fa44fb2ac8 |
|
BLAKE2b-256 | 7e790820ce442980e194cbd3861416f0413e709bbebc09d68bad154fe1c80694 |