Package Bio :: Package PDB :: Module HSExposure :: Class HSExposureCB
[hide private]
[frames] | no frames]

Class HSExposureCB

source code

                             object --+        
                                      |        
AbstractPropertyMap.AbstractPropertyMap --+    
                                          |    
                        _AbstractHSExposure --+
                                              |
                                             HSExposureCB


Class to calculate HSE based on the real CA-CB vectors.

Instance Methods [hide private]
 
__init__(self, model, radius=12, offset=0)
@param model: the model that contains the residues @type model: L{Model}
source code
 
_get_cb(self, r1, r2, r3)
Method to calculate CB-CA vector.
source code

Inherited from _AbstractHSExposure (private): _get_gly_cb_vector

Inherited from AbstractPropertyMap.AbstractPropertyMap: __contains__, __getitem__, __iter__, __len__, has_key, keys

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, model, radius=12, offset=0)
(Constructor)

source code 

@param model: the model that contains the residues
@type model: L{Model}

@param radius: radius of the sphere (centred at the CA atom)
@type radius: float

@param offset: number of flanking residues that are ignored in the calculation            of the number of neighbors
@type offset: int

Overrides: object.__init__

_get_cb(self, r1, r2, r3)

source code 

Method to calculate CB-CA vector.

@param r1, r2, r3: three consecutive residues (only r2 is used)
@type r1, r2, r3: L{Residue}

Overrides: _AbstractHSExposure._get_cb