API reference#
- Release:
0.4.3
Main interface to the package should be imported as
>>> import magnopy
Sub-modules#
Classes#
|
Convention of the spin Hamiltonian. |
|
Spin Hamiltonian. |
|
Classical energy of the spin Hamiltonian. |
|
Linear Spin Wave theory. |
|
Plotting engine based on Plotly. |
Functions#
Diagonalizes grand-dynamical matrix following the method of Colpa. |
|
|
Spans local right-handed reference frame from the direction vector. |
|
Spans a set of local right-handed reference frames from a set of the direction vectors. |
|
Generates a logo of Magnopy. |
|
Parallelizes calculation over the kpoints using multiprocessing module. |
|
Creates a spin Hamiltonian on the supercell. |
Parameter converters#
Routines for conversion of the full 3x3 tensor of 22 parameter into its parts and back. |
|
Routines for conversion of the full 3x3x3x3 tensor of 422 parameter into its parts and back. |
Exceptions#
|
Raised if convention or part of the convention of spin Hamiltonian is not defined. |
Raised when diagonalization via Colpa fails. |