weldx.CoordinateSystemManager#
- class weldx.CoordinateSystemManager(root_coordinate_system_name, coordinate_system_manager_name=None, time_ref=None)#
Handles hierarchical dependencies between multiple coordinate systems.
Notes
Learn how to use this class by reading the tutorial <tutorials/transformations_02_coordinate_system_manager>.
Construct a coordinate system manager.
- Parameters:
root_coordinate_system_name (
str
) – Name of the root coordinate system.coordinate_system_manager_name (
Optional
[str
]) – Name of the coordinate system manager. IfNone
is passed, a default name is chosen.time_ref (
Union
[Timestamp
,str
,Time
,None
]) – A reference timestamp. If it is defined, all time dependent information returned by the CoordinateSystemManager will refer to it by default.
- Return type:
Methods
Add a coordinate system to the coordinate system manager.
Assign spatial data to a coordinate system.
Create a coordinate system and add it to the coordinate system manager.
Create a coordinate system and add it to the CoordinateSystemManager.
Create a coordinate system and add it to the coordinate system manager.
Delete a coordinate system from the coordinate system manager.
Remove the assigned data with given name.
Get a list with the passed coordinate systems children.
Get a coordinate system in relation to another reference system.
Get the specified data, optionally transformed into any coordinate system.
Get the name of the data's reference coordinate system.
Get the name of a coordinate systems parent system.
Return True if a coordinate system with specified name already exists.
Return True if the desired coordinate system owns the specified data.
Interpolates the coordinate systems in time.
Get a boolean result, specifying if 2 coordinate systems are neighbors.
Merge another coordinate system managers into the current instance.
Get a list of neighbors of a certain coordinate system.
Get the number of neighbors of a certain coordinate system.
Plot the coordinate systems of the coordinate system manager.
Plot the graph of the coordinate system manager.
Rename one or more nodes of the graph.
Remove all subsystems from the coordinate system manager.
Get the time union of all or selected local coordinate systems.
Transform spatial data from one coordinate system to another.
Undo previous merges and return a list of all previously merged instances.
Attributes
Get the names of all contained coordinate systems.
Get the names of the attached data sets.
Get the internal graph.
Return True if the coordinate system manager has a reference time.
Get a list of all attached LocalCoordinateSystem instances.
Get a list of all attached time dependent LocalCoordinateSystem instances.
Get the name of the coordinate system manager instance.
Get the number of coordinate systems inside the coordinate system manager.
Get the number of attached subsystems.
Get the reference time of the CoordinateSystemManager.
Get the name of the root system.
Get a dictionary containing data about the attached subsystems.
Get the names of all subsystems.
Extract all subsystems from the CoordinateSystemManager.
Return True if the CSM or one of its coord.