Changeset 179 for aedes_readbruker.m


Ignore:
Timestamp:
Nov 2, 2011, 1:38:50 PM (8 years ago)
Author:
tjniskan
Message:
  • Fixed a bug in handling blick size in aedes_readbruker.m

M aedes_readbruker.m
M aedes_revision.m

File:
1 edited

Legend:

Unmodified
Added
Removed
  • aedes_readbruker.m

    r178 r179  
    343343fclose(fid);
    344344kspace = complex(tmp(1:2:end),tmp(2:2:end));
    345 kspace = reshape(kspace,hdr.acqp.ACQ_size(1)/2,[]);
     345
     346% Handle block size
     347if strcmp(hdr.acqp.GO_block_size,'Standard_KBlock_Format')
     348        blk_size = round(length(kspace)/1024)*1024;
     349else
     350        blk_size = hdr.acqp.ACQ_size(1)/2;
     351end
     352kspace = reshape(kspace,blk_size,[]);
    346353
    347354% Reconstruct k-space
Note: See TracChangeset for help on using the changeset viewer.

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