Skip to content

Commit

Permalink
Update updateCatalogFootprints call to new scarlet_lite interface
Browse files Browse the repository at this point in the history
  • Loading branch information
taranu committed Nov 11, 2023
1 parent a0be069 commit da805cf
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions python/lsst/pipe/tasks/fit_coadd_multiband.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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,
)
Expand Down

0 comments on commit da805cf

Please sign in to comment.