Searched refs:np (Results 1 – 15 of 15) sorted by relevance
/cts/suite/audio_quality/test_description/processing/ |
D | calc_thd.py | 17 import numpy as np namespace 25 fftData = abs(fft.fft(data * np.hanning(len(data)))) 31 np.argmax(fftData[baseI - iMargain /2: baseI + iMargain/2]) 32 peakLoc = np.argmax(fftData[:fftLen]) 53 index = np.linspace(0.0, samples, num=samples, endpoint=False) 55 multiplier = 2.0 * np.pi * signalFrequency / float(samplingRate) 56 data = np.sin(index * multiplier)
|
D | calc_delay.py | 17 import numpy as np namespace 29 return np.dot(data0[n:N+n], data1reversed) 57 return np.argmax(result) 68 index = np.linspace(0.0, samples, num=samples, endpoint=False) 70 multiplier = 2.0 * np.pi * signalFrequency / float(samplingRate) 71 data0 = np.sin(index * multiplier)
|
D | example.py | 18 import numpy as np namespace 45 stereo = stereoInt.astype(np.int16) 48 mono = monoInt.astype(np.int16)
|
D | gen_random.py | 18 import numpy as np namespace 32 result = np.zeros(samples * 2 if stereo else samples, dtype=np.int16) 33 randomSignal = np.random.normal(scale = peakAmpl * 2 / 3, size=samples)
|
D | check_spectrum_playback.py | 18 import numpy as np namespace 54 spectrum = np.sqrt(abs(Phh[iLow:iHigh])) 55 spectrumMean = np.mean(spectrum) 63 spectrumResult = np.zeros(len(spectrum), dtype=np.int16)
|
D | check_spectrum.py | 18 import numpy as np namespace 59 amplitudeRatio = np.sqrt(abs(Pdd[iLow:iHigh]/Phh[iLow:iHigh])) 60 ratioMean = np.mean(amplitudeRatio) 68 RatioResult = np.zeros(len(amplitudeRatio), dtype=np.int16) 76 monoData = np.zeros(n)
|
D | playback_thd.py | 18 import numpy as np namespace
|
D | recording_thd.py | 18 import numpy as np namespace
|
/cts/suite/audio_quality/test_description/conf/ |
D | check_conf.py | 18 import numpy as np namespace 25 a = np.array([1,2,3])
|
/cts/suite/audio_quality/test_description/ |
D | processing_main.py | 18 import numpy as np namespace 174 data = np.fromstring(raw, dtype=np.int16)
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aget_wide/ |
D | Test_aget_wide.java | 80 } catch (NullPointerException np) { in testE2()
|
/cts/tools/vm-tests-tf/src/dot/junit/opcodes/aput_wide/ |
D | Test_aput_wide.java | 80 } catch (NullPointerException np) { in testE2()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | NinePatchDrawableTest.java | 336 NinePatch np = new NinePatch(bitmap, bitmap.getNinePatchChunk(), null); in getNinePatchDrawable() local 337 return new NinePatchDrawable(mResources, np); in getNinePatchDrawable()
|
/cts/tests/tests/media/assets/ |
D | segment000001.ts | 2024 ���T-껌3Q��4��o��jnF�DoE�V��8�����w�}[U��ŝ�`0(Q'��ΣG,np��@,���hՄ�hY�S��pa4<��\�Uz�<dێ�;��L
|
D | segment000000.ts | 97 �c��wo1�X�7�np��Ql�5�xU?��|�7�uhj�>����G�f���lB�q������&�������?���X�A��k�f�d���k�.�x…
|