Changeset 1023
- Timestamp:
- 12/02/11 01:43:02 (6 months ago)
- Files:
-
- 1 modified
-
trunk/src/nemo/simulator.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/nemo/simulator.py
r1018 r1023 94 94 poissons_sources = [] 95 95 arrays_sources = [] 96 fired = [] 96 97 97 98 for source in spikes_array_list: … … 112 113 spikes += [source] 113 114 114 fired = numpy.sort(self.sim.step(spikes, currents))115 116 if self.stdp:117 self.simulation.apply_stdp(1.0)118 119 115 for recorder in recorder_list: 120 116 if recorder.variable is "spikes": … … 122 118 if recorder.variable is "v": 123 119 recorder._add_vm(self.t) 120 121 fired = self.sim.step(spikes, currents) 122 123 if self.stdp: 124 self.simulation.apply_stdp(1.0) 125 124 126 if self.verbose: 125 127 self.prog.update_amount(t)
