5196910e726c04648f5cffae5f50ecd3171539ce,neurodsp/plts/filt.py,,plot_frequency_response,#Any#Any#Any#,11

Before Change


    plt.xlabel("Frequency (Hz)")

    // Plot filter kernel, if available
    if isinstance(a_vals, int):

        plt.subplot(1, 2, 2)
        plt.plot(b_vals, "k")
        plt.title("Kernel")

After Change



    ax.set_title("Frequency response")
    ax.set_xlabel("Frequency (Hz)")
    ax.set_ylabel("Attenuation (dB)")


def plot_filter_kernel(b_vals, ax=None):
    Plot the kernel of a filter.
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 2

Instances


Project Name: neurodsp-tools/neurodsp
Commit Name: 5196910e726c04648f5cffae5f50ecd3171539ce
Time: 2019-03-17
Author: tdonoghue@ucsd.edu
File Name: neurodsp/plts/filt.py
Class Name:
Method Name: plot_frequency_response


Project Name: mne-tools/mne-python
Commit Name: 64be522285d5eeea4e3fb4c6df133984fc65b74e
Time: 2018-09-08
Author: larson.eric.d@gmail.com
File Name: examples/time_frequency/plot_compute_source_psd_epochs.py
Class Name:
Method Name:


Project Name: BindsNET/bindsnet
Commit Name: a802d31210ed262b8159b656b256bdacf10c9d61
Time: 2020-05-11
Author: hananel@hazan.org.il
File Name: bindsnet/analysis/plotting.py
Class Name:
Method Name: plot_performance