Page 1 of 1

Multicomponent in pepper mode

Posted: Tue Jun 09, 2015 11:56 am
by jpablo_sa
Dear Dr. Stefan,
I have troubles when simulate multicomponent systems in pepper, the problem comes from the experimental frequency data:

>> clear
[B,spc] = eprload('/Users/cat2_PAA_5s_150Kb.DSC');
Sys1.g = [2.0081 2.0368];
Sys1.lw = 1;
Sys1.tcorr = 5e-9;
Sys2.g = [2.0071];
Sys2.lw = 1.5;
Sys1.tcorr = 5e-9;
Exp.mwFreq = 9.439709;
Exp.CenterSweep = [335.8 15];
pepper(Sys1,Sys2,Exp);


Error using pepper (line 184)
Please supply the microwave frequency in Exp.mwFreq.

Error in pepper (line 105)




Thanyou in advance for your help

JPSV

Re: Multicomponent in pepper mode

Posted: Tue Jun 09, 2015 1:29 pm
by Matt Krzyaniak
Try:

Code: Select all

[B,spc] = eprload('/Users/cat2_PAA_5s_150Kb.DSC'); 
Sys1.g = [2.0081 2.0368];
Sys1.lw = 1;
Sys1.tcorr = 5e-9;
Sys2.g = [2.0071];
Sys2.lw = 1.5;
Sys1.tcorr = 5e-9;
Exp.mwFreq = 9.439709; 
Exp.CenterSweep  = [335.8 15]; 
pepper({Sys1,Sys2},Exp);

note the { } around sys1 and sys2

Re: Multicomponent in pepper mode

Posted: Tue Jun 09, 2015 1:51 pm
by jpablo_sa
Many thanks, it works!

JPSV