Error using Spydan in 6.0.0 version
Posted: Sun Sep 08, 2019 10:57 am
Hello,
I'm attempting to simulate a simple two pulse echo experiment (monochromatic) using the code at the bottom of this post. Matlab is throwing the following Error.
Many thanks for any help/advice!
I'm attempting to simulate a simple two pulse echo experiment (monochromatic) using the code at the bottom of this post. Matlab is throwing the following Error.
Is it not possible to specify custom sequences (i.e. 'Exp.Sequence = {P90 tau P180 tau}') or is the problem related to something else?Error using round
Too many input arguments.
Error in s_sequencer (line 465)
Error in spidyan (line 101)
Error in spiTest (line 24)
[t, sig] = spidyan(Sys, Exp);
Many thanks for any help/advice!
Code: Select all
clear;
Sys.g = [2.009 2.006 2.002];
Sys.A = [11 11 95]; % MHz
Sys.Nucs = '14N';
Sys.lwpp = 5; % mT
Exp.mwFreq = 9.12; % GHz
Exp.Field = 324.9; % m
P90.Type = 'rectangular';
P90.tp = 0.032; %us
P90.flip = pi/2;
P180.Type = 'rectangular';
P180.tp = 0.032; %us
P180.Flip = pi;
tau = 0.5;
Exp.Sequence = {P90 tau P180 tau};
Exp.DetWindow = [-0.05 0.05];
[t, sig] = spidyan(Sys, Exp);