nocad.connection.dynamics_heatmap#

nocad.connection.dynamics_heatmap(adj, levels=11, n_repeats=5, method='path_finding', random_state=0)[source]#

Driver and sensor counts as self-influence and interactions are added (MATLAB heatmaps).

A share \(p_\ell\) of the missing self-loops and a share \(p_s\) of the missing reverse edges are added at random, n_repeats times for every grid point, and the mean numbers of driver and sensor nodes are recorded.

Parameters:
adjnetwork
levelsint or array_like, default=11

Shares of the missing loops/reverse edges to add (int: evenly spaced in [0, 1]).

n_repeatsint, default=5
methodstr, default=”path_finding”

Driver/sensor method, see nocad.driver_nodes().

Returns:
resultBunch with loop_percent and sym_percent (final percentages along the

axes), drivers and sensors (mean counts, shape (n_levels, n_levels), rows = self-loop level, columns = interaction level) and levels.