graph

run.graph

Classes

Name Description
GraphRunner

GraphRunner

run.graph.GraphRunner(connectome, normalize_weights=True)

Methods

Name Description
to_yaml Export Network to YAML format.
to_yaml
run.graph.GraphRunner.to_yaml(format='tvbo', filepath=None)

Export Network to YAML format.

Parameters

format : str Output format: “tvbo” (default) or “pyrates” for PyRates CircuitTemplate. filepath : str, optional Path to write the YAML file. If None, returns the YAML string.

Returns

str YAML string (or filepath if written to file).