Package Bio :: Package PDB :: Module Atom :: Class DisorderedAtom
[hide private]
[frames] | no frames]

Class DisorderedAtom

source code

                    object --+    
                             |    
Entity.DisorderedEntityWrapper --+
                                 |
                                DisorderedAtom

Contains all Atom objects that represent the same disordered atom.

One of these atoms is "selected" and all method calls not caught
by DisorderedAtom are forwarded to the selected Atom object. In that way, a
DisorderedAtom behaves exactly like a normal Atom. By default, the selected
Atom object represents the Atom object with the highest occupancy, but a
different Atom object can be selected by using the disordered_select(altloc)
method.

Instance Methods [hide private]
 
__init__(self, id)
Create DisorderedAtom.
source code
 
__repr__(self)
repr(x)
source code
 
disordered_add(self, atom)
Add a disordered atom.
source code

Inherited from Entity.DisorderedEntityWrapper: __contains__, __getattr__, __getitem__, __iter__, __len__, __setitem__, __sub__, detach_parent, disordered_get, disordered_get_id_list, disordered_get_list, disordered_has_id, disordered_select, get_id, get_parent, is_disordered, set_parent

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, id)
(Constructor)

source code 
Create DisorderedAtom.

Arguments:
 - id - string, atom name

Overrides: object.__init__

__repr__(self)
(Representation operator)

source code 
repr(x)

Overrides: object.__repr__
(inherited documentation)

disordered_add(self, atom)

source code 
Add a disordered atom.

Overrides: Entity.DisorderedEntityWrapper.disordered_add