normalize_trajectory#
- mrinufft.trajectories.utils.normalize_trajectory(trajectory, norm_factor=0.5, resolution=0.0006)[source]#
Normalize an un-normalized/natural trajectory for NUFFT use.
- Parameters:
trajectory (np.ndarray) – Un-normalized trajectory consisting of k-space coordinates in 2D or 3D.
norm_factor (float, optional) – Trajectory normalization factor, by default KMAX.
resolution (float, np.array, optional) – Resolution of MR image in meters, isotropic as int or anisotropic as np.array. The default is DEFAULT_RESOLUTION.
- Returns:
trajectory – Normalized trajectory corresponding to trajectory input.
- Return type:
np.ndarray