bartorch.tools.raga

Contents

bartorch.tools.raga#

bartorch.tools.raga(spokes, *, tiny_angle=None, raga_inc=None, echoes=None, slices=None, partitions=None, inversions=None, shifts=None, no_double_base=False, **extra)#

Generate file with RAGA indices for given approximated tiny golden ratio angle/raga increment and full frame spokes.

Runs bart raga.

Parameters:
  • spokes (int) – Positional int.

  • tiny_angle (int | None) – tiny (small) golden ratio angle (-s)

  • raga_inc (int | None) – Increment of RAGA Sampling (-r)

  • echoes (int | None) – Number of (non-aligned) echoes (-e)

  • slices (int | None) – Number of (non-aligned) slices (-m)

  • partitions (int | None) – Number of (non-aligned) partitions (-z)

  • inversions (int | None) – Number of (non-aligned) inversions (-i)

  • shifts (int | None) – Number of (non-aligned) shifts (-c)

  • no_double_base (bool) – Define GA over Pi base instead of 2Pi. (--no-double-base)

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

Returns:

output

Return type:

torch.Tensor