Package nMOLDYN :: Package Core :: Module IOFiles :: Class NAMDConverter |
[hide private]
[frames] | no frames]

# Class NAMDConverter

source code

Converts a NAMD Trajectory into a MMTK NetCDFFile.

Comments:

- this code is based on the original converter written by Konrad Hinsen.

Instance Methods | [hide private]
__init__(self, pdbFile, dcdFile, xstFile, outputFile) The constructor. | source code
__convert(self) Performs the actual conversion. | source code

Method Details | [hide private]

### __init__(self, pdbFile, dcdFile, xstFile, outputFile) (Constructor) | source code
The constructor. Will do the conversion. Parameters: `pdbFile` (string) - the NAMD PDB file name of a frame of the trajectory to convert. `dcdFile` (string) - the NAMD DCD file name of the trajectory to convert. `xstFile` (string) - the NAMD XSTfile name of the trajectory to convert. `outputFile` (string) - the name of MMTK NetCDF trajectory output file.