Spherical coordinates of object in local frame of location.
[res1,res2,...] = CL_gm_stationPointing(stations,pos [, res,er,obla])
Computes the spherical coordinates (elevation, West azimuth, distance) of any object as seen from one or several locations (stations). The locations are defined by their elliptical ("geodetic") coordinates.
The positions (pos) are given in cartesian coordinates in the same frame as stations.
The outputs can be described by the res argument:
- "azim" : azimuth (positive towards West)
- "elev" : elevation
- "dist" : distance
- "s" : structure containing the fields "azim", "elev", "dist"
- "l" : list of spherical coordinates for each station
See Local frames for more details on the definition of local frames.
Stations positions in elliptical (geodetic) coordinates [long,lat,alt] [rad,m] (3xP)
Positions of object in the same frame as "stations", in cartesian coordinates [m] (3xN)
(string) vector of names: "azim", "elev", "dist", "s" or "l". Default is ["azim", "elev", "dist"] (1xQ)
(optional) Planet's equatorial radius. Default is %CL_eqRad [m] (1x1)
(optional) Planet's oblateness. Default is %CL_obla (1x1)
results: Elevation [rad] (PxN), azimuth [rad] (PxN), distance [m] (PxN), structure (PxN fields) or list
CNES - DCT/SB