resonator
resonator
The resonator function appears to be an amplitude-only compensation, but then a sweep rate dependence appears to be a favoured method for compensation as it is less susceptible to amplifier non-linearities. Sorry if I missed it, but why isn't the sweep rate available as a compensation method? Ideally both methods could be used simultaneously with user-defined weightings.
-
- EasySpin Creator
- Posts: 1120
- Joined: Mon Jul 21, 2014 10:11 pm
- Location: University of Washington
Re: resonator
Thanks for the suggestion. We have opened an issue about this.
-
- EasySpin Creator
- Posts: 1120
- Joined: Mon Jul 21, 2014 10:11 pm
- Location: University of Washington
Re: resonator
Turns out this is already implemented in
pulse
. Here is an example (written by Claudia):clear, clf
% Sech/tanh pulse
%--------------------------------------------------------------------
Par.Type = 'sech/tanh'; % pulse shape
Par.tp = 0.200; % pulse length, µs
Par.Frequency = [-80 80]; % pulse frequency sweep range, MHz
Par.beta = 8; % truncation parameter, used as (beta/tp)
Par.Flip = pi; % pulse flip angle
[t{1},IQ{1},modulation{1}] = pulse(Par);
% Resonator properties
%--------------------------------------------------------------------
Par.mwFreq = 33.85; % microwave frequency, GHz
Par.ResonatorFrequency = 33.9; % resonator center frequency, GHz
Par.ResonatorQL = 200; % loaded Q-factor of resonator
% Recalculate pulse with adapted sweep rate
%--------------------------------------------------------------------
[t{2},IQ{2},modulation{2}] = pulse(Par);