create_polynomial_density# mrinufft.trajectories.sampling.create_polynomial_density(shape, decay, resolution=None)[source]# Create a density with polynomial decay from the center. Parameters: shape (tuple of int) – The shape of the density grid. decay (float) – The exponent that controls the rate of decay for density. resolution (np.ndarray, optional) – Resolution scaling factors for each dimension of the density grid, by default None. Returns: A density array with polynomial decay. Return type: np.ndarray