truncate_energies

jaxrens.io.restart_truncate.truncate_energies(path, restart_iteration)[source]

Drop .energies data rows with iteration label >= restart_iteration.

The first line is the header (n_walkers n_cull n_dof 0.0 n_atoms); every subsequent line is <iteration> <energy> <volume>.

Parameters:
Return type:

None