Skip to content

Commit

Permalink
Merge pull request #850 from lsst/tickets/DM-40451-v26
Browse files Browse the repository at this point in the history
DM-40451-v26: Update multiband measurement task for deblending with partial coverage
  • Loading branch information
mwittgen authored Oct 24, 2023
2 parents 5bb0594 + 3250fcc commit 306586b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions python/lsst/pipe/tasks/multiBand.py
Original file line number Diff line number Diff line change
Expand Up @@ -565,6 +565,7 @@ def runQuantum(self, butlerQC, inputRefs, outputRefs):
catalog=sources,
band=inputRefs.exposure.dataId["band"],
psfModel=inputs['exposure'].getPsf(),
maskImage=inputs['exposure'].mask,
redistributeImage=redistributeImage,
removeScarletData=True,
)
Expand Down
5 changes: 5 additions & 0 deletions schemas/Object.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -603,6 +603,10 @@ funcs:
dataset: ref
ebv:
functor: Ebv
dataCoverage:
functor: Column
args: deblend_dataCoverage
dataset: meas
# DM-22247: Add Star/Galaxy sep columns
# - Morphological Star Galaxy Classifier (Names? float 0-1)]
# - Morphological + Color (SED-based) Star Galaxy Classifier (Names? float 0-1)]
Expand All @@ -619,6 +623,7 @@ refFlags:
- merge_peak_sky
- deblend_nChild
- deblend_skipped
- deblend_incompleteData
- slot_Shape_flag
- slot_Shape_xx
- slot_Shape_xy
Expand Down
1 change: 1 addition & 0 deletions tests/test_isPrimaryFlag.py
Original file line number Diff line number Diff line change
Expand Up @@ -255,6 +255,7 @@ def testIsScarletPrimaryFlag(self):
catalog=catalog,
band="test",
psfModel=coadds["test"].getPsf(),
maskImage=coadds["test"].mask,
redistributeImage=None,
)
# measure
Expand Down

0 comments on commit 306586b

Please sign in to comment.