pwtools.crys.Trajectory.dump

Trajectory.dump(dump_filename, mkdir=True)

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