Skip to content

Commit

Permalink
Update fit_plotBasis.m
Browse files Browse the repository at this point in the history
Undo some crossfire from 2c083f8.
  • Loading branch information
schorschinho committed Nov 29, 2023
1 parent c1233e5 commit 41b5466
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions libraries/FID-A/fitTools/fit_plotBasis.m
Original file line number Diff line number Diff line change
Expand Up @@ -65,20 +65,6 @@
nBasisFct = nBasisFct + basisSet.nMM;
end

%Calculate t and ppm arrays using the calculated parameters:
sz = basisSet.sz;
spectralwidth = basisSet.spectralwidth;
Bo = basisSet.Bo;
f=[(-spectralwidth/2)+(spectralwidth/(2*sz(1))):spectralwidth/(sz(1)):(spectralwidth/2)-(spectralwidth/(2*sz(1)))];
ppm=f/(Bo*42.577);

% Siemens data assumes the center frequency to be 4.7 ppm:
centerFreq = 4.7;
ppm=ppm + centerFreq;
basisSet.specs = fftshift(fft(basisSet.fids, [], 1));

basisSet.ppm = ppm;

% Plot the basis functions
if stagFlag
% Staggered plots will be in all black and separated by the mean of the
Expand Down

0 comments on commit 41b5466

Please sign in to comment.