eelbrain.NDVar.argmax
- NDVar.argmax(axis=None, name=None)
Find the index of the largest value
ndvar[ndvar.argmax()]
is equivalent tondvar.max()
.- Parameters:
- Returns:
Index appropriate for the NDVar’s dimensions. If NDVar has more than one dimensions, a tuple of indices.
- Return type:
argmax