Energy function templates for restraint generation
SubselectionAlgorithm
[source]¶Bases: object
A class to collect all subselection algorithms
cutoff
(data, cutoff=0.287)[source]¶A cutoffdefined subselection algorithm
This algorithm removes a decoy, if its score is less than the cutoff.
Parameters:  

Returns: 

ignore
(data)[source]¶“A subselection algorithm to keep all
This algorithm doesn’t do anything except mimic others.
It will not discard any decoys and keep all!!
Parameters:  data (list, tuple) – A 1D array of scores 

Returns: 

linear
(data, cutoff=0.5)[source]¶A linearlydefined subselection algorithm
This algorithm removes the worst x``% decoys, where ``x
is defined by cutoff
.
Parameters:  

Returns: 

scaled
(data, cutoff=0.5)[source]¶A scalingdefined subselection algorithm
This algorithm removes a decoy, if its scaled score is less than 0.5. The scaled score is calculated by dividing the precision score by the average of the set.
Parameters:  

Returns: 
