Package schrodinger :: Package trajectory :: Module analysis :: Class _RamachandranCallback
[hide private]
[frames] | no frames]

Class _RamachandranCallback

This class implements a callback to print information about selected Ramachandran plot points.

It is implemented as a class with a __call__ method so that it is easy to store information about the run, including a reference frame from the simulation and the phi and psi analyses that make up the Ramachandran analysis.

Instance Methods [hide private]
 
__init__(self, reference_frame=None, rama=None)
 
getIndexInfo(self, index)
Return an identifying string for the residue index provided.
 
addPoints(self, frame_id, points)
Add points to be tracked.
 
__call__(self, mouseevent)
The method that is used for the callback.
Method Details [hide private]

__init__(self, reference_frame=None, rama=None)
(Constructor)

 
Parameters:
  • reference_frame - a frame from the simulation, used to get a Structure from which atom indices, residue names and numbers are retrieved.

__call__(self, mouseevent)
(Call operator)

 

The method that is used for the callback. (See the class docstring (_RamachandranCallback) for more info.)