epraya.Nhze#
- Nhze(I, iix, iiy, iiz, dim, Nucl='None', direction=[0, 0, 1])#
Function for the nuclear Zeeman interaction.
- Parameters:
I (float) – Nuclear spin value.
iix (np.array) – Pauli matrix of the nuclear spin x component.
iiy (np.array) – Pauli matrix of the nuclear spin y component.
iiz (np.array) – Pauli matrix of the nuclear spin z component.
dim (int) – Dimension of the total hamiltonian.
Nucl (str) – Symbol of the element of the paramagnetic center.
direction (np.array) – Direction of incidence of the magnetic field.
- Returns:
nhz (np.array) – Matrix of the Zeeman nuclear interaction with dimension dim.
Example
>>> import epraya as epr >>> Ham,Exp,_=epr.Start() >>> Ham.I=1 >>> Ham.Nucl='55Mn' >>> ix,iy,iz=epr.Pauli(Ham.I) >>> dim=int((2*Ham.I+1)) >>> print(epr.Nhze(Ham.I,ix,iy,iz,dim,Ham.Nucl,[0,0,1])) [[ 1.38128 0. 0. ] [ 0. 0. 0. ] [ 0. 0. -1.38128]]