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