get_local_grid#
- diffsims.generators.rotation_list_generators.get_local_grid(resolution=2, center=None, grid_width=10)[source]#
Generates a grid of rotations about a given rotation
- Parameters:
resolution (float, optional) – The characteristic distance between a rotation and its neighbour (degrees)
center (euler angle tuple or orix.quaternion.rotation.Rotation, optional) – The rotation at which the grid is centered. If None (default) uses the identity
grid_width (float, optional) – The largest angle of rotation away from center that is acceptable (degrees)
- Returns:
rotation_list
- Return type:
list of tuples