We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1519e85 commit 7316269Copy full SHA for 7316269
+toppe/writemod.m
@@ -144,8 +144,8 @@ function writemod(sysGE, varargin)
144
dtycyc = length(find(abs(b1)>0.2236*max(abs(b1)))) / length(b1);
145
maxpw = dtycyc;
146
num = 1;
147
-%max_b1 = sysGE.maxRF; % Gauss. Full instruction amplitude (32766) should produce max_b1 RF amplitude,
148
-max_b1 = max(abs(b1(:))); % Gauss
+max_b1 = sysGE.maxRF; % Gauss. Full instruction amplitude (32766) should produce max_b1 RF amplitude,
+%max_b1 = max(abs(b1(:))); % Gauss
149
% as long as other RF .mod files (if any) use the same max_b1.
150
max_int_b1_sq = max( cumsum(abs(b1).^2)*dt*1e3 ); % Gauss^2 - ms
151
max_rms_b1 = sqrt(mean(abs(b1).^2)); % Gauss
0 commit comments