Module:
sdynpy.core.sdynpy_geometrySource: GitHub
Signature¶
def sdynpy.core.sdynpy_geometry.global_deflection(coordinate_system, local_deflection, global_point=None)Compute deflections in the global coordinate system
Parameters¶
coordinate_system : CoordinateSystemArray An array of coordinate systems of shape [...]
local_deflection : ndarray An array of deflections of shape [...,3]
global_point : np.ndarray, optional An array of coordinates in the global coordinate system of shape [...,3]. Must be specified if there are spherical or cylindrical coordinate systems. The default is None.
Returns¶
global_deflection : ndarray An array of coordinates of shape [...,3] specifying the deflection directions
Raises¶
ValueError
If cylindrical or spherical coordinate systems exist and global_point
is not specified