an esfit problem - more details
Posted: Thu Aug 15, 2019 4:25 am
Ok, 20 reads of my first post and no comments - I have to do better than that. My problem is in the following. I wrote a script for tyrosine radical EPR spectra simulation, in which three principal g values, hyperfine splittings, and Euler angles are functions of just two input variables. The script works fine and I can see differences in the simulated spectra when I change these two input numbers (and the differences are quite right). However, what I cannot do at this stage is to fit the simulated spectrum to the experimental one using esfit. I setup my two input variables as Sys parameters, for example,
Sys0.theta = 56;
Vary.theta = 2;
Sys0.ro = 38;
Vary.ro = 3;
but when I run esfit asking to vary just these two parameters it all comes back to the starting point, as a matter of fact it doesn't move away from the starting point, which is probably understandable - the script reads the zero values every cycle.
So my question is whether there is a way around this and I could use esfit to vary two variables on which the Hamiltonian parameters are defined (without explicitly varying the latter) or should I write a different fitting routine?
I will appreciate any feedback,
Dima Svistunenko
Sys0.theta = 56;
Vary.theta = 2;
Sys0.ro = 38;
Vary.ro = 3;
but when I run esfit asking to vary just these two parameters it all comes back to the starting point, as a matter of fact it doesn't move away from the starting point, which is probably understandable - the script reads the zero values every cycle.
So my question is whether there is a way around this and I could use esfit to vary two variables on which the Hamiltonian parameters are defined (without explicitly varying the latter) or should I write a different fitting routine?
I will appreciate any feedback,
Dima Svistunenko