Skip to content

Instantly share code, notes, and snippets.

@0xfe
Created March 2, 2020 16:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save 0xfe/77110315b05d55bad70d9a20dcc2594e to your computer and use it in GitHub Desktop.
Save 0xfe/77110315b05d55bad70d9a20dcc2594e to your computer and use it in GitHub Desktop.
Compare SciPy vs ANN: log-scaled spectrograms
plt.figure(figsize=(12, 3))
plt.subplot(1, 2, 1)
plt.pcolormesh(t, f, np.log(wave_sxx_graph))
plt.subplot(1, 2, 2)
plt.pcolormesh(t, f, np.log(nn_sxx_graph))
plt.show()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment