08a4d83a7836b0de430850e72a64e283bdc56d05,snntoolbox/simulation/plotting.py,,output_graphs,#Any#Any#Any#Any#,20

Before Change


        s = a = []
        for ss, aa in zip(plot_vars["spikerates_n_b_l"],
                          plot_vars["activations_n_b_l"]):
            s += list(np.divide(np.ndarray.flatten(ss[0]), 1000.))
            a += list(np.ndarray.flatten(aa[0]))
        plot_hist({"Spikerates": s, "Activations": a}, path=path)
    print("Done.\n")

After Change


    if "hist_spikerates_activations" in plot_keys:
        s = []
        a = []
        for i in range(len(plot_vars["spikerates_n_b_l"])):
            s += list(plot_vars["spikerates_n_b_l"][i][0].flatten())
            a += list(plot_vars["activations_n_b_l"][i][0].flatten())
        plot_hist({"Spikerates": s, "Activations": a}, path=path)
    print("Done.\n")

Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: 08a4d83a7836b0de430850e72a64e283bdc56d05
Time: 2017-07-17
Author: bodo.rueckauer@gmail.com
File Name: snntoolbox/simulation/plotting.py
Class Name:
Method Name: output_graphs


Project Name: Qiskit/qiskit-aqua
Commit Name: 0dfe27c952b9c6f76425394f166a7058e86d3218
Time: 2019-07-16
Author: chenrich@us.ibm.com
File Name: qiskit/aqua/operators/common.py
Class Name:
Method Name: measure_pauli_z


Project Name: NeuromorphicProcessorProject/snn_toolbox
Commit Name: 08a4d83a7836b0de430850e72a64e283bdc56d05
Time: 2017-07-17
Author: bodo.rueckauer@gmail.com
File Name: snntoolbox/simulation/plotting.py
Class Name:
Method Name: output_graphs


Project Name: fgnt/pb_bss
Commit Name: 32d73ccb0d80db3727775fb9928f5f151ddaaab5
Time: 2015-10-06
Author: cbj@mail.uni-paderborn.de
File Name: nt/speech_enhancement/mask_estimation.py
Class Name:
Method Name: simple_ideal_soft_mask