Skip to main content
Ctrl+K

nocad

  • Installation
  • Example gallery
  • API reference
  • The book
  • Interoperability
    • Migration from the MATLAB toolbox
    • Citing
    • Changelog
    • All textbooks
  • GitHub
  • Installation
  • Example gallery
  • API reference
  • The book
  • Interoperability
  • Migration from the MATLAB toolbox
  • Citing
  • Changelog
  • All textbooks
  • GitHub

Section Navigation

  • Input and output design
    • nocad.design.InputOutputDesign
    • nocad.design.maximum_matching_pf
    • nocad.design.maximum_matching_ss
    • nocad.design.maximum_matching_min
    • nocad.design.control_matching
    • nocad.design.driver_nodes
    • nocad.design.sensor_nodes
    • nocad.design.n_driver_nodes
    • nocad.design.generate_matrices
    • nocad.design.generate_matrices_pf
    • nocad.design.generate_matrices_ss
    • nocad.design.input_matrix
    • nocad.design.output_matrix
    • nocad.design.METHODS
  • Matchings, node roles and edge classes
    • nocad.matching.Matching
    • nocad.matching.maximum_matching
    • nocad.matching.matching_size
    • nocad.matching.node_roles
    • nocad.matching.edge_classes
    • nocad.matching.all_maximum_matchings
    • nocad.matching.NODE_ROLES
    • nocad.matching.EDGE_CLASSES
  • Strongly connected components
    • nocad.components.Condensation
    • nocad.components.strongly_connected_components
    • nocad.components.components
    • nocad.components.condensation
    • nocad.components.source_components
    • nocad.components.sink_components
    • nocad.components.topological_order
    • nocad.components.is_trivial_component
  • Controllability and observability tests
    • nocad.structural.structural_rank
    • nocad.structural.is_structurally_controllable
    • nocad.structural.is_structurally_observable
    • nocad.structural.accessible_states
    • nocad.structural.controllability_matrix
    • nocad.structural.observability_matrix
    • nocad.structural.controllable_subspace_dimension
    • nocad.structural.generic_controllable_dimension
    • nocad.structural.is_controllable
    • nocad.structural.is_observable
    • nocad.structural.pbh_uncontrollable_modes
    • nocad.structural.control_centrality
    • nocad.structural.observe_centrality
    • nocad.structural.random_realization
  • Driver types and control profiles
    • nocad.profiles.driver_types
    • nocad.profiles.sensor_types
    • nocad.profiles.control_profile
    • nocad.profiles.observation_profile
    • nocad.profiles.DRIVER_TYPES
  • Distances and relative degree
    • nocad.distances.geodesic_distances
    • nocad.distances.all_shortest_paths
    • nocad.distances.diameter
    • nocad.distances.relative_degree
    • nocad.distances.relative_degree_matrix
    • nocad.distances.control_depth
    • nocad.distances.observation_depth
    • nocad.distances.control_regions
    • nocad.distances.observation_regions
    • nocad.distances.placement_cost
    • nocad.distances.control_distance_matrix
    • nocad.distances.observation_distance_matrix
  • Connection types
    • nocad.connection.connection_type
    • nocad.connection.connection_type_counts
    • nocad.connection.add_node_dynamics
    • nocad.connection.add_edge_dynamics
    • nocad.connection.apply_connection_type
    • nocad.connection.free_loops
    • nocad.connection.free_symmetric
    • nocad.connection.add_edges
    • nocad.connection.dynamics_heatmap
    • nocad.connection.connection_type_study
    • nocad.connection.CONNECTION_TYPES
  • System characterisation
    • nocad.measures.closeness_centrality
    • nocad.measures.degree
    • nocad.measures.degree_correlation
    • nocad.measures.degree_freeman
    • nocad.measures.degree_in
    • nocad.measures.degree_out
    • nocad.measures.degree_scott
    • nocad.measures.degree_variance
    • nocad.measures.density
    • nocad.measures.edge_betweenness
    • nocad.measures.node_betweenness
    • nocad.measures.num_edges
    • nocad.measures.num_nodes
    • nocad.measures.pagerank
    • nocad.measures.pearson_dir
    • nocad.measures.percent_loop_sym
    • nocad.measures.driver_similarity
    • nocad.measures.edge_similarity
    • nocad.measures.endpoint_similarity
    • nocad.measures.jaccard
    • nocad.measures.reach_c
    • nocad.measures.reach_o
    • nocad.measures.reachability
    • nocad.measures.sensor_similarity
    • nocad.measures.sim_weighting
    • nocad.measures.get_config
    • nocad.measures.measures_tables
    • nocad.measures.system_measures
  • Placement of additional inputs and outputs
    • nocad.placement.Placement
    • nocad.placement.improve_configuration
    • nocad.placement.anneal
    • nocad.placement.annealing_placement
    • nocad.placement.centrality_retrofit
    • nocad.placement.greedy_set_cover
    • nocad.placement.reach_within
    • nocad.placement.set_cover
    • nocad.placement.set_cover_except
    • nocad.placement.configuration_cost
    • nocad.placement.PLACEMENT_METHODS
  • Robustness
    • nocad.robustness.node_removal_robustness
    • nocad.robustness.robustness_table
    • nocad.robustness.edge_removal_robustness
  • Role annotations
    • nocad.annotation.annotate
    • nocad.annotation.node_table
    • nocad.annotation.edge_table
    • nocad.annotation.component_levels
    • nocad.annotation.NODE_COLUMNS
    • nocad.annotation.EDGE_COLUMNS
  • Import and export
    • nocad.io.from_networkx
    • nocad.io.to_networkx
    • nocad.io.from_igraph
    • nocad.io.to_igraph
    • nocad.io.from_pandas_edgelist
    • nocad.io.to_pandas
    • nocad.io.from_state_space
    • nocad.io.from_control
    • nocad.io.to_control
    • nocad.io.read
    • nocad.io.write
    • nocad.io.read_mat
    • nocad.io.write_mat
    • nocad.io.to_dot
    • nocad.io.FORMATS
  • Visualization
    • nocad.viz.hierarchy_layout
    • nocad.viz.control_cacti
    • nocad.viz.cactus_layout
    • nocad.viz.bipartite_layout
    • nocad.viz.cycle_order
    • nocad.viz.plot_scc_hierarchy
    • nocad.viz.plot_bipartite_matching
    • nocad.viz.plot_control_cacti
    • nocad.viz.plot_structure_matrix
    • nocad.viz.depth_colormap
    • nocad.viz.plot_depth_map
    • nocad.viz.plot_distance_matrix
    • nocad.viz.plot_operability_plane
    • nocad.viz.plot_node_roles
    • nocad.viz.plot_edge_classes
    • nocad.viz.plot_robustness_map
    • nocad.viz.plot_annotation
    • nocad.viz.plot_control_profiles
    • nocad.viz.plot_dynamics_heatmap
    • nocad.viz.plot_placement_history
    • nocad.viz.plot_operability_summary
  • Plotting primitives
    • nocad.plotting.default_layout
    • nocad.plotting.as_pos_dict
    • nocad.plotting.draw_network
    • nocad.plotting.plot_network
    • nocad.plotting.role_colors
    • nocad.plotting.legend_handles
    • nocad.plotting.PALETTE
    • nocad.plotting.ROLE_COLORS
    • nocad.plotting.LAYOUTS
  • Data sets
    • nocad.datasets.list_networks
    • nocad.datasets.load_network
    • nocad.datasets.load_nocad_example
    • nocad.datasets.load_four_node_example
    • nocad.datasets.make_random_network
    • nocad.datasets.make_water_tanks
    • nocad.datasets.make_heat_exchanger_network
    • nocad.datasets.make_hen_case_study
    • nocad.datasets.make_cycle_example
    • nocad.datasets.make_competing_cycles
    • nocad.datasets.NETWORKS
  • API reference

API reference#

The public API of nocad by module. Functions that take a network take its adjacency matrix adj (rows are start nodes); functions that take a system take the state matrix A (its transpose). The notation is the one of the book.

  • Input and output design
  • Matchings, node roles and edge classes
  • Strongly connected components
  • Controllability and observability tests
  • Driver types and control profiles
  • Distances and relative degree
  • Connection types
  • System characterisation
  • Placement of additional inputs and outputs
  • Robustness
  • Role annotations
  • Import and export
  • Visualization
  • Plotting primitives
  • Data sets

previous

State matrices of real dynamical systems

next

Input and output design

Show Source

© Copyright 2026, János Abonyi, Dániel Leitold, Ágnes Vathy-Fogarassy.

Created using Sphinx 9.1.1.