From e7d8943f69f2e058c2cef8e2a9efd7f84d1c3bb4 Mon Sep 17 00:00:00 2001 From: John Parejko Date: Wed, 18 Sep 2024 16:15:59 -0700 Subject: [PATCH] Change calibrateImage psf detection defaults A few detectors failed RC2 without these settings; restoring them to the settings that were used in characterizeImage allows those detectors to be processed; we should work to understand why this is necessary. --- config/calibrateImage.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/config/calibrateImage.py b/config/calibrateImage.py index 642b540e..a8a07e9e 100644 --- a/config/calibrateImage.py +++ b/config/calibrateImage.py @@ -1,9 +1,15 @@ +import math import os.path from lsst.meas.algorithms import ColorLimit config_dir = os.path.dirname(__file__) +# Maintain characterizeImage defaults while we work to understand differences +# between this new Task and older runs. +config.install_simple_psf.fwhm = 1.5*2.0*math.sqrt(2.0*math.log(2.0)) +config.psf_detection.thresholdType = "stdev" + # Use PS1 for both astrometry and photometry. config.connections.astrometry_ref_cat = "ps1_pv3_3pi_20170110" config.astrometry_ref_loader.load(os.path.join(config_dir, "filterMap.py"))