Changeset 107 for aedes_readfid.m


Ignore:
Timestamp:
Mar 12, 2010, 2:59:26 PM (9 years ago)
Author:
tjniskan
Message:
  • Added a simple waitbar for reading multireceiver EPI-data as it can

be very slow...

M aedes_readfid.m
M aedes_revision.m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aedes_readfid.m

    r106 r107  
    12811281    tmp_data = [];
    12821282    kspace2 = [];
     1283    nVols = size(kspace,3)/nRcv-1;
     1284    lnum = length(num2str(nVols));
     1285    lnumstr = num2str(lnum);
     1286    bsl = lnum*2+1;
     1287    fprintf(1,['Processing volume...%0',lnumstr,'d/%0',lnumstr,'d'],1,nVols);
    12831288    for kk=1:(size(kspace,3)/nRcv-1)
    12841289      for ii=1:nRcv
     
    12941299        data(:,:,:,kk+1) = sqrt(mean(tmp_data(:,:,:,2,:).*conj(tmp_data(:,:,:,2,:)),5));
    12951300      end
    1296     end
     1301      fprintf(1,repmat('\b',1,bsl));
     1302      fprintf(1,['%0',lnumstr,'d/%0',lnumstr,'d'],kk,nVols);
     1303    end
     1304    fprintf(1,'\n')
    12971305    %kspace = kspace2;
    12981306    %data = fftshift(fftshift(fft(fft(kspace,[],1),[],2),1),2);
Note: See TracChangeset for help on using the changeset viewer.

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