bartorch.tools.estvar

Contents

bartorch.tools.estvar#

bartorch.tools.estvar(kspace, *, k=None, K=None, r=None, R=None, **extra)#

Estimate the noise variance assuming white Gaussian noise.

Runs bart estvar.

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

  • k (tuple[int, int, int] | None) – kernel size (-k)

  • K (tuple[int, int, int] | None) – () (-K)

  • r (tuple[int, int, int] | None) – Limits the size of the calibration region. (-r)

  • R (tuple[int, int, int] | None) – () (-R)

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

Returns:

This command writes no array; its printed text is returned.

Return type:

None