dwi.m

From Spinach Documentation Wiki
Jump to: navigation, search

Diffusion weighted 2D imaging pulse sequence with variable diffusion encoding direction.

Syntax

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

Description

This sequence must be called from the imaging() context, which would provide H,R,K,G, and F.

Arguments

  parameters.diff_g_amp   - a vector of diffusion gradient 
                            amplitudes in X and Y, T/m
 
  parameters.pe_grad_amp  - phase encoding gradient (X)
                            amplitude, T/m
 
  parameters.ro_grad_amp  - readout gradient (Y) amplitude, T/m
 
  parameters.diff_g_dur   - the duration of the diffusion 
                            gradient, seconds
 
  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.

Examples

See diff_weighted_2d.m file in examples/imaging directory.

See also

epi.m, spiral.m, phase_enc.m


Version 2.1, authors: Ilya Kuprov, Ahmed Allami