pysted.exp_data_gen.rotate_nds

pysted.exp_data_gen.rotate_nds(nd_coords, rot_angle, frame_shape=(64, 64))

rotates the nanodomain coords :param nd_coords: list or np.array of the nanodomain coords in the unrotated frame :param rot_angle: rotation angle in degrees :param frame_shape: shape of the image in which the NDs reside. Should be (64, 64) in most cases