pydl.pydlutils
pydl.pydlutils.mangle.
angles_to_x
Convert spherical angles to unit Cartesian vectors.
ndarray
A set of angles in the form phi, theta (in degrees).
bool
If True, assume that the angles actually represent longitude, latitude, or equivalently, RA, Dec.
True
The corresponding Cartesian vectors.