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