From 10d8e50c94cb5714071c863669c132e4e1ae7c25 Mon Sep 17 00:00:00 2001 From: Dan Taranu Date: Mon, 14 Oct 2024 14:51:10 -0700 Subject: [PATCH] Add coadd multiband fit/MultiProFit overrides --- config/coaddMultibandFit.py | 9 +++++++++ config/multiProFitCoaddSersicFit.py | 3 +++ 2 files changed, 12 insertions(+) create mode 100644 config/coaddMultibandFit.py create mode 100644 config/multiProFitCoaddSersicFit.py diff --git a/config/coaddMultibandFit.py b/config/coaddMultibandFit.py new file mode 100644 index 00000000..2f894e9b --- /dev/null +++ b/config/coaddMultibandFit.py @@ -0,0 +1,9 @@ +import os + +from lsst.pipe.tasks.postprocess import TransformObjectCatalogConfig + +# By default loop over all the same bands that are present in the Object Table +objectConfig = TransformObjectCatalogConfig() +objectConfig.load(os.path.join(os.path.dirname(__file__), "transformObjectCatalog.py")) + +config.fit_coadd_multiband.bands_fit = objectConfig.outputBands diff --git a/config/multiProFitCoaddSersicFit.py b/config/multiProFitCoaddSersicFit.py new file mode 100644 index 00000000..754883d9 --- /dev/null +++ b/config/multiProFitCoaddSersicFit.py @@ -0,0 +1,3 @@ +import os.path + +config.load(os.path.join(os.path.dirname(__file__), "coaddMultibandFit.py"))