Пример #1
0
 def __init__(self, name=None, compile_paths=None):
     """
     :param name:
         Name of the cell
     :param compile_paths:
         paths to folders containing mods. Can be list or string separated by spaces.
     """
     CoreCell.__init__(self, name=name, compile_paths=compile_paths)
     SynapticSpineCell.__init__(self, name)
Пример #2
0
 def __init__(self, name=None, compile_paths=None):
     """
     :param name:
         Name of the cell
     """
     CoreCell.__init__(self, name, compile_paths=compile_paths)
     # if Cell (named core_cell) have been built before on the stack of super() objects
     if not hasattr(self, '_core_cell_builded'):
         self.secs = []
         self._core_cell_builded = True
Пример #3
0
    def __init__(self, name: str = None):
        """
        Making NetStim after simulation run() makes it has no effect on the current simulation.
        However it will appear in the next simulation if:
         * you call reinit() on the Simulation object
         * or create a new Simulation object

        :param name:
            the name of the NetStim
        """
        CoreCell.__init__(self, name)
        self.nss = []
Пример #4
0
 def __init__(self, name=None):
     CoreCell.__init__(self, name)
     self.nss = []
Пример #5
0
 def __init__(self, name=None):
     CoreCell.__init__(self, name)
     self.vss = []
     self.vecs = []