nocad.viz.plot_depth_map#

nocad.viz.plot_depth_map(adj, nodes, kind='control', pos=None, ax=None, regions=True, labels=None, node_size=240, title=None, colorbar=True, drivers=None, sensors=None)[source]#

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

Every state is colored by its distance from the nearest driver node (to the nearest sensor node); the light hulls are the control (observation) regions, the sets of states that share their nearest driver (sensor). The largest depth is the relative order of the configuration; states that no driver reaches (that reach no sensor) are drawn white with a vermilion rim.

Parameters:
nodesarray_like of int

Driver nodes (kind="control") or sensor nodes (kind="observation").

Examples using nocad.viz.plot_depth_map#

Control and observation depth maps

Control and observation depth maps

Set covering and centrality-based placement

Set covering and centrality-based placement

Heat exchanger networks

Heat exchanger networks

The frontal neural network of C. elegans

The frontal neural network of C. elegans