コード例 #1
0
ファイル: species.py プロジェクト: vortexlaboratory/neuron
 def d(self, value):
     if hasattr(self, '_allow_setting'):
         self._d = value
     else:
         _volumes, _surface_area, _diffs = node._get_data()
         _diffs[self.indices()] = value
         rxd._setup_matrices()
コード例 #2
0
ファイル: node.py プロジェクト: nrnhines/nrntmp
 def d(self, value):
     """Sets the diffusion rate within the compartment."""
     import rxd
     # TODO: make invalidation work so don't need to redo the setup each time
     #rxd._invalidate_matrices()
     _diffs[self._index] = value
     rxd._setup_matrices()
コード例 #3
0
 def d(self, value):
     if hasattr(self, '_allow_setting'):
         self._d = value
     else:
         _volumes, _surface_area, _diffs = node._get_data()
         _diffs[self.indices()] = value
         rxd._setup_matrices()
コード例 #4
0
ファイル: species.py プロジェクト: anuragpallaprolu/verilog
 def d(self, value):
     _volumes, _surface_area, _diffs = node._get_data()
     _diffs[self.indices()] = value
     rxd._setup_matrices()
コード例 #5
0
ファイル: node.py プロジェクト: vortexlaboratory/neuron
 def d(self, value):
     """Sets the diffusion rate within the compartment."""
     # TODO: make invalidation work so don't need to redo the setup each time
     #rxd._invalidate_matrices()
     _diffs[self._index] = value
     rxd._setup_matrices()    
コード例 #6
0
 def d(self, value):
     _volumes, _surface_area, _diffs = node._get_data()
     _diffs[self.indices()] = value
     rxd._setup_matrices()