RECallback¶
- class jaxrens.cli.monitor.RECallback(logger_obj)[source]¶
Bases:
objectWrites per-fire inter-RE swap counts to HDF5.
Reads
info["inter_re_stats"](populated byrun_loopwhen the manager fires) and forwards the per-pair counts to anRELogger. Skips iterations on which the manager did not fire (info key absent orn_attempted_per_pairis empty / sums to zero) — the resulting file’s iteration index is therefore the authoritative record of when the manager actually did work.- Parameters:
logger_obj (Any) – A ready-to-use
RELoggerinstance.