AxonToDendrite#
- class braintools.conn.AxonToDendrite(target_dendrites=None, **kwargs)#
Specialized connectivity from axon to dendritic compartments.
This represents the most common type of synaptic connection where axons form synapses on dendritic branches.
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.Examples
>>> import brainunit as u >>> from braintools.conn import AxonToDendrite, BASAL_DENDRITE, APICAL_DENDRITE >>> from braintools.init import LogNormal >>> axon_dend = AxonToDendrite( ... target_dendrites=[BASAL_DENDRITE, APICAL_DENDRITE], ... connection_prob=0.1, ... weight=LogNormal(mean=2.0 * u.nS, std=0.5 * u.nS), ... seed=0, ... ) >>> result = axon_dend(pre_size=50, post_size=50) >>> result.n_connections 505