Created
September 4, 2019 10:21
-
-
Save aravindpai/444f30a17230b5b66b68644b9a5143f2 to your computer and use it in GitHub Desktop.
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
import numpy as np | |
energy = np.array([sum(abs(x[i:i+window_length]**2)) for i in range(0, len(x), window_length)]) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment