Changeset 153 for aedes_readvnmr.m


Ignore:
Timestamp:
Jan 20, 2011, 2:17:49 PM (8 years ago)
Author:
tjniskan
Message:
  • Added support for Various EPI sequences in vnmr_recon/epi_recon.m.

M aedes_readvnmr.m
M aedes_revision.m
M vnmr_recon/epi_recon.m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aedes_readvnmr.m

    r152 r153  
    142142%                                               % volumes) used for
    143143%                                               % processing multireceiver
    144 %                                               % EPI data. Default=100
     144%                                               % EPI data. Default=300
    145145%
    146146%        'EPIPhasedArrayData' : ['on'|{'off'}]  % Return data from
     
    176176% medical images
    177177%
    178 % Copyright (C) 2010 Juha-Pekka Niskanen <Juha-Pekka.Niskanen@uku.fi>
     178% Copyright (C) 2010 Juha-Pekka Niskanen <Juha-Pekka.Niskanen@uef.fi>
    179179%
    180180% Department of Physics, Department of Neurobiology
     
    824824%           Dat.precision));
    825825
    826 kspace = complex(zeros(hdr.FileHeader.np/2*hdr.FileHeader.ntraces,...
    827         hdr.FileHeader.nblocks,Dat.precision));
     826kspace = complex(zeros(hdr.FileHeader.np/2,...
     827        hdr.FileHeader.ntraces*hdr.FileHeader.nblocks,Dat.precision));
    828828
    829829
     
    10441044    tmp=reshape(tmp,nVals+hdr.FileHeader.np*hdr.FileHeader.ntraces,[]);
    10451045    tmp(1:nVals,:)=[];
    1046     %tmp=reshape(tmp,hdr.FileHeader.np,[]);
     1046    tmp=reshape(tmp,hdr.FileHeader.np,[]);
    10471047
    10481048    if ii==nBlocks
    1049       inds = ((ii-1)*nbh+1):size(kspace,2);
     1049      inds = ((ii-1)*nbh*hdr.FileHeader.ntraces+1):size(kspace,2);
    10501050    else
    1051       inds = ((ii-1)*nbh+1):ii*nbh;
     1051      inds = ((ii-1)*nbh*hdr.FileHeader.ntraces+1):ii*nbh*hdr.FileHeader.ntraces;
    10521052    end
    10531053
Note: See TracChangeset for help on using the changeset viewer.

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