getvalidinds#

class getvalidinds(data=None, filterdata=None)[source]#

Return the indices that are valid based on the validity of the input data from an arbitrary number of 1-D vector inputs. Note, closely related to sc.getvaliddata().

This function is deprecated.

Example:

sc.getvalidinds([3,5,8,13], [2000, nan, nan, 2004]) # Returns array([0,3])