rotate_shift_coordinates#

DiffractionSimulation.rotate_shift_coordinates(angle, center=(0, 0), mirrored=False)[source]#

Rotate, flip or shift patterns in-plane

Parameters:
  • angle (float) – In plane rotation angle in degrees

  • center (2-tuple of floats) – Center coordinate of the patterns

  • mirrored (bool) – Mirror across the x axis