Convert healpy's ang to an lsst.geom.SpherePoint
The ang is provided as a single object, thetaphi, so the output
of healpy functions can be directed to this function without
additional translation.
Definition at line 48 of file healpixSkyMap.py.
49 """Convert healpy's ang to an lsst.geom.SpherePoint 51 The ang is provided as a single object, thetaphi, so the output 52 of healpy functions can be directed to this function without 53 additional translation. 55 return geom.SpherePoint(
float(thetaphi[1]),
float(thetaphi[0] - 0.5*numpy.pi), geom.radians)