between

ChiantiPy.tools.util.between(array, limits)[source] [edit on github]

Find the indices of array corresponding to values in the range given by limits

Parameters:

array : ‘list` or ~numpy.ndarray`

limits : list, tuple or ~numpy.ndarray` of length 2