AdiabaticScanResult

experimental.network_dynamics.analysis.AdiabaticScanResult(p, n_up, stats)

Result of an :func:adiabatic_scan.

Attributes

Name Type Description
p jax.Array The swept parameter values, in scan order. Length 2*n when bothways (up then down), else n.
n_up int Number of values in the ascending branch. p[:n_up] is the up-branch and p[n_up:] the down-branch.
stats Bunch of str -> jax.Array One array per recorded statistic, stacked along the scan axis and reachable by attribute (stats.mean) or key (stats["mean"]). Shape is [len(p)] for scalar reducers and [len(p), ...] for vector-valued reducers (e.g. [len(p), n_nodes] for a per-node statistic).