Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DM-10302 Change flux->instFlux #39

Merged
merged 1 commit into from
Sep 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions config/default-lsst.psfex
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ PSF_ACCURACY 0.01 # Accuracy to expect from PSF "pixel" values
#------------------------- Point source measurements -------------------------

CENTER_KEYS slot_Centroid_x,slot_Centroid_y # Catalogue parameters for source pre-centering
PHOTFLUX_KEY base_CircularApertureFlux_9_0_flux # Catalogue parameter for photometric norm
PHOTFLUXERR_KEY base_CircularApertureFlux_9_0_fluxErr # Catalogue parameter for photometric error
PHOTFLUX_KEY base_CircularApertureFlux_9_0_instFlux # Catalogue parameter for photometric norm
PHOTFLUXERR_KEY base_CircularApertureFlux_9_0_instFluxErr # Catalogue parameter for photometric error

#----------------------------- PSF variability -------------------------------

Expand Down
2 changes: 1 addition & 1 deletion tests/testPsfexPsf.py
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ def setupDeterminer(self, exposure):
"""Setup the starSelector and psfDeterminer"""
starSelectorClass = measAlg.sourceSelectorRegistry["objectSize"]
starSelectorConfig = starSelectorClass.ConfigClass()
starSelectorConfig.sourceFluxField = "base_GaussianFlux_flux"
starSelectorConfig.sourceFluxField = "base_GaussianFlux_instFlux"
starSelectorConfig.badFlags = ["base_PixelFlags_flag_edge",
"base_PixelFlags_flag_interpolatedCenter",
"base_PixelFlags_flag_saturatedCenter",
Expand Down