source: vnmr_recon/mge3d_recon.m @ 209

Last change on this file since 209 was 209, checked in by tjniskan, 6 years ago
  • Fixed a bug small in aedes_readvnmr
  • Added support in readvnmr for mge3d data

A vnmr_recon/mge3d_recon.m
M aedes_readvnmr.m
M aedes_revision.m

File size: 557 bytes
Line 
1function [kspace,data,msg_out]=mge3d_recon(kspace,Dat,procpar)
2% This is a custom VNMR k-space reconstruction code for MGE3D data used by
3% aedes_readvnmr.
4
5% If called without input arguments, return the list of sequence names that
6% this code reconstructs
7if nargin==0
8  kspace = {'mge3d'};
9  return
10end
11
12data=[];
13msg_out = '';
14
15% Reshape to 4D matrix
16kspace = reshape(kspace,[procpar.np/2 procpar.ne procpar.nv ...
17        procpar.nv2]);
18kspace = permute(kspace,[3 1 4 2]);
19data = abs(fftshift(fftshift(fftshift(fft(fft(fft(kspace,[],1),[],2),[],3),1),2),3));
Note: See TracBrowser for help on using the repository browser.

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