radialize_center# mrinufft.trajectories.tools.radialize_center(trajectory: ndarray[tuple[int, ...], dtype[_ScalarType_co]], nb_samples: int, in_out: bool = False) → ndarray[tuple[int, ...], dtype[_ScalarType_co]][source]# Radialize a trajectory. Parameters: trajectory (NDArray) – Trajectory to radialize. nb_samples (int) – Number of samples to keep. in_out (bool, optional) – Whether the radialization is from the inside to the outside, by default False Returns: Radialized trajectory. Return type: NDArray