HappyDoc Generated Documentation Class: DCDWrite

. / Trajectory / DCD / MDToolsMarch97 / md_DCD.py / DCDWrite 

Writes a DCD file. Can only append.

Data: allatoms, freeatoms.

Methods: d = DCD(dcdfile,atoms,[free],[ISTART],[NSAVC],[DELTA]) - open dcdfile dcdfile: must not exist atoms=AtomGroup: all atoms to save to the file free=AtomGroup: if there are fixed atoms, these are the free ones ISTART: first timestep NSAVC: saving frequency DELTA: timestep d.append() - append the current coordinates of atoms (free) to the file

Note: DO NOT modify atoms or free while DCDWrite is being used.

See also: AtomGroup

Base Classes   

DCDWrite
  DCD

Methods   
  append 
append ( self,  frame=None )
Exceptions   

"frame size mismatch"

  __init__ 
__init__ (
        self,
        dcdfile,
        atoms,
        free=None,
        **header,
        )
Exceptions   

"some free atoms were not in atoms list"
'file ' + dcdfile + ' exists and this class will not overwrite it'

  __repr__ 
__repr__ ( self )

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