IMP  2.1.1
The Integrative Modeling Platform
IMP.em2d.argminmax Namespace Reference

Utility functions to extract min/max from the inputs. More...

Functions

def argmax
 Argmax function: Returns the pair (max_value,max_index), where max_index is the index of the maximum value.
 
def argmin
 
def keymax
 return the key of the dictionary that has the maximum value
 
def keymin
 return the key of the dictionary that has the minimum value
 

Detailed Description

Argmin function: Returns the pair (min_value,min_index), where min_index is the index of the minimum value