This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"""Framework to confirm that STFT is invertible even if window is not COLA | |
For the theory behind this, see: https://gauss256.github.io/blog/cola.html""" | |
import numpy as np | |
from scipy import signal | |
def stft(x, w, nperseg, nhop): | |
"""Forward STFT""" | |
X = np.array( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// ==UserScript== | |
// @name MathJax on Slack | |
// @namespace https://github.com/fsavje/math-with-slack | |
// @description Renders math on Slack using MathJax. Based on github:fsavje/math-with-slack. | |
// @include https://*.slack.com/messages/* | |
// @version 1 | |
// @grant none | |
// ==/UserScript== | |
// See: https://github.com/fsavje/math-with-slack |