MoMetricBundleGroup

class rubin_sim.maf.metric_bundles.MoMetricBundleGroup(bundle_dict, out_dir='.', results_db=None, verbose=True)

Bases: object

Methods Summary

plot_all([savefig, outfile_suffix, ...])

Make a few generically desired plots.

run_all()

Run all constraints and metrics for these moMetricBundles.

run_constraint(constraint)

Calculate the metric values for all the metricBundles which match this constraint in the metricBundleGroup.

Methods Documentation

plot_all(savefig=True, outfile_suffix=None, fig_format='pdf', dpi=600, thumbnail=True, closefigs=True)

Make a few generically desired plots. This needs more flexibility in the future.

run_all()

Run all constraints and metrics for these moMetricBundles.

run_constraint(constraint)

Calculate the metric values for all the metricBundles which match this constraint in the metricBundleGroup. Also calculates child metrics and summary statistics, and writes all to disk. (work is actually done in _runCompatible, so that only completely compatible sets of metricBundles run at the same time).

Parameters:
constraintstr

SQL-where or pandas constraint for the metricBundles.