apps.partial_fourier_phase#
- bartorch.apps.partial_fourier_phase()#
Homodyne phase of
image: its k-space where a sample and its conjugate were both acquired.Along each partial-Fourier axis (
partial_fourier_range()) the k-space ofimageis kept where both a sample and its conjugate lie in the acquired range: the phase a homodyne reconstruction removes.- Parameters:
image (torch.Tensor) – Complex image, the transform centred: the zero frequency is at index
n // 2of each axis.sampled (torch.Tensor) – Boolean sampling mask, with the shape of
image.
- Returns:
Complex64, the shape of
image.- Return type:
torch.Tensor
- Raises:
ValueError – If
sampledandimagediffer in shape.