EnergyLogger

class jaxrens.io.energy_log.EnergyLogger(path, n_walkers, n_cull=1, n_dof=0, n_atoms=0, mode='w', restart_iteration=0)[source]

Bases: object

Writes and reads the .energies file.

Parameters:
  • path (Path | str)

  • n_walkers (int)

  • n_cull (int)

  • n_dof (int)

  • n_atoms (int)

  • mode (str)

  • restart_iteration (int)

static read(path)[source]

Parse a .energies file into structured data.

Parameters:

path (Path | str)

Return type:

EnergyLog