bartorch.tools.ccapply#
- bartorch.tools.ccapply(kspace, cc_matrix, *, p=None, u=False, t=False, S=False, G=False, E=False, A=None, **extra)#
Apply coil compression forward/inverse operation.
Runs
bart ccapply.- Parameters:
kspace (torch.Tensor) – Input array.
cc_matrix (torch.Tensor) – Input array.
p (int | None) – perform compression to N virtual channels (
-p)u (bool) – apply inverse operation (
-u)t (bool) – don’t apply FFT in readout (
-t)S (bool) – type: SVD (
-S)G (bool) – type: Geometric (
-G)E (bool) – type: ESPIRiT (
-E)A (int | None) – Align the coil sensitivities along this axis. (
-A)**extra (Any) – Further BART flags, passed through by name.
- Returns:
proj_kspace
- Return type:
torch.Tensor