eelbrain.NDVar.argmax

NDVar.argmax()

Find the index of the largest value.

ndvar[ndvar.argmax()] is equivalent to ndvar.max().

Returns

argmax – Index appropriate for the NDVar’s dimensions. If NDVar has more than one dimensions, a tuple of indices.

Return type

index | tuple