plot_fom

rubin_sim.maf.run_comparison.plot_fom(results, run_names, run_types, min_t_e, max_t_e, save_folder, figure_name, figsize)

Plots the results from the discovery/detect metric, Npts metric, and Fisher metric in three sub plots

Parameters:
resultsnumpy array of floats

Results from the MicrolensingMetric from get_results() from the respective microlensing metric type

run_namesnumpy array of strings

Array of names of the OpSim run that was used in the metric

run_typesnumpy array of strings

Array of strings describing microlensing metric type: either ‘detect’, ‘Npts’, or ‘Fisher’ as parsed by the file name

min_t_enumpy array of int/floats

Array of values describing the minium einstein crossing time (tE) as parsed by the file name

max_t_enumpy array of int/floats

Array of values describing the maximum einstein crossing time (tE) as parsed by the file name

save_folderstring

String of folder name to save figure

figure_namestring

String of figure name

figsizetuple

Tuple of figure size in inches. Default is None, which sets figsize = (25, 30)