Details
-
Type:
Improvement
-
Status: Done
-
Resolution: Done
-
Fix Version/s: None
-
Component/s: Validation
-
Labels:None
-
Story Points:1
-
Epic Link:
-
Team:SQuaRE
Description
validate_drp would be easier to follow and safer if it took advantage of lsst.afw.geom.Angle and lsst.afw.coord.IcrsCoord. For instance averageRaDecFromCat could return an IcrsCoord and positionRms could use coord1.angularSeparation(coord2) and handle wraparound and other effects simply and safely.
Quick review.
I implemented the minimal version of this ticket. I updated positionRMS to use sphDist and thus afwCoord routines. It now correctly handles wrap-around and poles.
I did not change the underlying bookkeeping over to Coordinates, because these are not the fundamental objects stored in the output catalog schema or what MultiMatch uses. I do like the idea of being consistent, but I'm afraid that's not possible right now.