lsst.skymap  16.0-4-g13a27c5+6
Functions
lsst.skymap.detail.utils Namespace Reference

Functions

def coordFromVec (vec, defRA=None)
 

Function Documentation

◆ coordFromVec()

def lsst.skymap.detail.utils.coordFromVec (   vec,
  defRA = None 
)
Convert an ICRS cartesian vector to an ICRS lsst.afw.geom.SpherePoint

@param[in] vec: an ICRS catesian vector as a sequence of three floats
@param[in] defRA: the RA to use if the vector is too near a pole (an afwGeom Angle);
            ignored if not near a pole

@throw RuntimeError if vec too near a pole and defRA is None

Definition at line 32 of file utils.py.