msmbuilder.io.save_trajs¶
-
msmbuilder.io.
save_trajs
(trajs, fn, meta, key_to_path=None)¶ Save trajectory-like data
Data is stored in individual numpy binary files in the directory given by
fn
.This method will automatically back up existing files named
fn
.Parameters: - trajs : dict of (key, np.ndarray)
Dictionary of trajectory-like ndarray’s keyed on
meta.index
values.- fn : str
Where to save the data. This will be a directory containing one file per trajectory
- meta : pd.DataFrame
The DataFrame of metadata