IMP logo
IMP Reference Guide  2.6.1
The Integrative Modeling Platform
IMP.EMageFit.argminmax Namespace Reference

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

Detailed Description

Utility functions to extract min/max from the inputs.

Functions

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

Function Documentation

def IMP.EMageFit.argminmax.argmax (   sequence)

Argmax function: Returns the pair (max_value,max_index), where max_index is the index of the maximum value.

Note
This function is only available in Python.

Definition at line 31 of file argminmax.py.

def IMP.EMageFit.argminmax.argmin (   sequence)

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

Note
This function is only available in Python.

Definition at line 8 of file argminmax.py.

def IMP.EMageFit.argminmax.keymax (   dictionary)

return the key of the dictionary that has the maximum value

Note
This function is only available in Python.

Definition at line 44 of file argminmax.py.

def IMP.EMageFit.argminmax.keymin (   dictionary)

return the key of the dictionary that has the minimum value

Note
This function is only available in Python.

Definition at line 19 of file argminmax.py.