myogen.simulator.neuron.network.Network.get_netcons#

Network.get_netcons(source: str | None = None, target: str | None = None) list[source]#

Get NEURON NetCon objects with optional filtering by source and target.

Parameters:
  • source (str, optional) – Filter by source population/input name. If None, returns NetCons from all sources.

  • target (str, optional) – Filter by target population name. If None, returns NetCons to all targets.

Returns:

List of matching NetCon objects.

Return type:

list[h.NetCon]