eelbrain.NDVar.flatnonzero

NDVar.flatnonzero()

Return indices where a 1-d NDVar is non-zero

Like numpy.flatnonzero().