ecef_to_enu

ecef_to_enu

sorts.frames.ecef_to_enu(lat, lon, alt, ecef, radians=False)[source]

ECEF coordinate system to local ENU (east,north,up), not including translation.

Parameters
  • lat (float) – Latitude on the ellipsoid

  • lon (float) – Longitude on the ellipsoid

  • alt (float) – Altitude above ellipsoid, Unused in this implementation.

  • ecef (numpy.ndarray) – (3,n) array x,y and z coordinates in ECEF.

  • radians (bool) – If True then all values are given in radians instead of degrees.

Return type

numpy.ndarray

Returns

(3,n) array x,y and z in local coordinates in the ENU-convention.