iundefined#

class iundefined(arr, inds)[source]#

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

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

  • inds (array) – any other array (usually, an array of indices) of the same size

Example:

inds = cv.iundefined(np.array([3,np.nan,np.nan,4]), inds=np.array([5,22,47,93]))