tests.recipes.cad1.task1.baseline package
Submodules
tests.recipes.cad1.task1.baseline.test_enhance_task1 module
Tests for the enhance module
- tests.recipes.cad1.task1.baseline.test_enhance_task1.test_apply_baseline_ha()[source]
Test the behaviour of the CAD1 - Task1 - baseline hearing aid
- tests.recipes.cad1.task1.baseline.test_enhance_task1.test_decompose_signal(separation_model, normalise)[source]
Takes a signal and decomposes it into VDBO sources using the HDEMUCS model
- tests.recipes.cad1.task1.baseline.test_enhance_task1.test_get_device()[source]
Test the correct device selection given the inputs
- tests.recipes.cad1.task1.baseline.test_enhance_task1.test_map_to_dict()[source]
Test that the map_to_dict returns the expected mapping
- tests.recipes.cad1.task1.baseline.test_enhance_task1.test_process_stems_for_listener()[source]
Takes 2 stems and applies the baseline processing using a listeners audiograms
tests.recipes.cad1.task1.baseline.test_evaluate module
Tests for the evaluation module
- tests.recipes.cad1.task1.baseline.test_evaluate.test_evaluate_song_listener(song, listener_id, config, split_dir, listener_audiograms, expected_results, tmp_path)[source]
Test the function _evaluate_song_listener returns correct results given input
- tests.recipes.cad1.task1.baseline.test_evaluate.test_make_song_listener_list()[source]
Test the function generates the correct list of songs and listeners pairs
tests.recipes.cad1.task1.baseline.test_merge_batches module
Tests for merge_batches module