bartorch.tools.phasepole

Contents

bartorch.tools.phasepole#

bartorch.tools.phasepole(*, input__coils_singularity_positions_=None, estimate=False, sample=False, espirit=False, dims=None, c=None, w=None, a=None, t=None, d=None, closing=None, center=None, n=None, **extra)#

Detect and sample phase poles.

Runs bart phasepole.

Parameters:
  • input__coils_singularity_positions_ (torch.Tensor | None) – Input array. Optional.

  • estimate (bool) – Estimate phase poles (input is sensitivity maps / output is singularity positions) (-e)

  • sample (bool) – Sample phase poles (input is position / phase) (-s)

  • espirit (bool) – Use ESPIRiT mode (diameter=1, no closing) (--espirit)

  • dims (tuple[int, int, int] | None) – Explicitly specify image dimensions (-x)

  • c (str | None) – output curl map (-c)

  • w (str | None) – (output weighting map) (-w)

  • a (str | None) – (output averaged curl map) (-a)

  • t (float | None) – threshold for pole detection (-t)

  • d (float | None) – diameter of curve integral to detect poles (in FoV) (-d)

  • closing (float | None) – (radius of closing ball (in FoV)) (--closing)

  • center (tuple[float, float, float] | None) – specify position of phase pole to sample (--center)

  • n (int | None) – normal direction for 2D pole detection (0,1,2) (-n)

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

Returns:

output (sampled phase/singularity positions)

Return type:

torch.Tensor