This repository was archived by the owner on Jul 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
produced axons are not symmetric #2
Copy link
Copy link
Open
Description
OSS-DBS/OSS_platform/Axon_files/axon.py
Line 176 in a06b533
| def __create_ref_nodes(self): |
This function doesn't make symmetric axons, although centered.
Symmetric exmaple
o--x-x------x------x-x--o-x-x------x------x-x--o
Asymmetric example
o--x-x------x--------x--o--x-x------x--------x--o
This imposes directionality in the VTA from an array.
Example
from Axon_files.axon import *
a = Axon({}) # the default centered axon
# according to McIntyre each internode must be comprised of
# MYSA -- FLUT -- 6x STIN -- FLUE -- MYSA
# sandwiched by Ranvier nodes. The default reference axon
# has 20 compartments each with 10 internodal segments.
ref_nodes = a._Axon__create_ref_nodes() # shape: 221
inter1 = ref[1:11] # location of the 10 segments of first internodal compartment
# inter2 = ref[12:22] # location of the 10 segments of second internodal compartment
# ...
# if the internodal segments are symmetric, then their
# location difference too must be symmetric
np.diff(inter1) # it's not!Metadata
Metadata
Assignees
Labels
No labels