Skip to content

Commit 385c875

Browse files
authored
Add figure with ellipsoid's rotation angles (#629)
Add a figure to the API reference of the `Ellipsoid` class that shows a rotated ellipsoid along with its three rotation angles.
1 parent e60e34a commit 385c875

File tree

2 files changed

+304
-0
lines changed

2 files changed

+304
-0
lines changed
Lines changed: 298 additions & 0 deletions
Loading

harmonica/_forward/ellipsoids/ellipsoids.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ class Ellipsoid:
6565
across their respective axes. Pitch rotations are carried out in the opposite
6666
direction, so a positive ``pitch`` *lifts* the side of the ellipsoid pointing in the
6767
easting direction.
68+
69+
.. figure:: ../../_static/figures/ellipsoid-rotations.svg
70+
:name: ellipsoid rotations
71+
:width: 90%
72+
:alt: Figure showing an ellipsoid with arbitrary rotation given by the yaw, pitch and roll angles.
73+
6874
"""
6975

7076
def __init__(

0 commit comments

Comments
 (0)