ModelData.find_idx(keys, values, allow_none=False, default=False)[source]#

Find idx of devices whose values match the given pattern.

keysstr, array-like, Sized

A string or an array-like of strings containing the names of parameters for the search criteria

valuesarray, array of arrays, Sized

Values for the corresponding key to search for. If keys is a str, values should be an array of elements. If keys is a list, values should be an array of arrays, each corresponds to the key.

allow_nonebool, Sized

Allow key, value to be not found. Used by groups.


Default idx to return if not found (missing)


indices of devices