Changeset 157


Ignore:
Timestamp:
Feb 2, 2011, 10:48:11 AM (8 years ago)
Author:
tjniskan
Message:
  • Tried to fix some navigator echo issues in reconstructing EPIP data

M aedes_revision.m
M vnmr_recon/epi_recon.m

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • aedes_revision.m

    r156 r157  
    9393% bash-script every time it is called so that this file "aedes_revision.m" is
    9494% always in the list of committed files. DO NOT EDIT THE NEXT LINE!!!
    95 % - Svn Hook -
     95% - SVN Hook -
  • vnmr_recon/epi_recon.m

    r153 r157  
    9595       
    9696        % Remove navigators
    97         if nNav~=0
    98                 nav_data = kspace(1:(np*nNav),:);
    99                 %kspace(1:(np*nNav),:)=[];
    100         else
    101                 nav_data = [];
     97        if isEPIP && (nv==64 & np==64)
     98                % The information about navigator echoes in the procpar doesn't seem to
     99                % be consistent. This code tried to guess the number of navigators from
     100                % the k-space size
     101                nNav = size(kspace,1)/np-nv;
     102                if nNav~=0
     103                        nav_data = kspace(1:(np*nNav),:);
     104                else
     105                        nav_data = [];
     106                end
     107        else
     108                if nNav~=0
     109                        nav_data = kspace(1:(np*nNav),:);
     110                        %kspace(1:(np*nNav),:)=[];
     111                else
     112                        nav_data = [];
     113                end
    102114        end
    103115       
Note: See TracChangeset for help on using the changeset viewer.

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