Skip to content

Commit

Permalink
Use a real star selector when measuring aperture corrections.
Browse files Browse the repository at this point in the history
  • Loading branch information
TallJimbo committed May 15, 2016
1 parent 3e63661 commit 9c0d070
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions config/processCcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,12 @@
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)

config.calibrate.detectAndMeasure.detection.background.binSize = 512
config.calibrate.detectAndMeasure.detection.background.binSize = 512
# we rarely run PSF determination on SDSS data, so use the output of the star selector instead
config.calibrate.detectAndMeasure.measureApCorr.inputFilterFlag = "calib_psfCandidate"

# use the WCS determined by SDSS (why?)
config.calibrate.astrometry.forceKnownWcs = True
Expand Down

0 comments on commit 9c0d070

Please sign in to comment.