ifalsei#

class ifalsei(arr, inds)[source]#

Returns the indices that are false in the array – name is short for indices[false[indices]]

Parameters:
  • arr (array) – a Boolean array, used as a filter

  • inds (array) – an array of indices for the original array

Example:

inds = hpv.ifalsei(np.array([True,False,True,True,False,False,True,False]), inds=np.array([0,1,3,5]))