API reference#
- Release:
0.5.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. |
|
Checks all eigenstate conditions as described in the supplementary note 4 of paper about Magnopy (eqs. |
Interaction parameters#
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 43 parameter into its parts and back. |
|
|
Computes equivalent parameters as described in supplementary information of paper about Magnopy (eqs. |
Exceptions#
|
Raised if convention or part of the convention of spin Hamiltonian is not defined. |
Raised when diagonalization via Colpa fails. |