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

produced axons are not symmetric  #2

@arashgmn

Description

@arashgmn

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions