bartorch.tools.upat

Contents

bartorch.tools.upat#

bartorch.tools.upat(*, Y=None, Z=None, y=None, z=None, c=None, **extra)#

Create a sampling pattern.

Runs bart upat.

Parameters:
  • Y (int | None) – size Y (-Y)

  • Z (int | None) – size Z (-Z)

  • y (int | None) – undersampling y (-y)

  • z (int | None) – undersampling z (-z)

  • c (int | None) – size of k-space center (-c)

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

Returns:

output

Return type:

torch.Tensor