IMP  2.2.0
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
 Argmin function: Returns the pair (min_value,min_index), where min_index is the index of the minimum value.
 
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