Skip to content

Commit

Permalink
Update config override files new default astrometry task
Browse files Browse the repository at this point in the history
The default astrometry task used by CalibrateTask is now
AstrometryTask instead of ANetAstrometryTask. I changed
two config override files to compensate for this:

* processStack.py does not set astrometry.solver.calculateSip.
This was required, and the fix is to delete the line
because AstrometryTask will not try to fit SIP terms
if it does not fit a WCS)

* processCcd.py does not retarget to use AstrometryTask.
This was optional, since it does not change behavior,
but it simplifies the file.
  • Loading branch information
r-owen committed Sep 4, 2015
1 parent 02b1bae commit da27365
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 3 deletions.
2 changes: 0 additions & 2 deletions config/processCcd.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,6 @@
config.calibrate.measurePsf.psfDeterminer.name = "pca"

# Astrometry
from lsst.meas.astrom import AstrometryTask
config.calibrate.astrometry.retarget(AstrometryTask)
config.calibrate.astrometry.refObjLoader.filterMap = {
'B': 'g',
'V': 'r',
Expand Down
1 change: 0 additions & 1 deletion config/processStack.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

# Astrometry (just use meas_astrom since we just need to match, not solve)
config.calibrate.astrometry.forceKnownWcs = True
config.calibrate.astrometry.solver.calculateSip = False

# Enable deblender
config.measurement.doReplaceWithNoise = True
Expand Down

0 comments on commit da27365

Please sign in to comment.