Package schrodinger :: Package application :: Package desmond :: Package packages :: Module analysis :: Class Ramachandran
[hide private]
[frames] | no frames]

Class Ramachandran

      object --+    
               |    
GeomAnalyzerBase --+
                   |
                  Ramachandran


Calculate the Phi and Psi torsions for selected atoms.

Usage example:

  ana = Ramachandran([[1, 2, 3, 4, 5], [3, 4, 5, 6, 7]])
  # The phi-psi torsions are defined by 1-2-3-4 (phi_0), 2-3-4-5 (psi_0),
  # 3-4-5-6 (phi_1), and 4-5-6-7 (psi_1).

  results = analyze(tr, ana)

where C{tr} is a trajectory, and C{results} is a list, and each element in
the list is a list: [(phi_0, psi_0), (phi_1, psi_1),] for the corresponding
trajectory frame.

Instance Methods [hide private]
 
__init__(self, phipsi_gids)
x.__init__(...) initializes x; see help(type(x)) for signature
 
_precalc(self, calc)
 
_postcalc(self, calc, *_)

Inherited from GeomAnalyzerBase: __call__

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, phipsi_gids)
(Constructor)

 

x.__init__(...) initializes x; see help(type(x)) for signature

Parameters:
  • phipsi_gids (list of lists (or tuples) of ints) - Each element is a 5-element list or tuple, specifying the GIDs of the C0, N0, CA, C1, N1 backbone atoms
Overrides: object.__init__

_precalc(self, calc)

 
Overrides: GeomAnalyzerBase._precalc
(inherited documentation)

_postcalc(self, calc, *_)

 
Overrides: GeomAnalyzerBase._postcalc
(inherited documentation)