pwtools.parse.TrajectoryFileParser.dump

TrajectoryFileParser.dump(dump_filename, mkdir=True)

Write object to binary file using pickle. Read back with read_pickle().