From 6907a268e61434389994b2a309dc16e266a4cfca Mon Sep 17 00:00:00 2001 From: Peter Yoachim Date: Fri, 1 Nov 2024 12:36:51 -0700 Subject: [PATCH 1/2] remove slow plots from batch --- rubin_sim/maf/batches/science_radar_batch.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rubin_sim/maf/batches/science_radar_batch.py b/rubin_sim/maf/batches/science_radar_batch.py index f4c12bd0..207f1d58 100644 --- a/rubin_sim/maf/batches/science_radar_batch.py +++ b/rubin_sim/maf/batches/science_radar_batch.py @@ -1207,6 +1207,7 @@ def science_radar_batch( run_name=runName, summary_metrics=lightcurve_summary(), display_dict=displayDict, + plot_funcs=[], ) bundleList.append(bundle) @@ -1219,6 +1220,7 @@ def science_radar_batch( run_name=runName, summary_metrics=lightcurve_summary(), display_dict=displayDict, + plot_funcs=[], ) bundleList.append(bundle) @@ -1364,6 +1366,7 @@ def science_radar_batch( info_label="single model", summary_metrics=lightcurve_summary(), display_dict=displayDict, + plot_funcs=[], ) bundleList.append(bundle) @@ -1386,6 +1389,7 @@ def science_radar_batch( info_label="all models", summary_metrics=lightcurve_summary(), display_dict=displayDict, + plot_funcs=[], ) bundleList.append(bundle) From 94874d56ba2bca421d9154aba71367980a199dc6 Mon Sep 17 00:00:00 2001 From: Peter Yoachim Date: Tue, 12 Nov 2024 14:45:40 -0800 Subject: [PATCH 2/2] use HealpixSkyMap for KNe and TDE large number of events --- rubin_sim/maf/batches/science_radar_batch.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rubin_sim/maf/batches/science_radar_batch.py b/rubin_sim/maf/batches/science_radar_batch.py index 207f1d58..7d91a93e 100644 --- a/rubin_sim/maf/batches/science_radar_batch.py +++ b/rubin_sim/maf/batches/science_radar_batch.py @@ -1207,7 +1207,7 @@ def science_radar_batch( run_name=runName, summary_metrics=lightcurve_summary(), display_dict=displayDict, - plot_funcs=[], + plot_funcs=[plots.HealpixSkyMap()], ) bundleList.append(bundle) @@ -1220,7 +1220,7 @@ def science_radar_batch( run_name=runName, summary_metrics=lightcurve_summary(), display_dict=displayDict, - plot_funcs=[], + plot_funcs=[plots.HealpixSkyMap()], ) bundleList.append(bundle) @@ -1366,7 +1366,7 @@ def science_radar_batch( info_label="single model", summary_metrics=lightcurve_summary(), display_dict=displayDict, - plot_funcs=[], + plot_funcs=[plots.HealpixSkyMap()], ) bundleList.append(bundle) @@ -1389,7 +1389,7 @@ def science_radar_batch( info_label="all models", summary_metrics=lightcurve_summary(), display_dict=displayDict, - plot_funcs=[], + plot_funcs=[plots.HealpixSkyMap()], ) bundleList.append(bundle)