- rubin_sim.maf.run_comparison.confusion_matrix_plot(comparison_matrix, xlabel, ylabel, run_name, t_e_range, save_folder)¶
Plots a confusion matrix type plot comparing two metric types.
- comparison_matrixnumpy array
Array comparing two metric types (A and B) with the following shape: [[(Yes A and Yes B), (Yes A and No B)], [(No A and Yes B), (No A and No B)]] where Yes A and Yes B are the number of events that pass both the A and B criteria.
Sring of xlabel (also used in file name of figure)
Sring of ylabel (also used in file name of figure)
Name of the OpSim run that was used in the metric (used in labels and file name)
String of the range of the tE (used in labels and file name)
String of folder name to save figures