rotate rotate_scalar_data(data, dims, numpy, n_clockwise_rotations) rotate_vector_data(x_data, y_data, n_clockwise_rotations, dims, numpy)