CoordinateSystemManager.
create_cs_from_euler
Create a coordinate system and add it to the coordinate system manager.
This function uses the ‘from_euler’ method of the ‘LocalCoordinateSystem’ class.
coordinate_system_name (str) – Name of the new coordinate system.
str
reference_system_name (str) – Name of the parent system. This must have been already added.
sequence – Specifies sequence of axes for rotations. Up to 3 characters belonging to the set {‘X’, ‘Y’, ‘Z’} for intrinsic rotations, or {‘x’, ‘y’, ‘z’} for extrinsic rotations. Extrinsic and intrinsic rotations cannot be mixed in one function call.
angles – Euler angles specified in radians (degrees is False) or degrees (degrees is True). For a single character seq, angles can be: - a single value - array_like with shape (N,), where each angle[i] corresponds to a single rotation - array_like with shape (N, 1), where each angle[i, 0] corresponds to a single rotation For 2- and 3-character wide seq, angles can be: - array_like with shape (W,) where W is the width of seq, which corresponds to a single rotation with W axes - array_like with shape (N, W) where each angle[i] corresponds to a sequence of Euler angles describing a single rotation
degrees – If True, then the given angles are assumed to be in degrees. Default is False.
coordinates (Union[DataArray, ndarray, List, None]) – Coordinates of the origin.
Union
DataArray
ndarray
List
None
time (Optional[DatetimeIndex]) – Time data for time dependent coordinate systems.
Optional
DatetimeIndex
lsc_child_in_parent (bool) – If set to ‘True’, the passed ‘LocalCoordinateSystem’ instance describes the new system orientation towards is parent. If ‘False’, it describes how the parent system is positioned in its new child system.
bool