DendriticTree#
- class braintools.conn.DendriticTree(branch_targeting, tree_structure=None, weight=None, delay=None, allow_self_connections=False, **kwargs)#
Dendritic tree connectivity with separate basal/apical probabilities.
Generates axon-to-dendrite connections using two independent connection probabilities:
branch_targeting['proximal']is applied to basal dendrites andbranch_targeting['distal']to apical dendrites. The'proximal'/'distal'keys are treated purely as the basal/apical probabilities respectively (no actual proximal/distal position model).- Parameters:
branch_targeting (
Dict) – Per-target connection probabilities.'proximal'-> basal dendrite probability (default 0.5),'distal'-> apical dendrite probability (default 0.3). Both must be in [0, 1].tree_structure (
Dict|None) – Reserved descriptive metadata about the dendritic tree. It is stored on the result metadata but does not affect connection generation.weight (
Initialization|float|int|ndarray|Array|Quantity|None) – Weight initialization.delay (
Initialization|float|int|ndarray|Array|Quantity|None) – Delay initialization.allow_self_connections (
bool) – Whether a neuron may connect to itself. DefaultFalse.
Examples
>>> dend_tree = DendriticTree( ... branch_targeting={'proximal': 0.8, 'distal': 0.2} ... )