DendriteToSoma#
- class braintools.conn.DendriteToSoma(source_dendrites=None, **kwargs)#
Specialized connectivity from dendrites to soma.
This creates connections from dendritic compartments to soma compartments, modeling dendritic integration and signal propagation to the cell body.
Changed in version 0.4.0: Pairs are sampled as in
CompartmentSpecific(binomial edge count, then distinct pairs), so the edges for a givenseeddiffer from 0.3.- Parameters:
source_dendrites (
List[int] |None) – List of dendrite compartment types to use as sources.
Examples
>>> from braintools.conn import DendriteToSoma, BASAL_DENDRITE, APICAL_DENDRITE >>> dend_soma = DendriteToSoma( ... source_dendrites=[BASAL_DENDRITE, APICAL_DENDRITE], ... connection_prob=0.6, ... seed=0, ... ) >>> result = dend_soma(pre_size=50, post_size=50) >>> result.n_connections 2934