Details
-
Type:
Bug
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: pipe_tasks
-
Labels:
-
Story Points:2
-
Epic Link:
-
Team:Data Release Production
-
Urgent?:No
Description
Metrics meeting says that adding the FinalizeCharacterizationTask makes stars bad.
While the PSF looks fine, afaict, the aperture correction maps are all wonky.
This is (at least partly) because the FinalizeCharacterizationTask fails to set the psf on the exposure prior to making the aperture correction maps, so it is using the wrong psf when doing measurement for the maps.
I will test on rc2_subset because (fortunately) those metrics are showing the bad stellar locus measurements.
And I found the other problem. The aperture correction was being measured on the wrong psf fluxes and the configuration for the aperture correction was wrong. The default config uses all psf stars, but this has background problems and increases the scatter. Using just the brighter stars fixes this and is overridden here for characterizeImage: https://github.com/lsst/obs_subaru/blob/36659b9fbb10a093cc956a3b61bffb785cf3761d/config/charImage.py#L63-L74
I am going to make this the overall default for finalizeCharacterization.