next up previous contents index
Next: model.point() return Up: The model class: handling Previous: model.group_restraints all   Contents   Index

model.atoms -- all atoms in the model

This is a standard Python list of all the atoms in the model. This can be used to query individual atom properties (e.g. coordinates) or to specify atoms for use in restraints, etc.

Atoms can be individually accessed in two ways:

See Section 6.22 for more information about Atom objects. See also Sequence.residues and Sequence.chains for equivalent lists of residues and chains. See also model.atom_range(), for getting a contiguous range of atoms.


next up previous contents index
Next: model.point() return Up: The model class: handling Previous: model.group_restraints all   Contents   Index
Ben Webb 2008-05-05