From 9978503944347225986f3d857d12478fb9688621 Mon Sep 17 00:00:00 2001 From: taranu Date: Fri, 10 Nov 2023 18:39:59 -0800 Subject: [PATCH] Update updateCatalogFootprints call to new scarlet_lite interface --- python/lsst/pipe/tasks/fit_coadd_multiband.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/python/lsst/pipe/tasks/fit_coadd_multiband.py b/python/lsst/pipe/tasks/fit_coadd_multiband.py index 345eb057f..21af26560 100644 --- a/python/lsst/pipe/tasks/fit_coadd_multiband.py +++ b/python/lsst/pipe/tasks/fit_coadd_multiband.py @@ -28,6 +28,7 @@ import lsst.afw.table as afwTable from lsst.meas.base import SkyMapIdGeneratorConfig +from lsst.meas.extensions.scarlet.io import updateCatalogFootprints import lsst.pex.config as pexConfig import lsst.pipe.base as pipeBase import lsst.pipe.base.connectionTypes as cT @@ -291,11 +292,11 @@ def runQuantum(self, butlerQC, inputRefs, outputRefs): for dataId in dataIds: catalog = cats[dataId] exposure = exps[dataId] - models_scarlet.updateCatalogFootprints( + updateCatalogFootprints( + modelData=models_scarlet, catalog=catalog, band=dataId['band'], - psfModel=exposure.getPsf(), - redistributeImage=exposure.image, + imageForRedistribution=exposure, removeScarletData=True, updateFluxColumns=False, )