code: def ecef2aer(
      x,
      y,
      z,
      lat0,
      lon0,
      h0,
      ell: Ellipsoid = None,
      deg: bool = True,
  ) -> tuple:
      """
      compute azimuth, elevation and slant range from an Observer to a Point with ECEF coordinates.
  
      ECEF input location is with units of meters
  
      Parameters
      ----------
  
      x : float
          ECEF x coordinate (meters)
      y : float
          ECEF y coordinate (meters)
      z : float
          ECEF z coordinate (meters)
      lat0 : float
          Observer geodetic latitude
      lon0 : float
          Observer geodetic longitude
      h0 : float
           observer altitude above geodetic ellipsoid (meters)
      ell : Ellipsoid, optional
          reference ellipsoid
      deg : bool, optional
          degrees input/output  (False: radians in/out)
  
      Returns
      -------
      az : float
           azimuth to target
      el : float
           elevation to target
      srange : float
           slant range [meters]
      """
      xEast, yNorth, zUp = ecef2enu(
          x, y, z, lat0, lon0, h0, ell, deg=deg
      )
  
      return enu2aer(xEast, yNorth, zUp, deg=deg)
  
file_path: pymap3d/src/pymap3d/aer.py
imports: from __future__ import annotations
  from datetime import datetime
  from .ecef import ecef2enu, ecef2geodetic, enu2uvw, geodetic2ecef
  from .ellipsoid import Ellipsoid
  from .enu import aer2enu, enu2aer, geodetic2enu
label_desc: Use image node_id 1 for calling a global function with example usage: ecef2aer(x, y, z, lat0, lon0, h0, ell, deg) and returns: enu2aer