Skip to content

Commit

Permalink
Change calibrateImage psf detection defaults
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
parejkoj committed Sep 18, 2024
1 parent e83c76a commit e7d8943
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions config/calibrateImage.py
Original file line number Diff line number Diff line change
@@ -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"))
Expand Down

0 comments on commit e7d8943

Please sign in to comment.