Lorentzian/voigt broadening error: "Too many input arguments"
I am trying to apply some Lorentzian broadening to a system I am looking at, and I keep getting the error "Simulation function error: Too many input arguments"
Any ideas what could be causing this issue?
[B, spc] = eprload('AgII');
% Initial System for Fitting
Sys0.g = [2.209 2.072 2.031];
Sys0.S = 0.5;
%Sys0.A = mt2mhz([500, 4500]/10); %enter values in gauss
Sys0.A = [80 72.9 70.3; 40 57.2 43.1; 40 36.7 54.3]; %enter values in MHz
Sys0.Nucs = '107Ag, 14N, 14N'
Sys0.lw = [0 1];%Initial Vary Windows
Vary.g = [0.1 0 0];
Vary.A = [30 0 0; 30 0 0; 30 0 0];
Vary.lw = [0 1];%Experimental Parameters
Exp.Temperature = 80;
Exp.mwFreq = 9.647426
Exp.Range = [280 380]esfit(spc,@pepper,{Sys0,Exp},{Vary})