428dd99259f87fe7b23e039e507bb39f5fbd71db,brian2/monitors/ratemonitor.py,PopulationRateMonitor,__init__,#PopulationRateMonitor#Any#Any#Any#Any#,36

Before Change


        self.variables = {"t": AttributeVariable(second, self.clock, "t"),
                           "dt": AttributeVariable(second, self.clock,
                                                   "dt", constant=True),
                           "_spikes": AttributeVariable(Unit(1),
                                                        self.source, "spikes"),
                           // The template needs to have access to the
                           // DynamicArray here, having access to the underlying

After Change


        self.variables = {"t": AttributeVariable(second, self.clock, "t"),
                           "dt": AttributeVariable(second, self.clock,
                                                   "dt", constant=True),
                          "_spikespace": self.source.variables["_spikespace"],
                           // The template needs to have access to the
                           // DynamicArray here, having access to the underlying
                           // array is not enough since we want to do the resize
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: brian-team/brian2
Commit Name: 428dd99259f87fe7b23e039e507bb39f5fbd71db
Time: 2013-08-20
Author: dan.goodman@ens.fr
File Name: brian2/monitors/ratemonitor.py
Class Name: PopulationRateMonitor
Method Name: __init__


Project Name: brian-team/brian2
Commit Name: 35867edbfc6a3bf219c9391f1014612c6b7b7025
Time: 2013-08-20
Author: dan.goodman@ens.fr
File Name: brian2/monitors/spikemonitor.py
Class Name: SpikeMonitor
Method Name: __init__


Project Name: brian-team/brian2
Commit Name: 4fc2fed2a6e3da28de4d77b4e3917952a0dfa562
Time: 2013-08-12
Author: marcel.stimberg@ens.fr
File Name: brian2/core/variables.py
Class Name: VariableView
Method Name: __repr__