MRI Signal Simulator: Spin Echo, T1 & T2 Relaxation Explained

simulator advanced ~12 min
Loading simulation...
S = 0.57 M₀ — moderate signal, T1/T2 balanced

With T1 = 1000 ms, T2 = 80 ms, TR = 2000 ms, TE = 30 ms, the signal intensity is 0.57 of maximum — a balance between T1 recovery and T2 decay typical of grey matter imaging.

Formula

S = M₀ × (1 − e^(−TR/T1)) × e^(−TE/T2)
T1 contrast: W₁ = 1 − e^(−TR/T1)
T2 decay envelope: W₂ = e^(−TE/T2)

Nuclear Spins in a Magnetic Field

When placed in a strong magnetic field (1.5-7 Tesla), hydrogen nuclei in tissue align with or against the field, creating a net magnetization vector M₀. A radiofrequency pulse at the Larmor frequency tips this magnetization into the transverse plane, where it precesses and induces a signal in the receiver coil. The magnitude and timing of this signal encode tissue composition.

T1 and T2 Relaxation

After excitation, two independent relaxation processes restore equilibrium. T1 (spin-lattice) relaxation returns longitudinal magnetization toward M₀ — fast in fat (~250 ms), slow in CSF (~4000 ms). T2 (spin-spin) relaxation causes transverse magnetization to dephase — long in fluid (~2000 ms), short in liver (~40 ms). These differences create the rich soft-tissue contrast unique to MRI.

The Spin-Echo Sequence

The workhorse spin-echo sequence applies a 90° excitation pulse followed by a 180° refocusing pulse at TE/2. The refocusing pulse reverses static dephasing, producing an echo at time TE that depends only on true T2 decay. By repeating every TR milliseconds, the sequence samples T1 recovery between excitations. Short TR emphasizes T1 differences; long TE emphasizes T2 differences.

Choosing Contrast in Practice

Radiologists select TR and TE to highlight specific pathologies. T1-weighted images (TR ~500 ms, TE ~15 ms) excel at anatomical detail and post-gadolinium enhancement. T2-weighted images (TR ~4000 ms, TE ~100 ms) reveal edema, tumors, and inflammation as bright regions. This simulator shows how the signal equation S = M₀(1 − e^(−TR/T1))e^(−TE/T2) responds to each parameter in real time.

FAQ

What determines MRI tissue contrast?

MRI contrast depends on three intrinsic tissue properties — T1 (spin-lattice relaxation), T2 (spin-spin relaxation), and proton density — and two operator-controlled timing parameters — TR (repetition time) and TE (echo time). By choosing TR and TE, the radiologist selects which tissue property dominates the image contrast.

What is T1-weighted vs T2-weighted imaging?

T1-weighted images (short TR, short TE) show fat as bright and fluid as dark, ideal for anatomy. T2-weighted images (long TR, long TE) show fluid as bright and are sensitive to edema and pathology. Both use the same spin-echo sequence with different timing.

How does a spin echo work?

A 90° RF pulse tips magnetization into the transverse plane, where it dephases (T2* decay). A 180° refocusing pulse at time TE/2 reverses the dephasing, producing an echo at time TE. This eliminates static field inhomogeneity effects, leaving only true T2 decay.

Why is MRI safe compared to CT?

MRI uses radiofrequency pulses and magnetic fields — no ionizing radiation. This makes it safe for repeated imaging, pediatric patients, and pregnant women (with precautions). The main contraindications are ferromagnetic implants and claustrophobia.

Sources

Embed

<iframe src="https://homo-deus.com/lab/biomedical-imaging/mri-signal/embed" width="100%" height="400" frameborder="0"></iframe>
View source on GitHub