Home
last modified time | relevance | path

Searched refs:hostData (Results 1 – 2 of 2) sorted by relevance

/cts/suite/audio_quality/test_description/processing/
Dcheck_spectrum.py39 def do_check_spectrum(hostData, DUTData, samplingRate, fLow, fHigh, margainLow, margainHigh): argument
41 N = 512 if (len(hostData) > 512) else len(hostData)
50 Phh, freqs = plt.psd(hostData, NFFT=N, Fs=samplingRate, Fc=0, detrend=plt.mlab.detrend_none,\
107 hostData = inputData[0]
109 hostData = toMono(hostData)
120 hostData_ = hostData
122 if len(hostData) > len(dutData):
123 delay = calc_delay.calc_delay(hostData, dutData)
125 hostData_ = hostData[delay:delay+N]
126 if len(hostData) < len(dutData):
[all …]
Dcheck_spectrum_playback.py38 def do_check_spectrum_playback(hostData, samplingRate, fLow, fHigh, margainLow, margainHigh): argument
40 N = 512 if (len(hostData) > 512) else len(hostData)
49 Phh, freqs = plt.psd(hostData, NFFT=N, Fs=samplingRate, Fc=0, detrend=plt.mlab.detrend_none,\
92 hostData = inputData[0]
98 (passFail, minError, maxError, Spectrum) = do_check_spectrum_playback(hostData, \