eelbrain.NDVar.argmax

NDVar.argmax(self)

Find the index of the largest value.

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

Returns:
argmax : index | tuple

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