tests.recipes.cec2.baseline package

Subpackages

Submodules

tests.recipes.cec2.baseline.test_enhance module

Tests for cec2 baseline enhance module.

tests.recipes.cec2.baseline.test_enhance.hydra_cfg(tmp_path: Path)[source]

Fixture for hydra config.

tests.recipes.cec2.baseline.test_enhance.not_tqdm(iterable)[source]

Replacement for tqdm that just passes back the iterable.

Useful for silencing tqdm in tests.

tests.recipes.cec2.baseline.test_enhance.test_enhance(tmp_path: Path, hydra_cfg: DictConfig) None[source]

Test run_HL_processing function.

tests.recipes.cec2.baseline.test_evaluate module

Tests for cec2 baseline evaluate module.

tests.recipes.cec2.baseline.test_evaluate.hydra_cfg(tmp_path: Path)[source]

Fixture for hydra config.

tests.recipes.cec2.baseline.test_evaluate.not_tqdm(iterable)[source]

Replacement for tqdm that just passes back the iterable.

Useful for silencing tqdm in tests.

tests.recipes.cec2.baseline.test_evaluate.test_calulate_SI(tmp_path: Path, hydra_cfg: DictConfig)[source]

Test evaluate function.

tests.recipes.cec2.baseline.test_evaluate.test_read_csv_scores()[source]

Test read_csv_scores function.

tests.recipes.cec2.baseline.test_evaluate.truncated_read_signal(filename: str | Path) tuple[int, np.ndarray][source]

Replacement for wavfile read signal function.

Returns first 1 second of the signal

Module contents