epraya.Mulpol#
- Mulpol(Hamer, Expe, graph=True)#
Function for the simulation of the EPR spectrum for powder samples of multiple interactive or non interactive systems (from 2 to 4 systems). If there is an interaction between the systems (electron-eletron or hiperfine), solves the total hamiltonian. Otherwise, use the function Calpowder and sums the contributions to the total spectrum.
- Parameters:
Hamer (Class) – Container for the hamiltonian parameters of the systems.
Expe (Class) – Container for the experimental conditions.
graph (Bool) – Plots the resulting spectrum.
- Returns:
fild1 (np.array) – Array of the magnetic field.
sumespct (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.Start(2) Ham.S1=1 Ham.S2=1 Ham.I1=1/2 Ham.I2=1/2 Ham.g1=np.array([2.003, 2, 2]) Ham.g2=np.array([3.003, 3, 3]) Ham.A1=np.array([200, 200, 200]) Ham.A2=np.array([100, 100, 100]) Ham.Hpp1=[0, 10] Exp.Freq1=9.4 Exp.Points1=4096 Exp.Temperature1=300 Exp.Frange1=[0,800] B,spc=epr.Mulpol(Ham,Exp)