epraya.JEmva#
- class JEmva#
Bases:
objectJax-container class for the range of variation of the hamiltonian parameters by defining the minimum and then the maximum value of each variable. Works for 2 systems and must be initialized with a variable like
Vary. To change one parameter use the sintaxisVary.g=[1.5,2.5,1.0,2.0,0.0,1.0].Note: The Hpp is the same for the two systems.
- Parameters:
g (list[float]) – Range to vary the three values of the g tensor.
A (list[float]) – Range to vary the three values of the A tensor.
Q (list[float]) – Range to vary the three values of the Q tensor.
D (list[float]) – Range to vary the two values of the D tensor.
Hpp (list[float]) – Range to vary the two values of the peak to peak distance.
weight (float) – Dummy variable by the moment.
Example
>>> import epraya as epr >>> Vary=epr.JEmva() >>> Vary.g1=[1.5,2.5,1.0,2.0,0.0,1.0] >>> Vary.A1=[100,300,200,400,200,250] >>> Vary.g2=[1.2,1.5,2.003,2.005,2.5,2.6] >>> Vary.A2=[200,250,500,600,200,250] >>> Vary.Hpp=[0,20,10,15] >>> print(Vary) JEmva(g1=[1.5, 2.5, 1.0, 2.0, 0.0, 1.0], A1=[100, 300, 200, 400, 200, 250], Q1=0.0, D1=0.0, g2=[1.2, 1.5, 2.003, 2.005, 2.5, 2.6], A2=[200, 250, 500, 600, 200, 250], Q2=0.0, D2=0.0, Hpp=[0, 20, 10, 15], weight=0.0)