CoordinateSystemManager.
create_cs_from_xyz
Create a coordinate system and add it to the coordinate system manager.
This function uses the ‘from_xyz’ 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.
vec_x – Vector defining the x-axis
vec_y – Vector defining the y-axis
vec_z – Vector defining the z-axis
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