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:
 - vectorBase
iterableof threefloat 3-dimensional vector in the base frame.
- vectorPupil
iterableoffloat 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:
 - pupilAzAlt
lsst.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.