ipkiss3.all.Translation

class ipkiss3.all.Translation(translation=(0.0, 0.0), **kwargs)

Translation transform: move for a given translation (x, y).

Parameters:

translation: Coord2, optional

absolute_magnification: optional

absolute_rotation: optional

magnification: optional

rotation: optional

v_mirror: optional

mirror_center: Coord2, optional

mirror_plane_x: Real, number, optional

mirror_plane_y: Real, number, optional

rotation_center: Coord2, optional

apply_to_array(coords)

applies transformation to numpy array

apply_to_coord(coord)

apply transformation to coordinate

is_identity()

returns True if the transformation does nothing

reverse_on_array(coords)

apply reverse transformation to numpy array

reverse_on_coord(coord)

apply reverse transformation on coodinate