Home | Trees | Indices | Help |
|
---|
|
1 ## Copyright 2002-2010 by PyMMLib Development Group (see AUTHORS file) 2 ## This code is part of the PyMMLib distribution and governed by 3 ## its license. Please see the LICENSE file that should have been 4 ## included as part of this package. 5 import math 6 7 PI = math.pi 8 PI2 = math.pi**2 9 PI3 = math.pi**3 10 11 RAD2DEG = 180.0 / PI 12 DEG2RAD = PI / 180.0 13 RAD2DEG2 = RAD2DEG**2 14 DEG2RAD2 = DEG2RAD**2 15 16 ## converts between U (angstrom^2) temperature factor values and B temperature 17 ## factor values. 18 U2B = 8.0 * PI2 19 B2U = 1.0 / (8.0 * PI2) 20 B2UE4 = B2U * 10000.0 21 22 ## Path to render (Raster3D) binary 23 RENDER = "/usr/local/bin/render" 24 25 AMINO_BACKBONE = ["N", "CA", "C"] 26 NUCLEIC_BACKBONE = ["P", "O5'", "C5'", "C4'", "C3'", "O3'", 27 "P", "O5*", "C5*", "C4*", "C3*", "O3*"] 28 BACKBONE_ATOMS = AMINO_BACKBONE + NUCLEIC_BACKBONE 29
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Jun 27 14:43:16 2011 | http://epydoc.sourceforge.net |