Trees | Indices | Help |
|
---|
|
object --+ | Frames
A iterator that transparently provides frames from a trajectory.
The iterator chops a trajectory into individual frames for analysis tools that only work on separate structures such as gro or pdb files. Instead of turning the whole trajectory immediately into pdb files (and potentially filling the disk), the iterator can be instructed to only provide a fixed number of frames and compute more frames when needed.
Note
Setting a limit on the number of frames on disk can lead to longish waiting times because trjconv must re-seek to the middle of the trajectory and the only way it can do this at the moment is by reading frames sequentially. This might still be preferrable to filling up a disk, though.
Warning
The maxframes option is not implemented yet; use the dt option or similar to keep the number of frames manageable.
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
|
|||
framenumber Holds the current frame number of the currently extracted batch of frames. |
|||
totalframes Total number of frames read so far; only important when maxframes > 0 is used. |
|
|||
all_frames Unordered list of all frames currently held on disk. |
|||
current_framename | |||
Inherited from |
|
|
|
framenumberHolds the current frame number of the currently extracted batch of frames. Increases when iterating. |
|
all_framesUnordered list of all frames currently held on disk.
|
current_framename
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Jun 12 15:59:35 2010 | http://epydoc.sourceforge.net |