pyins.transform.lla_to_ned

pyins.transform.lla_to_ned(lla, lla_origin=None)

Convert lla into NED Cartesian coordinates.

Parameters:
llaarray_like, shape (n, 3)

Latitude, longitude and altitude values. If DataFrame (with columns ‘lat’, ‘lon’, ‘alt) the result will be DataFrame with columns ‘north’, ‘east’, ‘down’.

lla_originarray_like with shape (3,) or None, optional

Values of latitude, longitude and latitude of the origin point. If None (default), the first row in lla will be used.

Returns:
ndarray of DataFrame

NED coordinates.