pyhgf.model.insert_nodes#

pyhgf.model.insert_nodes(network, n_nodes, node_type, node_parameters, value_parents=(None, None), volatility_parents=(None, None), value_children=(None, None), volatility_children=(None, None), coupling_fn=(None,))[source]#

Insert a set of parametrised node in a network.

Parameters:
  • network (Network)

  • n_nodes (int)

  • node_type (int)

  • node_parameters (Dict)

  • value_parents (Tuple)

  • volatility_parents (Tuple)

  • value_children (Tuple)

  • volatility_children (Tuple)

  • coupling_fn (Tuple[Optional[Callable], ...])

Return type:

Network