bartorch.tools.rmfreq

Contents

bartorch.tools.rmfreq#

bartorch.tools.rmfreq(traj, k, *, N=None, M=None, **extra)#

Remove angle-dependent frequency

Runs bart rmfreq.

Parameters:
  • traj (torch.Tensor) – Input array.

  • k (torch.Tensor) – Input array.

  • N (int | None) – Number of harmonics [Default: 5] (-N)

  • M (torch.Tensor | None) – Contrast modulation file (-M)

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

Returns:

k_cor

Return type:

torch.Tensor