press_voxel_2d.m

From Spinach Documentation Wiki
Revision as of 18:01, 5 June 2026 by Kuprov (talk | contribs) (Move Description section into pre-Syntax prose)
Jump to: navigation, search

Voxel selection diagnostics function for 2D PRESS sequences.

Returns the sample excitation profile. This sequence must be called from the imaging.m context, which would provide H,R,K,G, and F.

Syntax

    phan=press_voxel_2d(spin_system,parameters,H,R,K,G,F)

Parameters

   parameters.ss_grad_amp - the two amplitudes of slice selection 
                            gradient, T/m

   parameters.rf_frq_list - cell array of two vectors of RF frequ-
                            encies at each pulse slice, Hz

   parameters.rf_amp_list - cell array of two vectors of RF 
                            amplitudes at each pulse slice, rad/s

   parameters.rf_dur_list - cell array of two vectors of pulse 
                            slice durations, in seconds

   parameters.rf_phi      - cell array of two pulse phases at 
                            time zero

   parameters.max_rank    - cell array of two maximum rank in the 
                            Fokker-Planck pulse operator (2 is 
                            usually enough)

Outputs

   phan - the excitation profile imprinted into a 2D phantom.

Examples

See press_2d_example.m file in examples/imaging directory.

See also

press_2d.m, imaging.m, phase_enc_2d.m

Version 2.1, authors: Ilya Kuprov, Ahmed Allami