random_indices_for_array

random_indices_for_array#

glue.utils.array.random_indices_for_array(array, n_random_samples)[source]#

Return a tuple of arrays that can be used to index the input array to obtain a random sample of values.