code: def uvw2enu(u, v, w, lat0, lon0, deg: bool = True) -> tuple:
      """
      Parameters
      ----------
  
      u
          target x ECEF coordinate (meters)
      v
          target y ECEF coordinate (meters)
      w
          target z ECEF coordinate (meters)
      lat0
             Observer geodetic latitude
      lon0
             Observer geodetic longitude
      deg : bool, optional
            degrees input/output  (False: radians in/out)
  
      Results
      -------
  
      East
          target east ENU coordinate (meters)
      North
          target north ENU coordinate (meters)
      Up
          target up ENU coordinate (meters)
      """
      if deg:
          lat0 = radians(lat0)
          lon0 = radians(lon0)
  
      t = cos(lon0) * u + sin(lon0) * v
      East = -sin(lon0) * u + cos(lon0) * v
      Up = cos(lat0) * t + sin(lat0) * w
      North = -sin(lat0) * t + cos(lat0) * w
  
      return East, North, Up
  
file_path: pymap3d/src/pymap3d/ecef.py
imports: from __future__ import annotations
  import warnings
  from datetime import datetime
  from math import pi
  from .ellipsoid import Ellipsoid
  from .mathfun import atan, atan2, cos, degrees, hypot, isclose, radians, sin, sqrt, tan
  from .utils import sanitize
label_desc: Use image node_id 6 for calling a global function with example usage: uvw2enu(u, v, w, lat0, lon0, deg) and returns: East,  North,  Up