Exp.Ordering in fitting
Posted: Wed Feb 26, 2020 9:30 am
Dear all,
I am a newcomer to easyspin. I have some elementary questions, as well as specific ones, I'd appreciate your help on any of these:
1. What does chili assume on the relative orientation of the molecular frame relative to the lab frame? Does it average on all 3-dimensional orientations?
2. Do both chili and pepper alow for rotational relaxation times?
3. To fix the relative orientation I tried the command Exp.Ordering = @(phi,theta) gaussian(theta,0,pi/8), is it valid in fitting data with pepper?
3. Can I vary the variables of Exp.Ordering so that the fit will find the best values? e.g. Vary.theta=[pi/2 pi/2] ? I had to define also Sys.theta=[0,pi/8] to make it run.
4. I add below a program that I tried, it does run including iterations on theta, but stops being rather far from a good fit. I will appreciate any comments on how to improve the program. (the data is a text file 4b.txt which somehow the attachment option does not allow me).
5. I couldn't make this run with chili, which seems to me more suitable to allow for correlation times. Is there such an option with more changes?
Thanks for any help,
Baruch
clear, clf
Sys.S = [1]; % two spins
Sys.g = [2.01, 2.007, 2.0024];
Sys.Nucs = '14N';
Sys.I=1;
Sys.A = mt2mhz([0.65,0.55,3.35]);
Sys.lwpp = [2];
Sys.logtcorr = [-11 -5 -8]; % seconds
Sys.D=[270];
Sys.theta=[0,pi/8]
Exp.Field = 23.0; % [B-static] = mT
Exp.mwCenterSweep = [0.68 0.34]; % [Radio Frequency] = GHz
Exp.nPoints = 9199;
Exp.Harmonic = 0;
Exp.Ordering = @(phi,theta) gaussian(theta,0,pi/8)
% vary parameters in fit
Vary.logtcorr = [3.5,3.5,3.5];
Exp.Ordering = @(phi,theta) gaussian(theta,0,pi/8)
Vary.theta=[pi/2 pi/2]
Vary.lwpp = [10];
Vary.D = [1000];
spc=textread('4b.txt');
SimOpt.Method = 'perturb'
esfit('pepper',spc,Sys,Vary,Exp,SimOpt)
I am a newcomer to easyspin. I have some elementary questions, as well as specific ones, I'd appreciate your help on any of these:
1. What does chili assume on the relative orientation of the molecular frame relative to the lab frame? Does it average on all 3-dimensional orientations?
2. Do both chili and pepper alow for rotational relaxation times?
3. To fix the relative orientation I tried the command Exp.Ordering = @(phi,theta) gaussian(theta,0,pi/8), is it valid in fitting data with pepper?
3. Can I vary the variables of Exp.Ordering so that the fit will find the best values? e.g. Vary.theta=[pi/2 pi/2] ? I had to define also Sys.theta=[0,pi/8] to make it run.
4. I add below a program that I tried, it does run including iterations on theta, but stops being rather far from a good fit. I will appreciate any comments on how to improve the program. (the data is a text file 4b.txt which somehow the attachment option does not allow me).
5. I couldn't make this run with chili, which seems to me more suitable to allow for correlation times. Is there such an option with more changes?
Thanks for any help,
Baruch
clear, clf
Sys.S = [1]; % two spins
Sys.g = [2.01, 2.007, 2.0024];
Sys.Nucs = '14N';
Sys.I=1;
Sys.A = mt2mhz([0.65,0.55,3.35]);
Sys.lwpp = [2];
Sys.logtcorr = [-11 -5 -8]; % seconds
Sys.D=[270];
Sys.theta=[0,pi/8]
Exp.Field = 23.0; % [B-static] = mT
Exp.mwCenterSweep = [0.68 0.34]; % [Radio Frequency] = GHz
Exp.nPoints = 9199;
Exp.Harmonic = 0;
Exp.Ordering = @(phi,theta) gaussian(theta,0,pi/8)
% vary parameters in fit
Vary.logtcorr = [3.5,3.5,3.5];
Exp.Ordering = @(phi,theta) gaussian(theta,0,pi/8)
Vary.theta=[pi/2 pi/2]
Vary.lwpp = [10];
Vary.D = [1000];
spc=textread('4b.txt');
SimOpt.Method = 'perturb'
esfit('pepper',spc,Sys,Vary,Exp,SimOpt)