lir.aggregation.case_llr_csv module

class lir.aggregation.case_llr_csv.CaseLLRToCsv(output_dir: Path, case_data_provider: DataProvider, filename: str = 'case_llr.csv')[source]

Bases: Aggregation

Aggregation that applies a full-data-fitted LR system to case data and stores LLRs as CSV.

Parameters:
  • output_dir (Path) – Directory where the CSV file will be written.

  • case_data_provider (DataProvider) – Provider for the case data to apply the LR system to.

  • filename (str, optional) – Name of the output CSV file, by default ‘case_llr.csv’.

report(data: AggregationData) None[source]

Apply the full-data-fitted LR system to the case data and store the resulting LLRs as CSV.

Parameters:

data (AggregationData) – Aggregation data containing the fitted LR system and case data.