Magnopy as a black boxΒΆ

Magnopy can be used without any knowledge of Python programming. In other words it can be used as a black-box software via its command line interface.

First, one need to install magnopy. Open a terminal and run the following command (type the command and press enter)

pip install "magnopy[visual]"

Check that everything is ok by executing the command

magnopy

There are currently two command line scripts in magnopy. Use GROGU file that you have obtained to follow the tutorial for each of them.

Hint

Those scripts can be run from within python as well, see: magnopy.scenarios. One can study the source code of magnopy.scenarios.optimize_sd() and magnopy.scenarios.solve_lswt() for more advance example of how magnopy can be used as a python library.

Optimization of spin directions

Optimization of spin directions

Linear Spin Wave theory

Linear Spin Wave theory