pele.amber.measure#
- class pele.amber.measure.Measure
-
class Measure:Measure length, angle and torsion angle given Cartesian points in 3-D
- Measure.norm()
-
def norm(self, r1):norm of a vector
- Measure.bond()
-
def bond(self, r1, r2):r1, r2 are numpy array with x,y,z coordinates
- Measure.angle()
-
def angle(self, r1, r2, r3):r1,r2,r3 are numpy array with x,y,z coordinates
return angle is between 0 and 180 degrees
- Measure.torsion()
-
def torsion(self, r1, r2, r3, r4):r1,r2,r3,r4 are numpy array containing x,y,z coordinates
return angle is between 0 and 360 degrees