Calculate the average distances.
The formula used is:
_N_
/ 1 \ \ 1/exp
<r> = | - > |p1i - p2i|^exp |
\ N /__ /
i
where i are the members of the ensemble, N is the total number of
structural models, and p1 and p2 at the two atom positions.
- Parameters:
atom1 (str) - The atom identification string of the first atom.
atom2 (str) - The atom identification string of the second atom.
exp (int) - The exponent used for the averaging, e.g. 1 for linear averaging
and -6 for r^-6 NOE averaging.
- Returns: float
- The average distance between the two atoms.
|