4f1e7f2f936bf5f3e6d1da8d8be843dc3273fe67,examples/1d/plot_filters.py,,,#,17
Before Change
psis_f = (psi1_f, psi2_f)
Qs = (Q, 1)
for k in range(2):
axs[k].plot(np.arange(T)/T, phi_f[0], "b")
for psi_f in psis_f[k]:
axs[k].plot(np.arange(T)/T, psi_f[0], "b")
axs[k].set_xlim(0, 0.5)
axs[k].set_ylim(0, 1.2)
axs[k].set_xlabel("\omega")
axs[k].set_ylabel("\hat\psi_j(\omega)")
axs[k].set_title("Q = {}".format(Qs[k]))
fig.suptitle(("Fourier transforms of wavelets for all scales j with the "
"corresponding lowpass filter."))
plt.show()
After Change
plt.xlabel(r"$\omega$", fontsize=18)
plt.ylabel(r"$\hat\psi_j(\omega)$", fontsize=18)
plt.title("First-order filters (Q = {})".format(Q) , fontsize=18)
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
// Do the same plot for the second-order filters. Note that since here `Q = 1`,
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 5
Instances Project Name: kymatio/kymatio
Commit Name: 4f1e7f2f936bf5f3e6d1da8d8be843dc3273fe67
Time: 2018-11-21
Author: janden@flatironinstitute.org
File Name: examples/1d/plot_filters.py
Class Name:
Method Name:
Project Name: kymatio/kymatio
Commit Name: 4f1e7f2f936bf5f3e6d1da8d8be843dc3273fe67
Time: 2018-11-21
Author: janden@flatironinstitute.org
File Name: examples/1d/plot_filters.py
Class Name:
Method Name:
Project Name: coala/coala-bears
Commit Name: bfd61fb7a0c4456ce812a227f3b1962b2c727879
Time: 2016-09-03
Author: abdealikothari@gmail.com
File Name: bears/general/KeywordBear.py
Class Name: KeywordBear
Method Name: run
Project Name: xinntao/BasicSR
Commit Name: 29ab5e1965503be3ffe87462e973edf1d457af6e
Time: 2018-09-06
Author: wxt1994@126.com
File Name: codes/scripts/extract_subimgs_single.py
Class Name:
Method Name: main