Skip to content

Commit c73f20a

Browse files
committed
update comments at top of module doco
1 parent fab7f1c commit c73f20a

File tree

4 files changed

+13
-4
lines changed

4 files changed

+13
-4
lines changed

docs/source/func_3d.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
Transforms in 3D
22
================
33

4+
45
.. automodule:: spatialmath.base.transforms3d
56
:members:
67
:undoc-members:

spatialmath/base/quaternions.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,12 @@
22
# Copyright (c) 2000 Peter Corke
33
# MIT Licence, see details in top-level file: LICENCE
44

5+
"""
6+
These functions create and manipulate quaternions or unit quaternions.
7+
The quaternion is represented
8+
by a 1D NumPy array with 4 elements: s, x, y, z.
9+
10+
"""
511
# pylint: disable=invalid-name
612

713
import sys

spatialmath/base/transforms2d.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
# MIT Licence, see details in top-level file: LICENCE
44

55
"""
6-
This modules contains functions to create and transform SO(2) and SE(2) matrices,
7-
respectively 2D rotation matrices and homogeneous tranformation matrices.
6+
These functions create and manipulate 2D rotation matrices and rigid-body
7+
transformations as 2x2 SO(2) matrices and 3x3 SE(2) matrices respectively.
8+
These matrices are represented as 2D NumPy arrays.
89
910
Vector arguments are what numpy refers to as ``array_like`` and can be a list,
1011
tuple, numpy array, numpy row vector or numpy column vector.

spatialmath/base/transforms3d.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
# MIT Licence, see details in top-level file: LICENCE
44

55
"""
6-
This modules contains functions to create and transform SO(3) and SE(3) matrices,
7-
respectively 3D rotation matrices and homogeneous tranformation matrices.
6+
These functions create and manipulate 3D rotation matrices and rigid-body
7+
transformations as 3x3 SO(3) matrices and 4x4 SE(3) matrices respectively.
8+
These matrices are represented as 2D NumPy arrays.
89
910
Vector arguments are what numpy refers to as ``array_like`` and can be a list,
1011
tuple, numpy array, numpy row vector or numpy column vector.

0 commit comments

Comments
 (0)