mrpro.data.traj_calculators.KTrajectoryCalculator
- class mrpro.data.traj_calculators.KTrajectoryCalculator[source]
Bases:
ABC
Base class for k-space trajectories.
- __init__()
- abstract __call__(*, n_k0: int, k0_center: int | Tensor, k1_idx: Tensor, k1_center: int | Tensor, k2_idx: Tensor, k2_center: int | Tensor, encoding_matrix: SpatialDimension, reversed_readout_mask: Tensor | None = None) KTrajectory [source]
Calculate the trajectory for given KHeader.
The shapes of kz, ky and kx of the calculated trajectory must be broadcastable to (prod(all_other_dimensions), k2, k1, k0).
Not all of the parameters will be used by all implementations.
- __eq__(value, /)
Return self==value.
- __new__(**kwargs)