5795af03c5842f6d7c77e29e146cfe960df3bceb,spynnaker/pyNN/models/common/neuron_recorder.py,NeuronRecorder,__init__,#NeuronRecorder#Any#Any#,27

Before Change


    N_CPU_CYCLES_PER_NEURON = 4

    def __init__(self, allowed_variables, n_neurons):
        AbstractUInt32Recorder.__init__(self)
        self._sampling_rates = OrderedDict()
        self._n_neurons = n_neurons
    def __init__(self, allowed_variables):
        self._record = dict()

After Change


        self._sampling_rates = OrderedDict()
        self._n_neurons = n_neurons
        for variable in allowed_variables:
            self._sampling_rates[variable] = 0

    def n_neurons_recording(self, variable, vertex_slice):
        return vertex_slice.n_atoms
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 5

Non-data size: 4

Instances


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: 5795af03c5842f6d7c77e29e146cfe960df3bceb
Time: 2017-12-05
Author: christian.brenninkmeijer@manchester.ac.uk
File Name: spynnaker/pyNN/models/common/neuron_recorder.py
Class Name: NeuronRecorder
Method Name: __init__


Project Name: hyperopt/hyperopt
Commit Name: 1aa439ee5e78a952108f4feb5954dc42b748d7f7
Time: 2018-02-04
Author: james.bergstra@gmail.com
File Name: hyperopt/rdists.py
Class Name: lognorm_gen
Method Name: __init__


Project Name: SpiNNakerManchester/sPyNNaker
Commit Name: 0325d660c16aa8fa5068af2fdf16a04f82f7a892
Time: 2018-04-20
Author: andrew.gait@manchester.ac.uk
File Name: spynnaker/pyNN/models/neuron/input_types/input_type_current_semd.py
Class Name: InputTypeCurrentSEMD
Method Name: __init__


Project Name: biolab/orange3
Commit Name: 4b803479322219967f7daa836e9db02dce0b65d1
Time: 2013-07-20
Author: janez.demsar@fri.uni-lj.si
File Name: Orange/widgets/gui.py
Class Name: FloatSlider
Method Name: __init__


Project Name: TheAlgorithms/Python
Commit Name: 895bca36541598a04dba525568a20d2282e0ffd9
Time: 2021-03-30
Author: cclauss@me.com
File Name: web_programming/emails_from_url.py
Class Name: Parser
Method Name: __init__