Skip to content

Commit

Permalink
Update config overrides for star selector registry
Browse files Browse the repository at this point in the history
MeasureApCorrTask now has its star selector in a RegistryField
instead of a ConfigurableField; update a config override accordingly.
  • Loading branch information
r-owen committed Jun 7, 2016
1 parent 47a9df5 commit 72fe3a7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config/processCcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
config.charImage.detectAndMeasure.measurement.slots.apFlux = "base_CircularApertureFlux_7_0"
config.charImage.detectAndMeasure.measurement.slots.calibFlux = "base_CircularApertureFlux_7_0"

# we rarely run PSF determination on SDSS data, so we have to run our own star selector instead
from lsst.meas.algorithms import ObjectSizeStarSelectorTask
config.charImage.detectAndMeasure.measureApCorr.starSelector.retarget(ObjectSizeStarSelectorTask)
# we rarely run PSF determination on SDSS data, so the flag needed by the default star selector
# for measuring aperture correction is not available; run our own star selector instead
config.charImage.detectAndMeasure.measureApCorr.starSelector.name = "objectSize"

config.calibrate.detectAndMeasure.detection.background.binSize = 512
config.calibrate.detectAndMeasure.detection.background.binSize = 512
Expand Down

0 comments on commit 72fe3a7

Please sign in to comment.