epraya.Hval#
- class Hval(S=0.5, g=<factory>, I=0.0, L=0.0, A=<factory>, Q=<factory>, D=<factory>, Bk2=<factory>, Bk4=<factory>, Bk6=<factory>, lc=0.0, Hpp=<factory>, eta=0.5, weight=0.0, Nucl='None')#
Bases:
objectContainer class for hamiltonial’s parameters. Must be initialized with a variable like
Ham. To change one parameter use the sintaxisHam.S=1/2.- Parameters:
S (float) – Spin operator value ex. (1/2,0,3/2).
g (array_like or float) – g value of system, can be float, for isotropic case or array for anisotropic.
I (float) – Nuclear spin value
L (float) – Angular momentum
A (array_like or float) – Hyperfine constant, float for isotropic and array for anisotropic
Q (array_like or float) – Quadrupole nuclear interaction constant, float for isotropic and array for anisotropic
D (array_like) – Zero field interaction constants D and E, two value array [0,0]
Bk2 (array_like) – Stevens k=-/+2 constants
Bk4 (array_like) – Stevens k=-/+4 constants
Bk6 (array_like) – Stevens k=-/+6 constants
lc (float) – Spin-orbit interaction constant
Hpp (array_like) – Peak to peak distance for the voigtian function using [Hg,Hl], for gaussian and lorentzian distance
eta (float) – weight of the gaussian contribution to the voigtian function, from 0 to 1. If eta is 0, the function is lorentzian and if eta is 1, the function is gaussian.
weight (float) – Dummy variable by the moment
Nucl (string) – Isotope of the sample. Can be the quantum number and the element or only the element (‘55Mn’ or ‘Mn’)
Example
>>> import epraya as epr >>> Ham=epr.Hval() >>> Ham.S=1 >>> Ham.I=1/2 >>> Ham.g=[2.003,1.8,1.5] >>> print(Ham) Hval(S=1, g=[2.003, 1.8, 1.5], I=0.5, L=0.0, A=array([0, 0, 0]), Q=array([0, 0, 0]), D=array([0, 0]), Bk2=[0, 0, 0, 0, 0], Bk4=[0, 0, 0, 0, 0, 0, 0, 0, 0], Bk6=[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0], lc=0.0, Hpp=array([0, 1]), eta=0.5, weight=0.0, Nucl='None')