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)