epraya.Plotsim#

Plotsim(espac1, inten1, resfield, espac2, enegria, vectors, curvebasis, splines, resonants, Ham, Exp, Mcolor)#

Function to produce the graph of the spectrum and the energy diagram.

Parameters:
  • espac1 (np.array) – Array of the magnetic field values.

  • inten1 (np.array) – Array of the intensities calculated in the resonant fields.

  • resfield (np.array) – Array of the resonant fields.

  • espac2 (np.array) – Array of the magnetic field values to calculate the energy diagram.

  • enegria (np.array) – Array of the energy values.

  • vectors (np.array) – Eigen vectors of the hamiltonian.

  • curvebasis (np.array) – Array of the states at high field.

  • splines (Scipy class) – Third order polinomium that is use to find the resonant fields.

  • resonants (dictionary) – Contains transition type and resonant fields information.

  • Ham (Class) – Container for the hamiltonian parameters of the system.

  • Exp (Class) – Container for the experimental conditions.

  • Mcolor (Bool) – Bool value to follow with colors the change in the expectation value for |mS| near anticrossings.