Resource competition in growing neurites (Hjorth et al 2014)

 Download zip file 
Help downloading and running models
Accession:152788
Computer model of neurite outgrowth in a simplified neuron. A growth limiting resource is produced in the soma, transported through the neurites and consumed at the growth cones.
Reference:
1 . Hjorth JJ, van Pelt J, Mansvelder HD, van Ooyen A (2014) Competitive dynamics during resource-driven neurite outgrowth. PLoS One 9:e86741 [PubMed]
Model Information (Click on a link to find other models with that property)
Model Type: Neuron or other electrically excitable cell;
Brain Region(s)/Organism:
Cell Type(s):
Channel(s):
Gap Junctions:
Receptor(s):
Gene(s):
Transmitter(s):
Simulation Environment: Python;
Model Concept(s): Simplified Models; Development;
Implementer(s): Hjorth, Johannes [hjorth at csc.kth.se];
# Helper class that takes care of the 

from math import sqrt

class Point():

  coords = []

  def __init__(self, coords):
    self.coords = coords

  def __add__(self, other):
    return Point((self.coords[0] + other.coords[0], \
                  self.coords[1] + other.coords[1], \
                  self.coords[2] + other.coords[2]))

  def __sub__(self, other):
    return Point((self.coords[0] - other.coords[0], \
                  self.coords[1] - other.coords[1], \
                  self.coords[2] - other.coords[2]))

  # Multiplication with scalar only works if scalar is written after
  def __mul__(self, other):
    return Point((self.coords[0]*float(other), \
                  self.coords[1]*float(other), \
                  self.coords[2]*float(other)))

  def __div__(self, other):
    return Point((self.coords[0]/float(other), \
                  self.coords[1]/float(other), \
                  self.coords[2]/float(other)))

  # !!! Should I use this, or does it screw up picle
  def __repr__(self):
    return "(" + str(self.coords[0]) + "," \
               + str(self.coords[1]) + ","\
               + str(self.coords[2]) + ")"

  def __getitem__(self,key):
    return self.coords[key]

  def norm(self):
    return sqrt(self.coords[0]**2 + self.coords[1]**2 + self.coords[2]**2)

  

Loading data, please wait...