Searched refs:block_size (Results 1 – 4 of 4) sorted by relevance
/tools/test/connectivity/acts/framework/acts/test_utils/audio_analysis_lib/ |
D | audio_analysis.py | 276 block_size=ANOMALY_DETECTION_BLOCK_SIZE, argument 308 golden_y = _generate_golden_pattern(rate, freq, block_size) 312 for start in range(0, len(signal), int(block_size / 2)): 313 end = start + block_size 327 block_size=ANOMALY_DETECTION_BLOCK_SIZE, argument 353 anoms = anomaly_detection(signal, rate, freq, block_size, threshold) 363 if sample_diff > block_size / 2 + tolerance: 370 def _generate_golden_pattern(rate, freq, block_size): argument 395 samples_in_golden_pattern = samples_in_a_period + block_size 626 block_size=ANOMALY_DETECTION_BLOCK_SIZE, argument [all …]
|
D | audio_quality_measurement.py | 280 def hilbert_analysis(signal, rate, block_size): argument 304 hilbert_block = block_size // 2 330 def find_block_average_value(arr, side_block_size, block_size): argument 378 while left_border < index - block_size / 2: 381 while right_border < min(length, index + block_size / 2): 390 def find_start_end_index(dominant_frequency, block_frequency_delta, block_size, argument 419 left_border = max(0, index - block_size / 2) 420 right_border = min(length - 1, index + block_size / 2) 843 block_size = int(block_size_secs * rate) 852 amplitude, frequency = hilbert_analysis(signal, rate, block_size) [all …]
|
/tools/test/connectivity/acts/framework/acts/test_utils/coex/ |
D | audio_test_utils.py | 114 block_size=ANOMALY_DETECTION_BLOCK_SIZE, argument 138 block_size=block_size,
|
/tools/test/connectivity/acts/framework/tests/ |
D | audio_analysis_integrationtest.py | 183 self.block_size = 120 234 self.y, self.rate, self.freq, self.block_size) 255 self.anomaly_start_secs - float(self.block_size) / self.rate,
|