eelbrain.Var.index

Var.index(value)

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

Returns

index – Array of positive int indices.

Return type

array of int