Next: label
Up: Controlling VMD from Python
Previous: graphics
Contents
Index
imd
Python operations available from the imd module, used to
display and interact with a molecule in a molecular dynamics simulation.
- connect(host, port):
Connect to a simulation running on host host and listening for
incoming connections on port port.
- pause():
If connected, cause the simulation to pause.
- detach():
If connected, detach from the simulation. The simulation will continue
to run, but no more frames will be received until a connection is
re-established.
- kill():
If connected, terminate the simulation. The connection will also be
abolished.
- transfer(rate):
Set/get how often the remote simulation sends coordinate frames to VMD.
If rate is omitted or is negative, no action is taken and the
current value is returned. A value of 1 corresponds to every frame
being sent; a value of 2 corresponds to every other frame, etc.
- keep(rate):
Set/get how often received coordinates frames are kept by VMD as part
of an animation.
If rate is omitted or is negative, no action is taken and the
current value is returned. A value of 0 means no frames are saved.
A value of 1 corresponds to every frame
being saved; a value of 2 corresponds to every other frame, etc.
Next: label
Up: Controlling VMD from Python
Previous: graphics
Contents
Index
vmd@ks.uiuc.edu