Classroom · Medical imaging

NMR and MRI physics

Spins, relaxation, echoes, k-space and pulse sequences, simulated with the Bloch equations.

40 lessons, text and equations; animations coming soon.

Early edition: these lessons are being reviewed.

Introductory level (12)

  1. Larmor precession of spins in B0A magnetic moment with angular momentum placed in a static magnetic field B₀ does not simply align with the field.
  2. T1 recovery (longitudinal)T1 recovery describes how longitudinal magnetization regrows toward its equilibrium value M₀ after a radiofrequency pulse disturbs it.
  3. T2 decay (transverse)T2 decay is the loss of transverse magnetization after an RF pulse, as the spins that were precessing together drift out of phase.
  4. FID to spectrum with the Fourier transformAfter a radiofrequency pulse, the transverse magnetization precesses and decays, inducing a signal called the free induction decay (FID) in the receiver coil.
  5. Chemical shift and shieldingIn NMR, nuclei in different electronic environments resonate at slightly different frequencies because electrons shield the nucleus from the applied magnetic field.
  6. Sampling, Nyquist and aliasingDigital signals in NMR and MRI are measured at discrete time points.
  7. RF pulse and flip angleA radiofrequency (RF) pulse oscillating at the Larmor frequency tips the net magnetization away from the main field direction.
  8. Boltzmann spin polarizationIn a magnetic field, nuclear spins such as hydrogen protons split into a lower-energy and a higher-energy state.
  9. Slice selection with gradientsIn MRI, a magnetic field gradient makes the Larmor frequency vary linearly with position along one axis.
  10. How to read a pulse-sequence diagram (RF, gradients, ADC)A pulse-sequence diagram is a timing chart with horizontal rows for the RF channel, the three gradient axes, and the ADC (signal readout).
  11. NMR pulse-acquire experiment: 90 degree pulse, FID, spectrumIn a pulse-acquire NMR experiment, a short radiofrequency pulse tips the net magnetization from the z axis into the transverse plane.
  12. Slice-selective excitation: sinc RF plus slice gradientIn MRI, a slice is chosen by applying a linear gradient along one axis so that resonance frequency varies with position, while a shaped radiofrequency (RF) pulse with a…

Intermediate level (18)

  1. Bloch equations: magnetisation vector over timeThe Bloch equations describe how the nuclear magnetisation vector M evolves under a static field, a radiofrequency pulse, and relaxation.
  2. Spin echo: dephasing and rephasingAfter a 90-degree pulse, spins in slightly different magnetic fields precess at different rates and lose phase coherence, so the signal decays with T2*.
  3. J-coupling: why peaks split (doublet, triplet, quartet)J-coupling is the through-bond interaction between neighbouring nuclear spins that splits one NMR resonance into a multiplet.
  4. 2D COSY: reading cross-peaks2D COSY (correlation spectroscopy) plots a 1H spectrum on both axes.
  5. k-space: sampling and image formationIn MRI, the raw data are samples of the spatial Fourier transform of the object's transverse magnetization, called k-space.
  6. Gradient encoding: slice, frequency, phaseMRI locates signal in space by adding small, linear magnetic field gradients to the main field B₀, so that the Larmor frequency and phase of spins depend on position.
  7. Gradient echo formationA gradient echo is formed when a magnetic field gradient first dephases transverse magnetization and then a gradient of opposite polarity rephases it, producing a…
  8. Inversion recovery and null pointInversion recovery starts with a 180-degree pulse that flips longitudinal magnetization to −M₀.
  9. T2* dephasing of isochromatsAfter an RF pulse tips magnetization into the transverse plane, the spins within a voxel precess at slightly different frequencies and fan out, so the net signal decays…
  10. Phase encoding line by lineIn MRI, phase encoding uses a brief gradient pulse to give spins different phases depending on their position along one axis.
  11. Ernst angle signal optimumThe Ernst angle is the flip angle that maximizes steady-state signal in a spoiled gradient-echo or repeated-pulse experiment when the repetition time TR is short…
  12. Diffusion weighting and b-valueDiffusion-weighted MRI makes the signal sensitive to random water motion by applying a pair of strong gradient pulses.
  13. Spin echo sequence: 90-180 pulses and isochromat rephasingA spin echo sequence uses a 90-degree excitation pulse followed by a 180-degree refocusing pulse to cancel dephasing caused by static field inhomogeneities.
  14. Gradient echo sequence and T2* decayA gradient echo sequence uses a low flip angle excitation and a reversal of a magnetic field gradient to refocus signal, without a 180 degree pulse.
  15. Inversion recovery sequence and the null pointAn inversion recovery sequence begins with a 180 degree pulse that flips longitudinal magnetization to the negative z axis.
  16. Cartesian k-space filling, one phase-encode line per TRIn conventional spin-warp MRI, k-space is filled one horizontal line per repetition time (TR).
  17. Fast (turbo) spin echo: echo train and k-space segmentsFast (turbo) spin echo acquires several phase-encoding lines per excitation by applying multiple 180-degree refocusing pulses and encoding each echo differently.
  18. CPMG echo train and T2 measurementThe CPMG sequence applies a 90 degree pulse followed by a train of 180 degree refocusing pulses, producing a series of spin echoes whose peak amplitudes decay with the…

Advanced level (10)

  1. Stimulated echo pathwaysA stimulated echo (STE) forms when three RF pulses act on spins: the first tips magnetization into the transverse plane, the second stores one component along z, and…
  2. Echo-planar k-space trajectoryEcho-planar imaging (EPI) fills all of k-space after a single RF excitation by rapidly oscillating the readout gradient while a small blipped phase-encode gradient…
  3. Spiral k-space samplingSpiral k-space sampling traverses k-space along an Archimedean or variable-density spiral, driven by time-varying gradients whose integral gives the k-space trajectory.
  4. Off-resonance and effective fieldWhen an RF pulse is applied at a frequency different from the Larmor frequency, spins in the rotating frame experience a residual z-field along with the B1 field.
  5. Echo-planar imaging: blipped phase encoding and the zigzag k-space pathEcho-planar imaging (EPI) fills all of k-space after a single RF excitation by rapidly oscillating the readout gradient and adding small phase-encode 'blips' between…
  6. Spiral k-space trajectoryA spiral k-space trajectory samples the spatial-frequency plane along a curve that winds outward from the center, driven by sinusoidal, amplitude-ramped gradient…
  7. Diffusion weighting: the Stejskal-Tanner pulsed-gradient spin echoThe Stejskal-Tanner pulsed-gradient spin echo (PGSE) sequence places two identical gradient pulses on either side of the 180-degree refocusing pulse.
  8. Spoiled gradient echo and the Ernst angle at steady stateA spoiled gradient echo (SPGR/FLASH) sequence repeats a low flip angle pulse every TR and destroys residual transverse magnetization each cycle, so only longitudinal…
  9. Balanced SSFP: steady-state magnetisation and bandingBalanced SSFP (bSSFP, TrueFISP/FIESTA/bFFE) uses a fast train of RF pulses with fully refocused gradients on all axes, so transverse magnetisation is preserved from one…
  10. COSY: the 90-t1-90-acquire sequence and where cross-peaks come fromCOSY is the simplest 2D NMR experiment: a 90° pulse, an evolution delay t1, a second 90° pulse, then acquisition during t2.

ccBYNC© 2026 SignalsLab. Lesson text shared as is under CC BY-NC 4.0.