price@pap-laptop:~/LSST/obs_subaru (tickets/DM-15171=) $ git sub-patch
|
commit b7bf971f365d1a3ace25c29fd1387527d25d961a (HEAD -> tickets/DM-15171, origin/tickets/DM-15171)
|
Author: Paul Price <price@astro.princeton.edu>
|
Date: Thu Jul 19 16:21:54 2018 -0400
|
|
config: disable apCorr registration of undeblended convolved measurement
|
|
This suppresses warnings of the type:
|
|
Cannot aperture correct undeblended_ext_convolved_ConvolvedFlux_1_6_0 because could not find undeblended_ext_convolved_ConvolvedFlux_1_6_0_flux or undeblended_ext_convolved_ConvolvedFlux_1_6_0_fluxSigma in apCorrMap
|
|
Because the columns used by the convolved measurement are created at
|
plugin instantiation (because the names are defined by the config),
|
registration for the aperture correction is done at plugin instantiation
|
time too. But we don't want them registered for the undeblended
|
measurement because we'll get the aperture correction from the deblended
|
proxy.
|
|
diff --git a/config/forcedPhotCoadd.py b/config/forcedPhotCoadd.py
|
index 91b2c0d7..e21793a4 100644
|
--- a/config/forcedPhotCoadd.py
|
+++ b/config/forcedPhotCoadd.py
|
@@ -42,3 +42,5 @@ doUndeblended(config, "ext_photometryKron_KronFlux")
|
doUndeblended(config, "base_CircularApertureFlux", []) # No aperture correction for circular apertures
|
doUndeblended(config, "ext_convolved_ConvolvedFlux",
|
config.measurement.plugins["ext_convolved_ConvolvedFlux"].getAllResultNames())
|
+# Disable registration for apCorr of undeblended measurement; apCorr will be done through the deblended proxy
|
+config.measurement.undeblended["ext_convolved_ConvolvedFlux"].registerForApCorr = False
|
Hsin-Fang Chiang, would you please review this small change?
price@pap-laptop:~/LSST/obs_subaru (tickets/DM-15171=) $ git sub-patch
commit b7bf971f365d1a3ace25c29fd1387527d25d961a (HEAD -> tickets/DM-15171, origin/tickets/DM-15171)
Author: Paul Price <price@astro.princeton.edu>
Date: Thu Jul 19 16:21:54 2018 -0400
config: disable apCorr registration of undeblended convolved measurement
This suppresses warnings of the type:
Cannot aperture correct undeblended_ext_convolved_ConvolvedFlux_1_6_0 because could not find undeblended_ext_convolved_ConvolvedFlux_1_6_0_flux or undeblended_ext_convolved_ConvolvedFlux_1_6_0_fluxSigma in apCorrMap
Because the columns used by the convolved measurement are created at
plugin instantiation (because the names are defined by the config),
registration for the aperture correction is done at plugin instantiation
time too. But we don't want them registered for the undeblended
measurement because we'll get the aperture correction from the deblended
proxy.
diff --git a/config/forcedPhotCoadd.py b/config/forcedPhotCoadd.py
index 91b2c0d7..e21793a4 100644
--- a/config/forcedPhotCoadd.py
+++ b/config/forcedPhotCoadd.py
@@ -42,3 +42,5 @@ doUndeblended(config, "ext_photometryKron_KronFlux")
doUndeblended(config, "base_CircularApertureFlux", []) # No aperture correction for circular apertures
doUndeblended(config, "ext_convolved_ConvolvedFlux",
config.measurement.plugins["ext_convolved_ConvolvedFlux"].getAllResultNames())
+# Disable registration for apCorr of undeblended measurement; apCorr will be done through the deblended proxy
+config.measurement.undeblended["ext_convolved_ConvolvedFlux"].registerForApCorr = False