Skip to content

Commit

Permalink
Use SpherePoint instead of Coord or IcrsCoord
Browse files Browse the repository at this point in the history
  • Loading branch information
r-owen committed Mar 15, 2018
1 parent 56b2ea8 commit ef36e94
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions python/lsst/obs/test/makeTestRawVisitInfo.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
from __future__ import print_function

from lsst.afw.image import VisitInfo, RotType
from lsst.afw.geom import degrees
from lsst.afw.coord import Coord, IcrsCoord, Observatory, Weather
from lsst.afw.geom import degrees, SpherePoint
from lsst.afw.coord import Observatory, Weather
from lsst.obs.base import MakeRawVisitInfo

__all__ = ["MakeTestRawVisitInfo"]
Expand All @@ -48,11 +48,11 @@ def setArgDict(self, md, argDict):
"""
MakeRawVisitInfo.setArgDict(self, md, argDict)
argDict["darkTime"] = self.popFloat(md, "DARKTIME")
argDict["boresightAzAlt"] = Coord(
argDict["boresightAzAlt"] = SpherePoint(
self.popAngle(md, "AZIMUTH"),
self.altitudeFromZenithDistance(self.popAngle(md, "ZENITH")),
)
argDict["boresightRaDec"] = IcrsCoord(
argDict["boresightRaDec"] = SpherePoint(
self.popAngle(md, "RA_DEG"),
self.popAngle(md, "DEC_DEG"),
)
Expand Down

0 comments on commit ef36e94

Please sign in to comment.