mirror of
https://github.com/google/pebble.git
synced 2025-04-30 15:21:41 -04:00
spelling: gaussian
Signed-off-by: Josh Soref <2119212+jsoref@users.noreply.github.com>
This commit is contained in:
parent
91e869b7a5
commit
adb0257e93
1 changed files with 4 additions and 4 deletions
|
@ -305,7 +305,7 @@ def compute_magnitude(x):
|
||||||
|
|
||||||
|
|
||||||
###################################################################################################
|
###################################################################################################
|
||||||
def apply_gausian(x, width=0.1):
|
def apply_gaussian(x, width=0.1):
|
||||||
""" Multiply x by the gaussian function. Width is a fraction, like 0.1
|
""" Multiply x by the gaussian function. Width is a fraction, like 0.1
|
||||||
"""
|
"""
|
||||||
result = []
|
result = []
|
||||||
|
@ -377,8 +377,8 @@ if __name__ == '__main__':
|
||||||
print "\n############ INPUT ######################"
|
print "\n############ INPUT ######################"
|
||||||
print_graph(input)
|
print_graph(input)
|
||||||
|
|
||||||
print "\n############ GAUSIAN OF INPUT ############"
|
print "\n############ GAUSSIAN OF INPUT ############"
|
||||||
# input = apply_gausian(input, 0.1)
|
# input = apply_gaussian(input, 0.1)
|
||||||
print_graph(input)
|
print_graph(input)
|
||||||
|
|
||||||
result = real_value_fft(input)
|
result = real_value_fft(input)
|
||||||
|
@ -425,7 +425,7 @@ if __name__ == '__main__':
|
||||||
input = [x - mean_mag for x in input]
|
input = [x - mean_mag for x in input]
|
||||||
|
|
||||||
print "\n############ INPUT ######################"
|
print "\n############ INPUT ######################"
|
||||||
# input = apply_gausian(input)
|
# input = apply_gaussian(input)
|
||||||
print_graph(input)
|
print_graph(input)
|
||||||
|
|
||||||
result = real_value_fft(input)
|
result = real_value_fft(input)
|
||||||
|
|
Loading…
Add table
Reference in a new issue