msmbuilder.Trajectory.Trajectory.save_to_lhdf

Trajectory.save_to_lhdf(filename, precision=1000)[source]

Save a Trajectory instance to a Lossy HDF File.

First, remove the XYZList key because it should be written using the special CArray operation. This file format is roughly equivalent to an XTC and should comparable file sizes but with better IO performance.

Parameters:

Filename: str :

location to save to

Precision : float, optional

Precision to save xyzlist