EulerAngles¶
EulerAngles is meant to capture attitude information.
Factory¶
from isce3.core import eulerAngles
obj = eulerAngles(**kwds)
Documentation¶
-
class
isce3.core.EulerAngles.
EulerAngles
¶ Wrapper for pyEulerAngles.
-
static
bind
(pyEulerAngles euler)¶ Creates a new pyEulerAngles instance with C++ EulerAngles attribute shallow copied from another C++ EulerAngles attribute contained in a separate instance.
- Parameters
euler (pyEulerAngles) – External pyEulerAngles instance to get C++ EulerAngles from.
- Returns
- New pyEulerAngles instance with a shallow copy of
C++ EulerAngles.
- Return type
new_euler (pyEulerAngles)
-
static
loadFromH5
(self, h5Group)¶ Load EulerAngles from an HDF5 group
- Parameters
h5Group (h5py group) – HDF5 group with Euler angles
- Returns
pyEulerAngles object
-
pitch
¶ Return pitch angles in radians.
- Returns
numpy.ndarray[float]
-
quaternion
(double t)¶ Return quaternion representation of given euler angles at a given time.
- Returns
numpy.array(4)
-
roll
¶ Return roll angles in radians.
- Returns
numpy.ndarray[float]
-
rotmat
(double t, sequence)¶ Return rotation matrix corresponding to angle sequence at a given time.
- Parameters
sequence (str) – Sequence of angles. Example: ‘ypr’
- Returns
numpy.array((3,3))
-
saveToH5
(h5Group)¶ Save EulerAngles to an HDF5 group
- Parameters
h5Group (h5py group) – HDF5 group with Euler angles
- Returns
None
-
yaw
¶ Return yaw angles in radians.
- Returns
numpy.ndarray[float]
-
ypr
(double t)¶ Return yaw, pitch and roll euler angles at a given time.
- Returns
Euler angles (ypr)
- Return type
numpy.array(3)
-
static