You just call the RNG’s own random method.
import numpy as np rng = np.random.default_rng(1949) selection = rng.random((N_fixed_points, 2))