DataObject.grid_samples DataObject.grid_samples(n_samples: int) → ndarray[source] Returns grid samples from the domain of the data object. Parameters: n_samples (int) – Number of samples to return. Returns: np.ndarray – Grid samples (number, dim) from the domain of the data object.