bartorch.tools.homodyne

Contents

bartorch.tools.homodyne#

bartorch.tools.homodyne(dim, fraction, input, *, r=None, I=False, C=False, P=None, n=False, **extra)#

Perform homodyne reconstruction along dimension dim.

Runs bart homodyne.

Parameters:
  • dim (int) – Axis the partial-Fourier fraction is along.

  • fraction (float) – Positional float.

  • input (torch.Tensor) – Input array.

  • r (float | None) – Offset of ramp filter, between 0 and 1. alpha=0 is a full ramp, alpha=1 is a horizontal line (-r)

  • I (bool) – Input is in image domain (-I)

  • C (bool) – Clear unacquired portion of kspace (-C)

  • P (torch.Tensor | None) – Use <phase_ref> as phase reference (-P)

  • n (bool) – use uncentered ffts (-n)

  • **extra (Any) – Further BART flags, passed through by name.

Returns:

output

Return type:

torch.Tensor