From: W. Trevor King Date: Sat, 7 Aug 2010 22:11:37 +0000 (-0400) Subject: Create extra block holding PowerSpectrumCommand output data X-Git-Tag: 0.5~10^2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ebb4e6726c7c06efa88949ef313897ee4e297504;p=FFT-tools.git Create extra block holding PowerSpectrumCommand output data --- diff --git a/FFT_tools.py b/FFT_tools.py index cd8d587..0daec76 100644 --- a/FFT_tools.py +++ b/FFT_tools.py @@ -131,7 +131,6 @@ def unitary_rfft(data, freq=1.0): Notes ----- - If the units on your data are Volts, and your sampling frequency is in Hz, then `freq_axis` will be in Hz, @@ -324,7 +323,7 @@ def avg_power_spectrum(data, freq=1.0, chunk_size=2048, def unitary_avg_power_spectrum(data, freq=1.0, chunk_size=2048, overlap=True, window=window_hann): - """Compute the unitary avgerage power spectrum of `data`. + """Compute the unitary average power spectrum of `data`. See Also -------- @@ -351,7 +350,6 @@ class TestRFFT (unittest.TestCase): Notes ----- - The expected return values are [#dft]_: .. math:: X_k = \sum_{m=0}^{n-1} x_m \exp^{-2\pi imk/n} @@ -389,7 +387,6 @@ class TestUnitaryRFFT (unittest.TestCase): Notes ----- - Which is: .. math:: \sum_{m=0}^{n-1} |x_m|^2 dt = \sum_{k=0}^{n-1} |X_k|^2 df @@ -438,7 +435,6 @@ class TestUnitaryRFFT (unittest.TestCase): Notes ----- - Analytic result: .. math:: \rfft(\rect(at)) = 1/|a|\cdot\sinc(f/a) @@ -503,7 +499,6 @@ class TestUnitaryRFFT (unittest.TestCase): Notes ----- - Analytic result: .. math::