jaxrens.postprocess.plotting

Matplotlib plotting helpers for NS run analysis.

Each function accepts a Monitor (or array data) and an optional ax argument, and returns the Axes object for further customisation. Keyword arguments flow through to the underlying matplotlib call.

Matplotlib is imported lazily inside each function so that jaxrens.postprocess can be imported in environments without matplotlib installed.

Functions

plot_acceptance_rates

Plot per-move acceptance rate vs iteration from the adaptation trace.

plot_energy_trace

Plot the live-walker culled energy vs iteration.

plot_free_energy

Plot Helmholtz free energy F vs temperature.

plot_heat_capacity

Plot heat capacity C_v vs temperature.

plot_heatmap

Draw a 2D pressure-temperature heatmap of an observable.

plot_log_evidence_trace

Plot cumulative log evidence vs dead-point index.

plot_max_neighbors

Plot per-iteration neighbor-bucket diagnostics.

plot_partition_function

Plot log partition function log Z vs temperature.

plot_re_acceptance

Plot inter-replica swap acceptance rate vs iteration.

plot_re_acceptance_stacked

Plot per-pair RE swap acceptance with vertical stacking.

plot_step_sizes

Plot per-move step size vs iteration from the adaptation trace.

Classes

TYPE_CHECKING

bool(x) -> bool