Search found 4 matches

by dusanm
Thu Aug 23, 2018 9:03 am
Forum: Bugs
Topic: Different curves (number of lines) for different exp ranges
Replies: 2
Views: 3011

Re: Different curves (number of lines) for different exp ran

Thank you Stefan, Opt.treshold option solved the problem. With value 1e-7 all expected lines emerged.
by dusanm
Thu Aug 23, 2018 1:24 am
Forum: Bugs
Topic: Different curves (number of lines) for different exp ranges
Replies: 2
Views: 3011

Different curves (number of lines) for different exp ranges

Some lines are missing for some combination of Sys parameters and for some Exp ranges. The pepper gives different spectra for different simulation ranges. In this sample the spectra are compared with same Sys and different exp range. For some g some lines at low field disappear. clear, clc LW = 3; c...
by dusanm
Mon Apr 24, 2017 1:34 am
Forum: General forum
Topic: Fitting easyspin functions with lsqcurvefit problem
Replies: 3
Views: 1990

Re: Fitting easyspin functions with lsqcurvefit problem

Here is the code: % Fitting easyspin functions using lsqcurvefit clear; % open file, if you use open file: % [StrFile,StrDir,FilterIndex] = uigetfile('*.spe','Open file','c:\Users\Dusan\Documents\EPRmerenja\Marija ZoranSap'); % StrFullPath = [StrDir StrFile]; % open file, if you use direct link from...
by dusanm
Mon Apr 10, 2017 2:39 am
Forum: General forum
Topic: Fitting easyspin functions with lsqcurvefit problem
Replies: 3
Views: 1990

Fitting easyspin functions with lsqcurvefit problem

I am trying to use Matlab fitting function lsqcurvefit to fit easyspin based functions and it just does not work?! I make function which accept Intensity, B0 and linewidth, then I convert the values to Sys values, insert into pepper and it should behave as y=f(x) function. What I got is that I have ...