direlev_to_xyz¶
-
direlev_to_xyz(p_direlev, deg=False)[source]¶ Convert spherical coordinate with CNES convention to unit cartesian vector
- CNES convention :
- elevation angle is the angle between vector and plane (y,z)
- direction is angle between y axis and projection vector in plane (y,z)
Parameters: p_direlev (numpy array with shape (n,2)) – array of spherical coordinate direction and elevation :return : array of unit cartesian vector :rtype : numpy array with shape (n,3)