bundle_dict_from_disk¶
- rubin_sim.maf.run_comparison.bundle_dict_from_disk(result_db, run_name, metric_data_path)¶
Load metric data from disk and import them into metricBundles. via PCW Hackathan 2020 Resources
- Args:
result_db(dict): A ResultDb object. run_name(str): The name of the opsim database that the metrics stored in
result_db was evaluated on.
- metric_data_path(str): The path to the directory where the metric data
(.npz files) is stored.
- Returns:
- bundle_dict(dict): A dictionary of metricBundles reconstructed from data
stored on disk, the keys designate metric names.