HappyDoc Generated Documentation Class: AtomGroup

. / Trajectory / DCD / MDToolsMarch97 / md_AtomGroup.py / AtomGroup 

A group of atoms.

Data: atoms, [frames]

Methods: g = AtomGroup() g.atoms.append(a) g.masses() - array of masses g.tmass() - total mass g.charges() - array of charges g.tcharge() - total charge g.cgeom() - center of geometry g.cmass() - center of mass g.rgyration() - radius of gyration g.saveframe([key]) - save coordinates to internal dictionary g.loadframe([key]) - get coordinates from internal dictionary g.delframe([key]) - remove coordinates from internal dictionary frame = g.coordinates() - return array of coordinates g.putframe(frame) - fill array with coordinates g.getframe(frame) - get coordinates from array frame = mol.putframe() g.getmolframe(frame) - get coordinates from list for all atoms in molecule g.asel(func) - return atom selection based on filter function

See also: Molecule, ASel

Methods   
  __repr__ 
__repr__ ( self )
  charges 
charges ( self )
  masses 
masses ( self )
  getframe 
getframe ( self,  frame )
  loadframe 
loadframe ( self,  key=None )
Exceptions   

"no frames saved internally"

  cgeom 
cgeom ( self )
  rgyration 
rgyration ( self )
  saveframe 
saveframe ( self,  key=None )
  putframe 
putframe ( self,  frame )
  asel 
asel ( self,  func )
  tmass 
tmass ( self )
  delframe 
delframe ( self,  key=None )
Exceptions   

"no frames saved internally"

  coordinates 
coordinates ( self )
  getmolframe 
getmolframe ( self,  frame )
  cmass 
cmass ( self )
  __init__ 
__init__ ( self )
  tcharge 
tcharge ( self )

This document was automatically generated Thu Nov 15 14:09:06 2007 by HappyDoc version 3.0.a1