lsst.skymap  20.0.0-4-g97dc21a+1dc6abc28c
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.geom.SpherePoint

Parameters
----------
vec : `list` of `float`
    An ICRS catesian vector.
defRA : `lsst.geom.Angle` or None
    The RA to use if the vector is too near a pole;
    ignored if not near a pole.

Raises
------
RuntimeError
    If vec too near a pole and defRA is None.

Definition at line 34 of file utils.py.