bundle.combine_curves
Author: Leonardo de Sousa Marques Affiliation: Embedded Computing Lab (ECL), Federal University of Santa Catarina (UFSC)
- Description:
This module combines two or more R-D curves loaded from pre-computed RD report JSON files and generates a single comparative R-D plot per extra_rd_curves entry.
Each entry in
extra_rd_curvesdeclares a list ofrd_files, each identified by anidand pointing to a report JSON file with its ownrd_preferences(title, color, marker). An optionalanchorfield names theidof the curve to be used as BD-rate reference.The module reuses the existing RDCurveMatplotlibView / RDPlotMatplotlib infrastructure from rd_plot without modifying it.
- generate_combined_rd_plots(configuration, results_path)[source]
Generate combined R-D plots for all entries declared in
extra_rd_curves.Each entry in
configuration["rd_plots_from_bundle"]["extra_rd_curves"]produces one plot file per metric found across its report files. If ananchorid is specified, BD-rate values are computed relative to that curve.- Parameters:
configuration (ConfigurationReader) – Configuration reader containing the full config
results_path (Path) – Root directory where plots will be saved
- Return type:
None