pyFDN.flamo_nodes_flat#

pyFDN.flamo_nodes_flat(root, path='root')[source]#

Flatten the node tree into a list of nodes, each with a ‘path’ key.

Parameters:
  • root (dict) – Root node from flamo_model_to_nodes().

  • path (str) – Path prefix for the root.

Returns:

Each dict has keys from the node plus “path” (e.g. “root/core/feedback_loop/fF”).

Return type:

list of dict