bartorch.tools.looklocker

Contents

bartorch.tools.looklocker#

bartorch.tools.looklocker(input, *, t=None, D=None, **extra)#

Compute T1 map from M_0, M_ss, and R_1*.

Runs bart looklocker.

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

  • t (float | None) – Pixels with M0 values smaller than {threshold} are set to zero. (-t)

  • D (float | None) – Time between the middle of inversion pulse and the first excitation. (-D)

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

Returns:

output

Return type:

torch.Tensor