grogupy.physics.PairList
- class grogupy.physics.PairList(pairs: None | list[Pair] | ndarray[Any, dtype[_ScalarType_co]] | PairList = None)[source]
List of Pairs.
It supports easier attribute access across the Pairs in the list.
Methods
__init__([pairs])append(item)Appends to the pair list.
toarray()Returns a numpy array from the underlying data.
tolist()Returns a list from the underlying data.
Attributes
DThe DM vector in eV.
D_JThe DM vector, but in J.
D_mRyThe DM vector, but in mRy.
D_meVThe DM vector, but in meV.
JThe exchange tensor, in eV.
J_JThe exchange tensor, but in J.
J_SThe symmetric part of the exchange tensor, in eV.
J_S_JThe symmetric part of the exchange tensor, but in J.
J_S_mRyThe symmetric part of the exchange tensor, but in mRy.
J_S_meVThe symmetric part of the exchange tensor, but in meV.
J_isoThe isotropic exchange, in eV.
J_iso_JThe isotropic exchange, but in J.
J_iso_mRyThe isotropic exchange, but in mRy.
J_iso_meVThe isotropic exchange, but in meV.
J_mRyThe exchange tensor, but in mRy.
J_meVThe exchange tensor, but in meV.
M1The first magnetic entity.
M2The second magnetic entity.
SBI1Spin box indices of the first magnetic entity.
SBI2Spin box indices of the second magnetic entity.
SBS1Spin box size of the first magnetic entity.
SBS2Spin box size of the second magnetic entity.
dh_ds_idThe ID of the Hamiltonian and the Density Matrix.
distanceDistance of the magnetic entities.
energies_JThe energies, but in J.
energies_mRyThe energies, but in mRy.
energies_meVThe energies, but in meV.
supercell_shift_xyzSupercell shift in Angstrom.
tagsTags of the magnetic entities.
xyzCoordinates of the magnetic entities.
xyz_centerCenter coordinates of the magnetic entities.