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

Class _RamachandranCallback

object --+
         |
        _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)
x.__init__(...) initializes x; see help(type(x)) for signature
 
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.

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, reference_frame=None, rama=None)
(Constructor)

 

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

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

__call__(self, mouseevent)
(Call operator)

 

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