tests.recipes.cec1.baseline package

Submodules

tests.recipes.cec1.baseline.test_enhance module

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

Fixture for hydra config.

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

Replacement for tqdm that just passes back the iterable.

Useful for silencing tqdm in tests.

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

Test run_HL_processing function.

tests.recipes.cec1.baseline.test_evaluate module

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

Fixture for hydra config.

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

Replacement for tqdm that just passes back the iterable.

Useful for silencing tqdm in tests.

tests.recipes.cec1.baseline.test_evaluate.test_run_HL_processing(tmp_path: Path, hydra_cfg: DictConfig) None[source]

Test run_HL_processing function.

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

Test run_calculate_SI function.

tests.recipes.cec1.baseline.test_evaluate.truncated_read_signal(filename: str | Path, offset: int = 0, n_samples: int = -1, n_channels: int = 0, offset_is_samples: bool = False) ndarray[source]

Replacement for read signal function.

Returns first 1 second of the signal

Module contents