Changeset 138 for aedes_readvnmr.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_readvnmr.m

    r128 r138  
    511511    phasetable = {'t1',procpar.pe_table(:)};
    512512  elseif isempty(phasetable) && isfield(procpar,'pelist') && ...
    513       ~isempty(procpar.pelist) && isnumeric(procpar.pelist)
     513      ~isempty(procpar.pelist) && isnumeric(procpar.pelist) && ...
     514      length(procpar.pelist)>1
    514515    phasetable = {'t1',reshape(procpar.pelist,procpar.etl,[]).'};
    515516  end
     
    663664 
    664665  if Dat.UseCustomRecon
     666    if Dat.ShowWaitbar
     667      wbh=aedes_calc_wait(sprintf('%s\n%s',...
     668        ['Using custom function ',upper(func2str(recon_func{recon_func_ind}))],...
     669        ['to reconstruct sequence ',procpar.seqfil{1}]));
     670      drawnow
     671    end
    665672    [kspace,data,msg_out]=recon_func{recon_func_ind}(kspace,Dat,procpar);
     673    if Dat.ShowWaitbar
     674      close(wbh)
     675    end
    666676    if isempty(data) && Dat.ReturnFTData
    667677      % Fourier transform data if not done in custom reconstruction code
     
    10791089nt = procpar.nt;
    10801090nf = procpar.nf;
     1091ne = procpar.ne;
    10811092if isfield(procpar,'flash_converted')
    10821093  % Don't try to sort already sorted data...
     
    11491160    kspace = reshape(kspace,[np/2,nv,ns*ArrayLength,1,nRcvrs]);
    11501161  elseif strcmpi(seqcon(2:3),'cc')
    1151     kspace = reshape(kspace,[np/2,nv,nRcvrs,ArrayLength*ns]);
    1152     kspace = permute(kspace,[1 2 4 3]);
     1162    kspace = reshape(kspace,[np/2,ns,ArrayLength,nRcvrs,nv]);
     1163    kspace = permute(kspace,[1 5 2 3 4]);
    11531164    kspace = reshape(kspace,[np/2,nv,ns*ArrayLength,1,nRcvrs]);
    11541165  end
Note: See TracChangeset for help on using the changeset viewer.

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