bartorch.tools.coils

Contents

bartorch.tools.coils#

bartorch.tools.coils(*, k=False, L=False, n=None, b=None, t=None, H2D8C=False, H3D64C=False, **extra)#

Compute coil sensitivitity maps in x-space or k-space.

Runs bart coils.

Parameters:
  • k (bool) – Compute for k-space. (-k)

  • L (bool) – (Legacy: Coil Coefficients for FOV [-1,1].) (-L)

  • n (int | None) – Select first n coil channels. (-n)

  • b (int | tuple[int, ...] | None) – Channels to keep, by index. (-b)

  • t (torch.Tensor | None) – grid on which sensitivity maps should be evaluated. (-t)

  • H2D8C (bool) – 2D head coil 8 channels (default). (--H2D8C)

  • H3D64C (bool) – 3D head coil 64 channels. (--H3D64C)

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

Returns:

sens

Return type:

torch.Tensor