Skip to content

Commit

Permalink
Add pages of ecef2geodetic, geodetic2ecef, and geodetic2enu.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayitzin committed Jan 5, 2025
1 parent 93feb12 commit 41721fc
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 10 deletions.
2 changes: 1 addition & 1 deletion ahrs/common/frames.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ def ecef2geodetic(x: float, y: float, z: float, a: float = EARTH_EQUATOR_RADIUS,
.. math::
h = \\frac{p}{\\cos\\phi} - N
h = \\frac{p}{\\cos\\phi} - N
.. note::
Expand Down
4 changes: 4 additions & 0 deletions docs/source/frames/ecef2geodetic.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ecef2geodetic
=============

.. autofunction:: ahrs.common.frames.ecef2geodetic
4 changes: 4 additions & 0 deletions docs/source/frames/geodetic2ecef.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
geodetic2ecef
=============

.. autofunction:: ahrs.common.frames.geodetic2ecef
4 changes: 4 additions & 0 deletions docs/source/frames/geodetic2enu.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
geodetic2enu
============

.. autofunction:: ahrs.common.frames.geodetic2enu
18 changes: 9 additions & 9 deletions docs/source/geodesy.rst
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ Geodesy

.. automodule:: ahrs.utils.geodesy

Classes
-------
Classes and Functions
^^^^^^^^^^^^^^^^^^^^^

.. toctree::
:titlesonly:
Expand All @@ -13,11 +13,8 @@ Classes
geodesy/wmm
geodesy/wgs84

Functions
---------

Additionally, the library provides a set of functions that have been used
historically in geodesy.
Additionally, the library provides a set of methods that have been used
historically in geodesy, but are not part of the above impllementations.

.. toctree::
:maxdepth: 1
Expand All @@ -27,11 +24,14 @@ historically in geodesy.

.. automodule:: ahrs.common.frames

Frame Transformations
---------------------
The most common **reference frames transformations** used in geodesy are also
implemented in the library.

.. toctree::
:maxdepth: 1

frames/ecef2enu
frames/enu2ecef
frames/ecef2geodetic
frames/geodetic2ecef
frames/geodetic2enu

0 comments on commit 41721fc

Please sign in to comment.