mymesh.register.translation# mymesh.register.translation(x, image=False)[source]# Rigid translation in 3D. Parameters: x (list) – 3 item list, containing the x, y, and z translations [t0, t1, t2]. image (bool, optional) – Create a transformation matrix for an image, assuming the (0,1,2) dimensions correspond to (z,y,x) by default False. Returns: A – Affine translation matrix (shape=(4,4)) Return type: np.ndarray