Skip to main content

Module dipole

Module dipole 

Source
Expand description

Dipole kernel for QSM

The dipole kernel describes the relationship between magnetic susceptibility and the induced magnetic field in MRI. In k-space:

D(k) = 1/3 - (k·B)² / |k|²

where B is the B0 field direction (typically [0, 0, 1]).

Functions§

dipole_kernel
Generate dipole kernel in k-space
dipole_kernel_default
Generate dipole kernel with default B direction (0, 0, 1)
dipole_kernel_default_f32
Generate f32 dipole kernel with default B direction (0, 0, 1)
dipole_kernel_f32
Generate dipole kernel in k-space (f32 version for WASM performance)