Legend:
 Unmodified
 Added
 Removed

aedes.m
r171 r177 175 175 end 176 176 177 DATA{1}.FTDATA = abs(DATA{1}.KSPACE);177 %DATA{1}.FTDATA = abs(DATA{1}.KSPACE); 178 178 end 179 179 elseif isnumeric(DATA)  islogical(DATA) … … 2292 2292 2293 2293 % Check if data file contain only kspace information 2294 if isfield(DATA{1},'KSPACE') && ... 2295 (isempty(DATA{1}.FTDATA) & ~isempty(DATA{1}.KSPACE) ) 2296 DATA{1}.FTDATA = abs(DATA{1}.KSPACE); 2294 if length(DATA)==1 && isfield(DATA{1},'KSPACE') && ... 2295 (isempty(DATA{1}.FTDATA) & ~isempty(DATA{1}.KSPACE) ) 2296 drawnow; 2297 resp=questdlg(['The inputted DATA structure contains only kspace',... 2298 ' information. Do you want to view real, imaginary, or absolute',... 2299 ' part of the complex kspace?'],... 2300 'Complex data inputted',... 2301 'Real','Imaginary','Absolute','Absolute'); 2302 if strcmpi(resp,'Real') 2303 DATA{1}.FTDATA = real(DATA{1}.KSPACE); 2304 elseif strcmpi(resp,'Imaginary') 2305 DATA{1}.FTDATA = imag(DATA{1}.KSPACE); 2306 elseif strcmpi(resp,'Absolute') 2307 DATA{1}.FTDATA = abs(DATA{1}.KSPACE); 2308 else 2309 DATA=[]; 2310 return 2311 end 2297 2312 end 2298 2313
Note: See TracChangeset
for help on using the changeset viewer.