eelbrain.Var.index

Var.index(self, value)

v.index(value) returns an array of indices where v equals value

Returns:
index : array of int

Array of positive int indices.