Load a single conformation from an OpenMM XML file.
The OpenMM serialized state XML format contains additional information that is not read by this method, including forces, energies, and velocities. Here, we just read the positions and the box vectors.
Parameters: | filename : string
top : {str, Trajectory, Topology}
|
---|---|
Returns: | trajectory : md.Trajectory
|