Skip to content

Commit

Permalink
Merge pull request #464 from lsst/tickets/DM-34769
Browse files Browse the repository at this point in the history
DM-34769: Remove characterizeImage refObjLoader
  • Loading branch information
parejkoj committed Nov 8, 2023
2 parents 9b4e4e0 + f9c4706 commit 9dbd311
Showing 1 changed file with 0 additions and 15 deletions.
15 changes: 0 additions & 15 deletions config/characterizeImage.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,6 @@
config.measurePsf.starSelector['objectSize'].fluxMin = 4000.0
config.measurePsf.starSelector['objectSize'].doSignalToNoiseLimit = False

# Astrometry
config.refObjLoader.load(os.path.join(ObsConfigDir, "filterMap.py"))

# Activate calibration of measurements: required for aperture corrections
config.load(os.path.join(ObsConfigDir, "cmodel.py"))
config.measurement.load(os.path.join(ObsConfigDir, "apertures.py"))
Expand All @@ -40,15 +37,3 @@
if "ext_gaap_GaapFlux" in config.measurement.plugins:
names = config.measurement.plugins["ext_gaap_GaapFlux"].getAllGaapResultNames()
config.measureApCorr.allowFailure += names

config.ref_match.sourceSelector.name = 'matcher'
for matchConfig in (config.ref_match,
):
matchConfig.sourceFluxType = 'Psf'
matchConfig.sourceSelector.active.sourceFluxType = 'Psf'
matchConfig.matcher.maxRotationDeg = 1.145916
matchConfig.matcher.maxOffsetPix = 250
if isinstance(matchConfig.matcher, MatchOptimisticBConfig):
matchConfig.matcher.allowedNonperpDeg = 0.2
matchConfig.matcher.maxMatchDistArcSec = 2.0
matchConfig.sourceSelector.active.excludePixelFlags = False

0 comments on commit 9dbd311

Please sign in to comment.