Functions | |
def | coordFromVec |
Variables | |
list | __all__ = ["coordFromVec"] |
tuple | _TinyFloat = numpy.finfo(float) |
def lsst.skymap.detail.utils.coordFromVec | ( | vec, | |
defRA = None |
|||
) |
Convert an ICRS cartesian vector to an ICRS Coord @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