OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:fftData
(Results
1 - 2
of
2
) sorted by null
/cts/suite/audio_quality/test_description/processing/
calc_thd.py
25
fftData
= abs(fft.fft(data * np.hanning(len(data))))
26
fftData
[0] = 0 # ignore DC
27
fftLen = len(
fftData
)/2
31
np.argmax(
fftData
[baseI - iMargain /2: baseI + iMargain/2])
32
peakLoc = np.argmax(
fftData
[:fftLen])
37
P0 = math.pow(la.norm(
fftData
[baseSignalLoc - iMargain/2: baseSignalLoc + iMargain/2]), 2)
41
Pothers += math.pow(la.norm(
fftData
[i - iMargain/2: i + iMargain/2]), 2)
gen_random.py
34
fftData
= fft.rfft(randomSignal)
37
#print len(randomSignal), len(
fftData
), fLow, fHigh, iHigh
40
fftData
[0] = 0 # DC
42
fftData
[ 2 * i + 1 ] = 0
43
fftData
[ 2 * i + 2 ] = 0
45
fftData
[samples - 1] = 0
47
filteredData = fft.irfft(
fftData
)
48
#freq = np.linspace(0.0, samplingRate, num=len(
fftData
), endpoint=False)
Completed in 681 milliseconds