bsb.connectivity package#
Subpackages#
Submodules#
bsb.connectivity.general module#
- class bsb.connectivity.general.AllToAll(*args, _parent=None, _key=None, **kwargs)[source]#
Bases:
ConnectionStrategy
All to all connectivity between two neural populations
- class bsb.connectivity.general.Convergence(*args, _parent=None, _key=None, **kwargs)[source]#
Bases:
ConnectionStrategy
Connect cells based on a convergence distribution, i.e. by connecting each source cell to X target cells.
- convergence: Distribution#
Base implementation of all the different configuration attributes. Call the factory function
attr()
instead.
- get_node_name()#
- class bsb.connectivity.general.FixedIndegree(*args, _parent=None, _key=None, **kwargs)[source]#
Bases:
InvertedRoI
,ConnectionStrategy
Connect a group of postsynaptic cell types to
indegree
uniformly random presynaptic cells from all the presynaptic cell types.- get_node_name()#
bsb.connectivity.strategy module#
- class bsb.connectivity.strategy.ConnectionStrategy(*args, _parent=None, _key=None, **kwargs)[source]#
Bases:
ABC
,HasDependencies
- depends_on: list[ConnectionStrategy]#
The list of strategies that must run before this one
- get_node_name()#
- output_naming: str | None | dict[str, dict[str, str, None, list[str]]]#
Specifies how to name the output ConnectivitySets in which the connections between cell type pairs are stored.
- class bsb.connectivity.strategy.Hemitype(*args, _parent=None, _key=None, **kwargs)[source]#
Bases:
object
Class used to represent one (pre- or postsynaptic) side of a connection rule.
- get_node_name()#
- morpho_loader: Callable[[PlacementSet], MorphologySet]#
Function to load the morphologies (MorphologySet) from a PlacementSet. This override can allow temporary dynamic morphology generation during the connectivity phase, from a much smaller, or empty, MorphologySet. It is useful for example when the task would take too much disk space or time otherwise.