Skip to content
Snippets Groups Projects
Commit 53e3c444 authored by Niklaus Johner's avatar Niklaus Johner
Browse files

Improved function description.

parent 1fbbb52d
No related branches found
No related tags found
No related merge requests found
...@@ -135,7 +135,7 @@ def CalculateDistanceDifferenceMatrix(sele1,sele2): ...@@ -135,7 +135,7 @@ def CalculateDistanceDifferenceMatrix(sele1,sele2):
This function calculates the pairwise distance differences between two EntityViews. This function calculates the pairwise distance differences between two EntityViews.
The two EntityViews should have the same number of atoms The two EntityViews should have the same number of atoms
It returns an NxN DistanceDifferenceMatrix M (where N is the number of atoms in sele1) It returns an NxN DistanceDifferenceMatrix M (where N is the number of atoms in sele1)
where M[i,j]=(sele2.atoms[i].pos-sele2.atoms[j].pos)-(sele1.atoms[i].pos-sele1.atoms[j].pos) where M[i,j]=|sele2.atoms[i].pos-sele2.atoms[j].pos|-|sele1.atoms[i].pos-sele1.atoms[j].pos|
""" """
try:import numpy as npy try:import numpy as npy
except ImportError: except ImportError:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment