Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

produced axons are not symmetric #2

Open
arashgmn opened this issue Jun 18, 2021 · 0 comments
Open

produced axons are not symmetric #2

arashgmn opened this issue Jun 18, 2021 · 0 comments

Comments

@arashgmn
Copy link

arashgmn commented Jun 18, 2021

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!
This was referenced Jun 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant