Changeset 138 for aedes_data_read.m


Ignore:
Timestamp:
Aug 17, 2010, 12:52:55 PM (9 years ago)
Author:
tjniskan
Message:
  • Added option to VNMR preferences to use the new version of the VNMR

read function

  • Added read support for certain CINE sequences
  • Added a command line preference option for inputting data aspect

ratio manually in created mosaic images

M aedes_readfidprefs.m
M aedes_data_read.m
M aedes_readvnmr.m
M aedes_export_gui.m
M aedes_revision.m
A vnmr_recon/cine_recon.m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aedes_data_read.m

    r132 r138  
    299299  OrientImages = 'on';
    300300  RemoveEPIphaseIm = 'off';
     301  VnmrUseOldReadFcn = true;
    301302 
    302303  %% Get defaults for Return
     
    375376  end
    376377 
     378  %% Get default read function
     379  if ispref('Aedes','VnmrUseOldReadFcn')
     380    VnmrUseOldReadFcn = getpref('Aedes','VnmrUseOldReadFcn');
     381  else
     382    VnmrUseOldReadFcn = true;
     383  end
     384 
     385 
    377386 
    378387  %% Read data from fid file
    379388  try
    380     DATA=aedes_readfid([f_path,'fid'],...
    381           'procpar',procpar,...
    382           'wbar',showWbar,...
    383           'Return',ReadfidReturn,...
    384           'DCcorrection',ReadfidDCcorrection,...
    385           'Zeropadding',ReadfidZeropadding,...
    386           'sorting',ReadfidSorting,...
    387           'FastRead',ReadfidFastRead,...
    388           'Precision',ReadfidPrecision,...
    389     'OrientImages',OrientImages,...
    390     'RemoveEPIphaseIm',RemoveEPIphaseIm);
     389    if VnmrUseOldReadFcn
     390      DATA=aedes_readfid([f_path,'fid'],...
     391        'procpar',procpar,...
     392        'wbar',showWbar,...
     393        'Return',ReadfidReturn,...
     394        'DCcorrection',ReadfidDCcorrection,...
     395        'Zeropadding',ReadfidZeropadding,...
     396        'sorting',ReadfidSorting,...
     397        'FastRead',ReadfidFastRead,...
     398        'Precision',ReadfidPrecision,...
     399        'OrientImages',OrientImages,...
     400        'RemoveEPIphaseIm',RemoveEPIphaseIm);
     401    else
     402      DATA=aedes_readvnmr([f_path,'fid'],...
     403        'procpar',procpar,...
     404        'wbar',showWbar,...
     405        'Return',ReadfidReturn,...
     406        'DCcorrection',ReadfidDCcorrection,...
     407        'Zeropadding',ReadfidZeropadding,...
     408        'sorting',ReadfidSorting,...
     409        'FastRead',ReadfidFastRead,...
     410        'Precision',ReadfidPrecision,...
     411        'OrientImages',OrientImages,...
     412        'RemoveEPIphaseIm',RemoveEPIphaseIm);
     413    end
    391414    if isempty(DATA)
    392415      DATA=[];
Note: See TracChangeset for help on using the changeset viewer.

Powered by Trac 1.0.9.Copyright © Juha-Pekka Niskanen 2008