Skip to content

Commit

Permalink
Doc for branch_edges
Browse files Browse the repository at this point in the history
  • Loading branch information
michaeldeistler committed Dec 18, 2023
1 parent f098e77 commit 0efd2e3
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions jaxley/modules/network.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,13 @@ def __init__(
c.synapse_type.synapse_states.keys() for c in connectivities
]

# Two columns: `parent_branch_index` and `child_branch_index`. One row per
# branch, apart from those branches which do not have a parent (i.e.
# -1 in parents). For every branch, tracks the global index of that branch
# (`child_branch_index`) and the global index of its parent
# (`parent_branch_index`). Needed at `init_syns()`.
self.branch_edges: Optional[pd.DataFrame] = None

self.initialize()
self.init_syns(connectivities)

Expand Down

0 comments on commit 0efd2e3

Please sign in to comment.