Search found 3 matches

by dgagnon
Wed Jul 05, 2017 3:36 pm
Forum: Bugs
Topic: saffron not handling orientation selection correctly
Replies: 2
Views: 2274

saffron not handling orientation selection correctly

Saffron does not appear to be handling orientation selection correctly for Mims ENDOR. Attached is a self contained script with axial A tensors for viewing the difference in output from salt and saffron. Running saffron with variable Euler angles does not produce a significant difference either.
by dgagnon
Mon Jun 19, 2017 5:50 pm
Forum: General forum
Topic: esfit error line 130 using custom function
Replies: 2
Views: 1328

Re: esfit error line 130 using custom function

You are correct. So the correct way to do this is to make the parameter(s) I want to vary an array instead of having an array of structures, i.e. do Exp.Field = [350, 351, 352, 353...]. Then per iteration of my custom function create a structure input that salt will be happy with, i.e. NewExp.Field ...
by dgagnon
Mon Jun 19, 2017 4:23 pm
Forum: General forum
Topic: esfit error line 130 using custom function
Replies: 2
Views: 1328

esfit error line 130 using custom function

I wrote a custom function that outputs a vector of residuals from experimental - simulated for a dozen or so spectra. I'm trying to use esfit to minimize this vector from my function, but keep getting an error. Specifically: Error using ~= Too many input arguments. Error in /home/derek/Documents/MAT...