computeAzAltFromBasePupil¶
- lsst.cbp.coordUtils.computeAzAltFromBasePupil(vectorBase, vectorPupil)¶
- Compute az/alt from a vector in the base frame and the same vector in the pupil frame. - Parameters:
- vectorBaseiterableof threefloat
- 3-dimensional vector in the base frame. 
- vectorPupiliterableoffloat
- The same vector in the pupil frame. This vector should be within 45 degrees or so of the optical axis for accurate results. 
 
- vectorBase
- Returns:
- pupilAzAltlsst.geom.SpherePoint
- Pointing of the pupil frame as internal azimuth, altitude. 
 
- pupilAzAlt
- Raises:
- ValueError
- If vectorPupil x <= 0 
 
 - Notes - The magnitude of each vector is ignored, except that a reasonable magnitude is required in order to compute an accurate unit vector.