bartorch.tools.cc#
- bartorch.tools.cc(kspace, *, p=None, M=False, r=None, R=None, A=False, S=False, G=False, E=False, **extra)#
Performs coil compression.
Runs
bart cc.- Parameters:
kspace (torch.Tensor) – Input array.
p (int | None) – perform compression to N virtual channels (
-p)M (bool) – output compression matrix (
-M)r (tuple[int, int, int] | None) – size of calibration region (
-r)R (tuple[int, int, int] | None) – (size of calibration region) (
-R)A (bool) – use all data to compute coefficients (
-A)S (bool) – type: SVD (
-S)G (bool) – type: Geometric (
-G)E (bool) – type: ESPIRiT (
-E)**extra (Any) – Further BART flags, passed through by name.
- Returns:
coeff|proj_kspace
- Return type:
torch.Tensor