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

Class HSExposureCB

source code

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) 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

Method Details [hide private]

__init__(self, model, radius=12, offset=0)
(Constructor)

source code 
Parameters:
  • model (Model) - the model that contains the residues
  • radius (float) - radius of the sphere (centred at the CA atom)
  • offset (int) - number of flanking residues that are ignored in the calculation of the number of neighbors
Overrides: AbstractPropertyMap.AbstractPropertyMap.__init__

_get_cb(self, r1, r2, r3)

source code 

Method to calculate CB-CA vector.

Parameters:
  • r1, r2, r3 - three consecutive residues (only r2 is used)
Overrides: _AbstractHSExposure._get_cb