epraya.JEva#

class JEva#

Bases: object

Container jax-class for the range of variation of the hamiltonian parameters by defining the minimum and then the maximum value of each variable. Must be initialized with a variable like Vary. To change one parameter use the sintaxis Vary.g=[1.5,2.5,1.0,2.0,0.0,1.0].

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.JEva()
>>> Vary.g=[1.5,2.5,1.0,2.0,0.0,1.0]
>>> Vary.A=[100,300,200,400,200,250]
>>> Vary.Hpp=[0,20,10,15]
>>> print(Vary)
JEva(g=[1.5, 2.5, 1.0, 2.0, 0.0, 1.0],
A=[100, 300, 200, 400, 200, 250], Q=0.0,
D=0.0, Hpp=[0, 20, 10, 15], weight=0.0)