Extended phase graph

In magnetic resonance imaging and nuclear magnetic resonance the extended phase graph (EPG) is a mathematical framework used to track how magnetization evolves in a voxel through a series of radiofrequency (RF) pulses and gradients. While traditional Bloch simulations track individual spins in the spatial domain, EPG operates in the Fourier domain.[2] The magnetization vectors along one dimension of a voxel are stored as Fourier coefficients. Each Fourier coefficient represents the weighting of a helix that twists along one dimension of the voxel with an integer number of twists. Performing a weighted sum of all the helices gives the magnetization vectors in the spatial domain. In this representation, a gradient along one dimension of the voxel that causes an integer number of twists simply shifts the index of each Fourier coefficient by that integer, making EPG very computationally efficient at modeling sequences with many RF pulses and gradients. EPG was first proposed by Jürgen Hennig to model multiecho sequences[2] and is now used to model magnetic resonance fingerprinting,[3] turbo spin echos,[4] and other sequences.[5]

Definition

In the Bloch equations, within a voxel each spin along the dimension can be described by a magnetization vector where every element is real valued.[6] But and can also be described by the complex number .[7] Using a similarity matrix we can convert between the real valued basis and the complex transverse magnetization basis:

where is the complex conjugate of . To perform a rotation on the complex magnetization vector due to an RF pulse with angle and phase , we first apply a change of basis with , then apply standard cartesian rotation matrices , ,[8] then another change of basis with :[9]

Where denotes the magnetization vector after the rotation. In the EPG representation we perform a Fourier decomposition of each element of the complex magnetization vector:[2]

If , , and when or . We can write the summations as being from to . We can also write the Fourier coefficients as a vector valued function:

RF pulses

When performing a rotation, because is constant across it can enter the sum:

It can be seen in the equation above that the rotation matrix can be applied directly to the Fourier coefficients to produce updated Fourier coefficients.[1]

Gradients

A gradient in the z dimension that creates one twist from to can be applied with the matrix:

This matrix is independent of so it can enter the Fourier sum:[10]

Looking at each element of :

Performing a substitution with for the first element we get:

If and the above summation is equal to:[11]

and it can be seen that . By the same logic . So gradients in the EPG formalism simply shift the indices of the Fourier coefficients.[12][1]

Relaxation

The relaxation and recovery matrices given by the Bloch equations for a real valued magnetization vector are:[7]

Substituting with :

and are commutative so . Also , so:

is a constant vector but we can still Fourier decompose it to where if else , so:[13]

So it can be seen that to apply a relaxation, you can multiply every Fourier coefficient with the relaxation matrix and then add the recovery vector to the 0th coefficient.[14]

Total signal in voxel

The total transverse signal in the voxel is obtained by integrating over :

so when is nonzero, is multiplied by zero and doesn't end up in the sum. If the inner integral is 1. So the total transverse signal in the voxel is just . By the same logic the total longitudinal signal is .[11]

Coefficient redundancy

It can be proven that :[13][15]

and so in practice only coefficients with are stored and if a gradient occurs that would shift a coefficient to having a negative index, instead that coefficient is conjugated and stored at a non-negative index.

Computation

In practice a discrete number of Fourier coefficients are tracked. A matrix can be set up with frequencies tracked like so:[14]

This matrix can be multiplied by the RF pulse rotation matrix , or multiplied by the relaxation matrix and then have added to the first column, to update the coefficients. A gradient that adds one twist along the z dimension will result in the first row being shifted right by one, and the second row being shifted left. Then can be set to .[16]

References

  1. ^ a b c Matthias Weigel (2015). "Extended phase graphs: dephasing, RF pulses, and echoes - pure and simple". J Magn Reson Imaging. doi:10.1002/jmri.24619.
  2. ^ a b c Jürgen K. Hennig (1988). "Multiecho Imaging Sequences with Low Refocusing Flip Angles". Journal of Magnetic Resonance. 78: 397–407. doi:10.1016/0022-2364(88)90128-X.
  3. ^ Jiang, Yun; Ma, Dan; Seiberlich, Nicole; Gulani, Vikas; Griswold, Mark A. (2015). "MR fingerprinting using fast imaging with steady state precession (FISP) with spiral readout: MR Fingerprinting with FISP". Magnetic Resonance in Medicine. 74 (6): 1621–1631. doi:10.1002/mrm.25559. PMC 4461545. PMID 25491018. Retrieved 2026-01-21.
  4. ^ Weigel, Matthias; Hennig, Juergen (2006). "Contrast behavior and relaxation effects of conventional and hyperecho‐turbo spin echo sequences at 1.5 and 3 T". Magnetic Resonance in Medicine. 55 (4): 826–835. doi:10.1002/mrm.20816. ISSN 0740-3194. Retrieved 2026-01-21.
  5. ^ Sobol, Wlad T.; Gauntt, David M. (1996). "On the stationary states in gradient echo imaging". Journal of Magnetic Resonance Imaging. 6 (2): 384–398. doi:10.1002/jmri.1880060220. ISSN 1053-1807. Retrieved 2026-01-21.
  6. ^ Bloch, F. (1946). "Nuclear Induction". Physical Review. 70: 4604–73. doi:10.1103/PhysRev.70.460. ISSN 0031-899X.
  7. ^ a b Jaynes, E. T. (1955-05-15). "Matrix Treatment of Nuclear Induction". Physical Review. 98 (4): 1099–1105. doi:10.1103/PhysRev.98.1099. ISSN 0031-899X. Retrieved 2026-01-25.
  8. ^ Hahn, E. L. (1950-11-15). "Spin Echoes". Physical Review. 80 (4): 580–594. doi:10.1103/PhysRev.80.580. ISSN 0031-899X. Retrieved 2026-01-25.
  9. ^ Woessner, D. E. (1961-06-01). "Effects of Diffusion in Nuclear Magnetic Resonance Spin-Echo Experiments". The Journal of Chemical Physics. 34 (6): 2057–2061. doi:10.1063/1.1731821. ISSN 0021-9606. Retrieved 2026-01-25.
  10. ^ Lukzen, N.N.; Savelov, A.A. (2007). "Analytical derivation of multiple spin echo amplitudes with arbitrary refocusing angle". Journal of Magnetic Resonance. 185 (1): 71–76. doi:10.1016/j.jmr.2006.11.010. Retrieved 2026-01-25.
  11. ^ a b Hennig, Jürgen (1991). "Echoes—how to generate, recognize, use or avoid them in MR‐imaging sequences. Part I: Fundamental and not so fundamental properties of spin echoes". Concepts in Magnetic Resonance. 3 (3): 125–143. doi:10.1002/cmr.1820030302. ISSN 1043-7347. Retrieved 2026-01-25.
  12. ^ Zur, Yuval (2004). "An algorithm to calculate the NMR signal of a multi spin-echo sequence with relaxation and spin-diffusion". Journal of Magnetic Resonance. 171 (1): 97–106. doi:10.1016/j.jmr.2004.07.018. Retrieved 2026-01-25.
  13. ^ a b Scheffler, Klaus (1999). "A pictorial description of steady-states in rapid magnetic resonance imaging". Concepts in Magnetic Resonance. 11 (5): 291–304. doi:10.1002/(SICI)1099-0534(1999)11:5<291::AID-CMR2>3.0.CO;2-J. ISSN 1043-7347. Retrieved 2026-01-25.
  14. ^ a b Weigel, M.; Schwenk, S.; Kiselev, V.G.; Scheffler, K.; Hennig, J. (2010). "Extended phase graphs with anisotropic diffusion". Journal of Magnetic Resonance. 205 (2): 276–285. doi:10.1016/j.jmr.2010.05.011. Retrieved 2026-01-25.
  15. ^ Sodickson, A (1998-08-31). "A generalized k-space formalism for treating the spatial aspects of a variety of NMR experiments". Progress in Nuclear Magnetic Resonance Spectroscopy. 33 (2): 77–108. doi:10.1016/S0079-6565(98)00021-1. Retrieved 2026-01-25.
  16. ^ Hargreaves, Brian; Miller, Karla (2013). Using extended phase graphs: review and examples. Proceedings of the 21st Annual Meeting of ISMRM. Salt Lake City.