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

Class ExposureCN

source code

                             object --+    
AbstractPropertyMap.AbstractPropertyMap --+

Residue exposure as number of CA atoms around its CA atom.
Instance Methods [hide private]
__init__(self, model, radius=12.0, offset=0)
source code

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.0, offset=0)

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 L{Residue} object as key, and the residue exposure as corresponding value.

  • model (L{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: object.__init__