Search found 9 matches

by lkrishna
Sun Jul 09, 2017 7:20 pm
Forum: General forum
Topic: Exporting simulated data
Replies: 5
Views: 2450

Re: Exporting simulated data

Hi!
I figured how to save simulated data. Thanks!
by lkrishna
Sun Jul 09, 2017 7:11 pm
Forum: General forum
Topic: Exporting simulated data
Replies: 5
Views: 2450

Re: Exporting simulated data

Hi Stefan
Thanks for your reply. When I save the data using the command below, only experimental data is saved.
data = [B(:) spc(:)];
xlswrite('myfile',data);
Not sure how to save simulated data?
by lkrishna
Mon Jul 03, 2017 12:15 pm
Forum: General forum
Topic: Exporting simulated data
Replies: 5
Views: 2450

Exporting simulated data

Hi, I'm new to easyspin and matlab. My question is how do I export the simulated spectrum, as excel file, that was generated using esfit. My code is below: [B,spc] = textread('Test_partial.txt','%f %f'); Exp.mwFreq = 9.48; Exp.Range = [330 350]; Sys0.S = 3/2; Sys0.g = 1.99; Sys0.lw = [0 1]; Vary.g =...
by lkrishna
Wed Nov 18, 2015 3:01 pm
Forum: General forum
Topic: Fitting ESR spectrum with two independent Spins
Replies: 1
Views: 2200

Re: Fitting ESR spectrum with two independent Spins

I figured this one! Thank you!
by lkrishna
Wed Nov 18, 2015 2:00 pm
Forum: General forum
Topic: Fitting ESR spectrum with two independent Spins
Replies: 1
Views: 2200

Fitting ESR spectrum with two independent Spins

Hi, I am trying to use esfit to simulate a spectrum for a system with two independent 1/2 spins and different g-value. When I run the code below I get SEVERAL errors Error using .* Matrix dimensions must agree. Error in validatespinsys Error in pepper Error in pepper Error in esfit Error in esfit_si...
by lkrishna
Tue Nov 17, 2015 11:13 am
Forum: General forum
Topic: Help with fitting parameters
Replies: 3
Views: 3445

Re: Help with fitting parameters

Thanks Stefan! I tried varying the g-strain and added some Lorentzian broadening. It seems to help. When I start the simulation I see that at some point there are 2 peaks and then eventually it becomes one broad peak. I am wondering which parameter causes that to happen? There is a new error that ap...
by lkrishna
Mon Nov 16, 2015 10:07 pm
Forum: General forum
Topic: Help with fitting parameters
Replies: 3
Views: 3445

Help with fitting parameters

Hi, The ESR data (attached) of Na in Si is broad on the left side compared to right. This is a powder pattern. Any suggestions on what fitting parameters should I use to capture that broadening. I was thinking this could be axially symmetric g. I did use 2 separate g-values but that does not help to...
by lkrishna
Mon Nov 16, 2015 10:47 am
Forum: General forum
Topic: Error using pepper! Please help!
Replies: 2
Views: 1892

Re: Error using pepper! Please help!

Hi Matt! That worked great! Thanks you so much. I have few more questions: 1. Is there any way I can have my experimental ESR and simulated spectrum in the same window and vary fitting parameters so that I can see how good the fit is? 2. When I'm running the code in the previous post, I tried to exp...
by lkrishna
Sun Nov 15, 2015 7:20 pm
Forum: General forum
Topic: Error using pepper! Please help!
Replies: 2
Views: 1892

Error using pepper! Please help!

Hi, I'm new to matlab and easyspin software. I was running this code: Sys.g = [ 2.08 2.085]; Sys.lwpp = [0.5]; Exp.mwFreq = 9.45; pepper(Sys,Exp); And it worked fine. Then I changed a command ----from Sys.lwpp to Sys.lw and this generated an error- Error using pepper Sys.lw and Sys.lwpp cannot be us...