radtools.ExchangeParameter#
- class radtools.ExchangeParameter(matrix=None, iso=None, aniso=None, dmi=None)[source]#
Exchange parameter (\(\boldsymbol{J}\)) class.
Basically it is a wrapper around numpy.ndarray with predefined exchange-specific attributes. Any function, which work on numpy.ndarray should work on
ExchangeParameteras well. It will act on thematrixattribute.If
matrixis specified theniso,anisoanddmiare ignored and derived frommatrix. Ifmatrixis not specified then it is derived fromiso,anisoanddmi. If nothing is provided exchange matrix is set to zero matrix.- Parameters:
- isoint or float, optional
Value of isotropic exchange parameter.
- aniso(3, 3) array-like, optional
3 x 3 matrix of symmetric anisotropic exchange.
- dmi(3,) array-like, optional
Dzyaroshinsky-Moria interaction vector \((D_x, D_y, D_z)\).
- matrix(3, 3) array-like, optional
Exchange matrix.
Methods:
Properties:
Transposes a matrix of the exchange parameter.
3 x 3 matrix of symmetric anisotropic exchange.
Diagonal part of the symmetric anisotropic exchange.
Diagonal part of the symmetric anisotropic exchange.
Asymmetric part of exchange
matrix.Dzyaroshinsky-Moria interaction vector (Dx, Dy, Dz).
Asymmetric part of the exchange
matrix.Length of the DMI vector in the units of exchange interaction.
Value of isotropic exchange parameter.
Isotropic part of the exchange
matrix.Full exchange matrix.
Relative value of DMI.
Symmetric part of exchange
matrix.