RELog

class jaxrens.io.re_stats_log.RELog(iterations, n_accepted_per_pair, n_attempted_per_pair, n_pairs, flavor)[source]

Bases: object

Parsed per-fire RE swap trace loaded from an .re_stats.h5 file.

Variables:
  • iterations (ndarray) – shape (n_entries,) int64 — NS iteration indices on which the manager fired.

  • n_accepted_per_pair (ndarray) – shape (n_entries, n_pairs) int32

  • n_attempted_per_pair (ndarray) – shape (n_entries, n_pairs) int32

  • n_pairs (int) – number of adjacent replica pairs (= n_runs - 1).

  • flavor (str) – ‘pressure’ | ‘xrens’ | ‘semi_grand’.

Parameters:
property acceptance_rates: ndarray

Per-fire per-pair acceptance rate (float32, zero where 0 attempted).