moveelem¶
- marxs.design.tolerancing.moveelem(e, dx=0, dy=0, dz=0, rx=0.0, ry=0.0, rz=0.0)[source]¶
Move and rotate a marxs element around principal axes.
Unlike
moveglobalthis does not work on aParallelobject, 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
pos4dmatrix of the element is stored aspos4d_orig.Parameters¶
- e :
marxs.optics.base.OpticalElementor 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)
- e :