peppr.get_fraction_of_rama_outliers#

peppr.get_fraction_of_rama_outliers(atom_array: AtomArray) float[source]#

Compute the fraction of Ramachandran outliers for given structure.

Parameters:
atom_arraystruc.AtomArray

The AtomArray or AtomArrayStack containing the structure(s).

Returns:
float

The fraction of Ramachandran outliers in the structure, calculated as the number of outlier Ramachandran angles divided by the total number of Ramachandran angles.