Searched refs:block_size (Results 1 – 4 of 4) sorted by relevance
/tools/test/connectivity/acts_tests/acts_contrib/test_utils/audio_analysis_lib/ |
D | audio_analysis.py | 274 block_size=ANOMALY_DETECTION_BLOCK_SIZE, argument 306 golden_y = _generate_golden_pattern(rate, freq, block_size) 310 for start in range(0, len(signal), int(block_size / 2)): 311 end = start + block_size 325 block_size=ANOMALY_DETECTION_BLOCK_SIZE, argument 351 anoms = anomaly_detection(signal, rate, freq, block_size, threshold) 361 if sample_diff > block_size / 2 + tolerance: 368 def _generate_golden_pattern(rate, freq, block_size): argument 393 samples_in_golden_pattern = samples_in_a_period + block_size 628 block_size=ANOMALY_DETECTION_BLOCK_SIZE, argument [all …]
|
D | audio_quality_measurement.py | 279 def hilbert_analysis(signal, rate, block_size): argument 303 hilbert_block = block_size // 2 329 def find_block_average_value(arr, side_block_size, block_size): argument 377 while left_border < index - block_size / 2: 380 while right_border < min(length, index + block_size / 2): 389 def find_start_end_index(dominant_frequency, block_frequency_delta, block_size, argument 418 left_border = max(0, index - block_size / 2) 419 right_border = min(length - 1, index + block_size / 2) 840 block_size = int(block_size_secs * rate) 849 amplitude, frequency = hilbert_analysis(signal, rate, block_size) [all …]
|
/tools/test/connectivity/acts_tests/acts_contrib/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_tests/acts_contrib/test_utils_tests/ |
D | audio_analysis_integrationtest.py | 178 self.block_size = 120 229 self.y, self.rate, self.freq, self.block_size) 250 self.anomaly_start_secs - float(self.block_size) / self.rate,
|