MaxNeighborsLog

class jaxrens.io.max_neighbors_log.MaxNeighborsLog(iterations, max_neighbor_count, bucket_size, overflow, n_runs, n_walkers)[source]

Bases: object

Parsed neighbor-bucket trace loaded from a .max_neighbors.h5 file.

Variables:
  • iterations (ndarray) – shape (n_entries,) int64 — NS iteration indices

  • max_neighbor_count (ndarray) – shape (n_entries, n_runs, n_walkers) int32

  • bucket_size (ndarray) – shape (n_entries, n_runs) int32

  • overflow (ndarray) – shape (n_entries, n_runs) bool

  • n_runs (int) – number of parallel runs (1 for single-run)

  • n_walkers (int) – number of walkers per run

Parameters:
property peak_per_iter: ndarray

(n_entries, n_runs) max-over-walkers reduction.

Type:

Convenience

property headroom: ndarray

bucket_size - peak_per_iter — slack remaining at each iter.