tools.trajcor#
- bartorch.tools.trajcor()#
Correct delays for a given trajectory.
Runs
bart trajcor.- Parameters:
traj (torch.Tensor) – Input array.
q (tuple[float, float, float] | None, default=None) – gradient delays: y, x, xy (
-q)V (torch.Tensor | None, default=None) – custom_gdelays (
-V)O (bool, default=False) – correct transverse gradient error for radial trajectories (
-O)**extra (Any) – Further BART flags, passed through by name.
- Returns:
output traj
- Return type:
torch.Tensor