moveelem¶
- marxs.design.tolerancing.moveelem(e, dx=0, dy=0, dz=0, rx=0.0, ry=0.0, rz=0.0)[source] [edit on github]¶
Move and rotate a marxs element around principal axes.
Unlike
moveglobal
this does not work on aParallel
object, which is a container holding other elements, but it moves just one specific element itself (e.g. a single detector).To make it easier to return the element to its original position, the original
pos4d
matrix of the element is stored aspos4d_orig
.- Parameters:
- e :`marxs.optics.base.OpticalElement` or list of those elements
Elements where uncertainties will be set
- dx, dy, dzfloat
translation in x, y, z (in mm)
- rx, ry, rzfloat
Rotation around x, y, z (in rad)