phase_enc_2d.m

From Spinach Documentation Wiki
Revision as of 18:51, 5 June 2026 by Kuprov (talk | contribs) (Rename Arguments section heading to Parameters)
Jump to: navigation, search

2D phase encoding imaging pulse sequence with optional diffusion weighting during the echo time. This sequence must be called from the imaging.m context, which would provide H,R,K,G, and F.

Syntax

    mri=phase_enc_2d(spin_system,parameters,H,R,K,G,F)

Parameters

 parameters.t_echo        -  echo time, seconds

 parameters.diff_g_amp    -  [optional] a vector of diffusion gra-
                             dient pair amplitudes in X,Y (T/m) to
                             be active during the echo time

 parameters.pe_grad_amp   -  phase encoding gradient amplitude, T/m

 parameters.ro_grad_amp   -  readout gradient amplitude, T/m

 parameters.pe_grad_dur   -  the duration of the phase encoding 
                             gradient, seconds 

 parameters.ro_grad_dur   -  the duration of the readout gradient
                             seconds

 parameters.image_size    -  number of points in each dimension of
                             the resulting image

Outputs

 mri - MRI image with square sinebell apodisation

See also

epi_2d.m, imaging.m, spiral.m

Magnetic resonance imaging

Version 2.9, authors: Ilya Kuprov, Ahmed Allami