recipes.cpc2.baseline.compute_haspi module¶
Compute the HASPI scores.
- recipes.cpc2.baseline.compute_haspi.compute_haspi_for_signal(signal_name: str, path: dict) float [source]¶
Compute the HASPI score for a given signal.
- Parameters:
signal (str) – name of the signal to process
path (dict) – paths to the signals and metadata, as defined in the config
- Returns:
HASPI score
- Return type:
float
- recipes.cpc2.baseline.compute_haspi.parse_cec2_signal_name(signal_name: str) tuple[str, str, str] [source]¶
Parse the CEC2 signal name.