bartorch.tools.fakeksp#
- bartorch.tools.fakeksp(image, kspace, sens, *, r=False, **extra)#
Recreate k-space from image and sensitivities.
Runs
bart fakeksp.- Parameters:
image (torch.Tensor) – Input array.
kspace (torch.Tensor) – Input array.
sens (torch.Tensor) – Input array.
r (bool) – replace measured samples with original values (
-r)**extra (Any) – Further BART flags, passed through by name.
- Returns:
output
- Return type:
torch.Tensor