pyqmmm.qm.xyz_flipper

Reverses an xyz trajectory, for example if it was run backwards for better convergence.

Functions

read_xyz(file)

Read an xyz trajectory file and return a list of frames.

write_xyz(file, frames)

Write frames to an xyz trajectory file.

xyz_flipper(input_file)

Takes an xyz file and reverses the order of the frames.