mr2.algorithms.partial_fourier.pocs
- mr2.algorithms.partial_fourier.pocs(kspace: Tensor, acquired_mask: Tensor, dim: Sequence[int], partial_fourier_dim: int, n_iterations: int = 10) Tensor[source]
Complete Cartesian k-space using POCS.
Estimate phase \(p\) from a tapered symmetric center, then alternate \(x \mapsto p\operatorname{Re}(\overline{p}x)\) with acquired-data replacement.
- Parameters:
kspace (
Tensor) – Complex data on the full centered Cartesian grid.acquired_mask (
Tensor) – Boolean mask broadcastable tokspace, on the same device. The acquired interval must touch either edge alongpartial_fourier_dim, include DC and a conjugate pair, and be identical across batches and coils. Other axes must be fully sampled.dim (
Sequence[int]) – Centered orthonormal FFT axes, includingpartial_fourier_dim.partial_fourier_dim (
int) – Partial Fourier axis. Positive and negative indices are accepted.n_iterations (
int, default:10) – Projection count. Zero returns zero-filled acquired data.
- Returns:
Completed k-space with the input shape, dtype and device. Acquired values are preserved exactly; fully sampled data is unchanged.