epraya.Caltriangle#

Caltriangle(sketch, Bmin, dB, allres, allint, transi, hulk, weight)#

Creates a sketch spectrum using a barycentral mesh of triangles to calculate the contribution of the resonant fields and their intensities in the final spectrum. The result of this process is later convolute to generate the corrected EPR spectrum.

Parameters:
  • sketch (np.array) – Array of zeros that will contain the resulting sketch.

  • Bmin (float) – Minimun value of the magnetic field.

  • dB (float) – Delta difference between the magnetic field values.

  • allres (list) – List of the resonant fields of the system.

  • allint (np.array) – List of the intensity of the spectrum, evaluated in the resonant fields.

  • transi (list) – List of the possible transitions between the energy levels, related to the resonant fields.

  • hulk (np.array) – Smaller convex poligon tha contains all the points require for the simulation.

  • weight (np.array) – Normalized value of the weight of the points to evaluate it’s contribution to the spectrum.