IMP Reference Guide
2.6.2
The Integrative Modeling Platform
|
Utility functions to extract min/max from the inputs. More...
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... | |
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.
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.
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
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
Definition at line 19 of file argminmax.py.