bartorch.tools.calmat#
- bartorch.tools.calmat(kspace, *, k=None, K=None, r=None, R=None, C=False, **extra)#
Compute calibration matrix.
Runs
bart calmat.- 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)C (bool) – () (
-C)**extra (Any) – Further BART flags, passed through by name.
- Returns:
calibration_matrix
- Return type:
torch.Tensor