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

Class ExposureCN

source code

                             object --+    
                                      |    
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

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

@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__