ipkiss3.all.IdentityTransform

class ipkiss3.all.IdentityTransform(**kwargs)

Transform that leaves an object unchanged.

Parameters:

translation: Coord2, optional

absolute_rotation: optional

rotation: optional

absolute_magnification: optional

magnification: optional

magnification_center: Coord2, 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(item)

applies the transform to the transformable item (no copy)

apply_to_array(coords)

apply transformation to numpy array

apply_to_array3(coords)

apply transformation to numpy array

apply_to_coord(coord)

apply transformation to coordinate

apply_to_coord3(coord)

apply transformation to coordinate

is_identity()

returns True if the transformation does nothing

reverse(item)

applies the reverse transformation on item

reverse_on_array(coords)

internal use: applies reverse transformation to a numpy array

reverse_on_array3(coords)

internal use: applies reverse transformation to a numpy array

reverse_on_coord(coord)

apply reverse transformation to coordinate

reverse_on_coord3(coord)

apply reverse transformation to coordinate