bartorch.tools.psf

Contents

bartorch.tools.psf#

bartorch.tools.psf(trajectory, *, oversampled=False, oversampled_decomposed=False, **extra)#

Calculate point-spread-function (PSF) of given trajectory.

Runs bart psf.

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

  • oversampled (bool) – oversampled psf with linphases in dim 15 (--oversampled)

  • oversampled_decomposed (bool) – oversampled psf with linphases in dim 15 (--oversampled-decomposed)

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

Returns:

psf

Return type:

torch.Tensor