tools.psf#
- bartorch.tools.psf()#
Calculate point-spread-function (PSF) of given trajectory.
Runs
bart psf; an option left unset keeps BART’s own default.- Parameters:
trajectory (torch.Tensor) – Input array.
oversampled (bool, default=False) – oversampled psf with linphases in dim 15 (
--oversampled)oversampled_decomposed (bool, default=False) – oversampled psf with linphases in dim 15 (
--oversampled-decomposed)**extra (Any) – Further BART flags, passed through by name.
- Returns:
psf
- Return type:
torch.Tensor