grogupy.physics.MagneticEntityList
- class grogupy.physics.MagneticEntityList(magnetic_entities: None | list[MagneticEntity] | ndarray[Any, dtype[_ScalarType_co]] | MagneticEntityList = None)[source]
List of MagneticEntities.
It supports easier attribute access across the MagneticEntities in the list.
- __init__(magnetic_entities: None | list[MagneticEntity] | ndarray[Any, dtype[_ScalarType_co]] | MagneticEntityList = None)[source]
Methods
__init__([magnetic_entities])append(item)Appends to the magnetic entity list.
toarray()Returns a numpy array from the underlying data.
tolist()Returns a list from the underlying data.
Attributes
KThe anisotropy tensor, in meV.
K_JThe anisotropy tensor, but in J.
K_consistencyThe consistency check, in meV.
K_consistency_JThe consistency check, but in J.
K_consistency_mRyThe consistency check, but in mRy.
K_consistency_meVThe consistency check, but in meV.
K_mRyThe anisotropy tensor, but in mRy.
K_meVThe anisotropy tensor, but in meV.
SBIThe spin box indices of the magnetic entity
SBSThe spin box size of the magnetic entity
cellThe cell of the Hamiltonian.
dh_ds_idThe ID of the Hamiltonian and the Density Matrix.
energies_JThe energies, but in J.
energies_mRyThe energies, but in mRy.
energies_meVThe energies, but in meV.
local_QThe charge of the magnetic entity.
local_SSpin moment of the magnetic entity.
local_SxSx of the magnetic entity.
local_SySy of the magnetic entity.
local_SzSz of the magnetic entity.
tagThe description of the magnetic entity
total_QThe total charge of the atom or the atoms of the magnetic entity.
total_STotal spin moment of the atom or the atoms of the magnetic entity.
total_SxTotal Sx of the atom or the atoms of the magnetic entity.
total_SyTotal Sy of the atom or the atoms of the magnetic entity.
total_SzTotal Sz of the atom or the atoms of the magnetic entity.
xyz_centerThe mean of the position of the atoms that are in the magnetic entity.