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

Class ExposureCN

source code

AbstractPropertyMap.AbstractPropertyMap --+
                                          |
                                         ExposureCN

Instance Methods [hide private]
 
__init__(self, model, radius=12.0, offset=0)
A residue's exposure is defined as the number of CA atoms around that residues CA atom.
source code

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

Method Details [hide private]

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

source code 

A residue's exposure is defined as the number of CA atoms around that residues CA atom. A dictionary is returned that uses a Residue object as key, and the residue exposure as corresponding value.

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__