pub fn eci2aer(
gst: f64,
x: f64,
y: f64,
z: f64,
lat: f64,
lon: f64,
alt: f64,
r_ellips: Ellipsoid
) -> (f64, f64, f64)
Expand description
Returns the tuple (azimuth,elevation,slant range) of coordinates in the AER system
Inputs:
- x = x ECI coordinate [m]
- y = y ECI coordinate [m]
- z = z ECI coordinate [m]
- lat = reference latitude [rad]
- lon = reference longitude [rad]
- alt = reference altitude [m]
- r_ellips = reference ellipsoid, defaults ref. frame is WGS84
Outputs:
- az = azimuth angle [rad] of input location from reference geodetic location
- el = elevation angle [rad] of input location from reference geodetic location
- slant_range = slant range [m] of input location from reference geodetic location