-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
activate measurements used in s16a production afterburner
The HSC s16a production's afterburner included two measurements features which have been ported to LSST: measurement on the undeblended image (to allow potentially useful measurements where the deblender fails, and to compare with software that doesn't use a deblender), and measurement of convolved fluxes (to provide fluxes in multiple bands with a common seeing, e.g., for photometric redshifts). This patch activates these features for HSC and Suprime-Cam.
- Loading branch information
Showing
4 changed files
with
43 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Enable measurement of convolved fluxes | ||
# 'config' is a SourceMeasurementConfig | ||
try: | ||
import lsst.meas.extensions.convolved # noqa: Load flux.convolved algorithm | ||
except ImportError as exc: | ||
print("Cannot import lsst.meas.extensions.convolved (%s): disabling convolved flux measurements" % (exc,)) | ||
else: | ||
config.plugins.names.add("ext_convolved_ConvolvedFlux") | ||
# Default values for 'seeing' and 'aperture.radii' are suitable for HSC. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters