Visualization#

Visualization of controllability and observability analysis.

Layout algorithms (nocad.viz.layouts) and the views built on them:

Layout algorithms and views of controllability and observability.

Functions#

hierarchy_layout(adj[, direction, ...])

Layered layout of the condensation of a network.

control_cacti(adj[, method, matching, shared])

Decompose a controllability certificate into stems and buds (Lin's cacti).

cactus_layout(cacti, n_states[, node_gap, ...])

Positions for drawing control cacti (see control_cacti()).

bipartite_layout(adj[, matching, gap])

Two-column layout of the bipartite representation with matched edges horizontal.

cycle_order(adj, members)

Order the nodes of a strongly connected component along a greedy walk over its edges, so that consecutive nodes on the circle are mostly joined by edges.

plot_scc_hierarchy(adj[, drivers, sensors, ...])

Draw the network level by level on its condensation (see hierarchy_layout()).

plot_bipartite_matching(adj[, matching, ...])

Bipartite representation with a maximum matching and the edge classes.

plot_control_cacti(adj[, method, kind, ax, ...])

Draw the control (observation) cacti of a design (see control_cacti()).

plot_structure_matrix(adj[, B, C, matching, ...])

Zero pattern of the system matrix \(\left[\begin{smallmatrix}\mathbf{A}&\mathbf{B}\\ \mathbf{C}&\mathbf{0}\end{smallmatrix}\right]\) in block-triangular order.

depth_colormap(max_depth[, kind])

Discrete sequential colormap for depths 0..max_depth (blues for control, oranges for observation).

plot_depth_map(adj, nodes[, kind, pos, ax, ...])

Network colored by control depth \(\rho^C_i\) (or observation depth \(\rho^O_i\)).

plot_distance_matrix(adj, nodes[, kind, ax, ...])

Distances between the configured nodes (columns) and the states (rows).

plot_operability_plane(adj, drivers, sensors)

Every state in the plane of its control depth and observation depth.

plot_node_roles(adj[, pos, ax, labels, ...])

Network colored by the role of every node across all maximum matchings.

plot_edge_classes(adj[, pos, ax, labels, ...])

Network with every edge colored by its class across all maximum matchings.

plot_robustness_map(adj, result[, kind, ...])

Network with the critical nodes of a configuration (from nocad.node_removal_robustness()).

plot_annotation(adj, column[, annotation, ...])

Network with every node colored by a column of the annotation table.

plot_control_profiles(profiles[, groups, ...])

Control profiles \((\eta_s,\eta_e,\eta_i)\) in a ternary diagram (Ruths and Ruths 2014).

plot_dynamics_heatmap(result[, axes, title])

Heat maps of the driver and sensor counts of nocad.dynamics_heatmap().

plot_placement_history(histories[, ax, ...])

Relative order (or cost) against the number of added nodes for several methods.

plot_operability_summary(adj[, method, pos, ...])

Four panels that summarize the operability of a network.