epraya.Jresonant#
- Jresonant(Hamer, Expe, graph=True, table=True, Nucl='None')#
Wrap function for the simulation of the EPR spectrum for monocrystal samples. Also creates the table of transitions and energy diagrams of the system.
- Parameters:
Hamer (Class) – Container for the hamiltonian parameters of the system.
Expe (Class) – Container for the experimental conditions.
graph (Bool) – Plots the resulting spectrum.
table (Bool) – Creates the table of transitions.
Nucl (str) – Isotope of the sample. Can be the quantum number and the element or only the element (‘55Mn’ or ‘Mn’)
- Returns:
Blist (jax.np.array) – Array of the magnetic field.
epc (jax.np.array) – Array of the counts of the spectrum.
Example
import matplotlib.pyplot as plt import epraya as epr import numpy as np Ham,Exp,_=epr.Jstart() Ham.S=3/2 Ham.I=1 Ham.g=np.array([2.003, 2, 2]) Ham.A=np.array([200, 200, 200]) #Hyperfine constant Ham.D=np.array([800,200]) #Zero field D and E Ham.Hpp=[0,10] Exp.Freq=9.4 Exp.Points=4096 Exp.Temperature=300 Exp.Frange=[0,800] B,spc=epr.Jresonant(Ham,Exp) .. image:: /_static/tabaj.png :alt: Table of transitions of the Jresonant function :align: center