1fb9539b40763afd855d2d80de43a58c37792157,brian2/groups/neurongroup.py,NeuronGroup,_create_variables,#NeuronGroup#Any#,367

Before Change


        entries for the equation variables and some standard entries.
        """
        self.variables = Variables(self)
        self.variables.add_attribute_variable("t", second, self.clock, "t_")
        self.variables.add_attribute_variable("dt", second, self.clock, "dt_")
        self.variables.add_constant("N", Unit(1), self._N)

        if dtype is None:
            dtype = defaultdict(lambda: brian_prefs["core.default_scalar_dtype"])

After Change


        Create the variables dictionary for this `NeuronGroup`, containing
        entries for the equation variables and some standard entries.
        """
        self.variables = Variables(self)
        self.variables.add_clock_variables(self.clock)
        self.variables.add_constant("N", Unit(1), self._N)

        if dtype is None:
            dtype = defaultdict(lambda: brian_prefs["core.default_scalar_dtype"])
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 13

Instances


Project Name: brian-team/brian2
Commit Name: 1fb9539b40763afd855d2d80de43a58c37792157
Time: 2014-01-16
Author: marcel.stimberg@ens.fr
File Name: brian2/groups/neurongroup.py
Class Name: NeuronGroup
Method Name: _create_variables


Project Name: brian-team/brian2
Commit Name: 1fb9539b40763afd855d2d80de43a58c37792157
Time: 2014-01-16
Author: marcel.stimberg@ens.fr
File Name: brian2/groups/neurongroup.py
Class Name: NeuronGroup
Method Name: _create_variables


Project Name: brian-team/brian2
Commit Name: 1fb9539b40763afd855d2d80de43a58c37792157
Time: 2014-01-16
Author: marcel.stimberg@ens.fr
File Name: brian2/monitors/ratemonitor.py
Class Name: PopulationRateMonitor
Method Name: __init__


Project Name: brian-team/brian2
Commit Name: 1fb9539b40763afd855d2d80de43a58c37792157
Time: 2014-01-16
Author: marcel.stimberg@ens.fr
File Name: brian2/groups/poissongroup.py
Class Name: PoissonGroup
Method Name: __init__