stilt.Trajectories.to_parquet#

Trajectories.to_parquet(path)[source]#

Write the trajectories to a Parquet file.

The receptor, params, and met files are stored in the file’s metadata, so from_parquet() needs nothing else.

Parameters:

path (str | Path) – File to write.

Returns:

The path written to.

Return type:

Path