diff --git a/algorithms/ExportLCModelBasis.m b/algorithms/ExportLCModelBasis.m index 7ecfa191c6d52222692a21318e7529d971010c1a..6e1c91421dfca41c2bda559a2b17dcbc640cd6d0 100644 --- a/algorithms/ExportLCModelBasis.m +++ b/algorithms/ExportLCModelBasis.m @@ -51,7 +51,7 @@ flagY = false; switch choice case 'Yes' flagY = true; - time = linspace(0,dwellTimeMs*NSamples,NSamples); + time = linspace(0,dwellTimeMs*NSamples,NSamples); % calculation in milliseconds! FWHM = 3; %Hz T2 = 1/(pi*FWHM)*1e+3; %ms % Mo = 4.9*(1+T2)/T2; %in order the peak to be 4.9 in the FD-real part diff --git a/algorithms/ImportLCModelBasis.m b/algorithms/ImportLCModelBasis.m index 4bd8cfd3522a65a09bce48e945d7f6af5f12450c..4efb06c8924b4daebc49cdbf190fc95e537d2212 100644 --- a/algorithms/ImportLCModelBasis.m +++ b/algorithms/ImportLCModelBasis.m @@ -12,9 +12,9 @@ if ~(strcmp(filepath(end),'\') || strcmp(filepath(end),'/')) filepath = [filepath '/']; end -% if ~contains(filename,'.raw', 'IgnoreCase',true) -% filename = strcat(filename, '.RAW'); -% end +if ~contains(filename,'.raw', 'IgnoreCase',true) + filename = strcat(filename, '.RAW'); +end %open the .RAW data filename = strcat(filepath, filename); %