This file contains hidden or 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
""" | |
This is a small script investigating the coherence discussed in the | |
Stackexchange Signal Processing answer here: | |
https://dsp.stackexchange.com/a/53947/1464 | |
""" | |
import numpy as np | |
from scipy.fftpack import dct | |
from scipy.linalg import circulant |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
"""The purpose of this script is to evaluate how severe the run-time | |
overhead is when specifying a transform size parameter for FFT and | |
DCT. It has been observed that specifying this parameter increases the | |
run-time, even if the specified size is equal to the size of the | |
input. The objective here is to figure out whether this overhead is a | |
constant set-up cost or it depends on the input size. | |
""" | |
import numpy as np |
This file contains hidden or 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
""" | |
This script attempts to prove that the ISWT2 implementation from | |
https://groups.google.com/d/msg/pywavelets/xk3UeFz9ZK0/mylNG7qUyKsJ | |
does not work properly. | |
""" | |
import numpy as np | |
import pywt | |
import pywt_addon |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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 sys | |
import re | |
replace_count = 1 | |
infile = open(str(sys.argv[1]), 'r') | |
outfile = open(str(sys.argv[2]), 'w') | |
for line in infile: | |
if '\\entry' in line: | |
outfile.write(re.findall('\\\\entry\{[^{]+', line)[0].replace('entry', 'bibcite') + '{' + str(replace_count) + '}\n') |