in ParametricLights.py [0:0]
def angularErrorBetweenLights(light1,light2):
first_light = np.asarray(light1[2]) * [1, 1, 1, 0]
my_light = np.asarray(light2[2]) * [1, 1, 1, 0]
mse = np.sqrt(np.sum((my_light - first_light) ** 2))
return 2.0 * np.arcsin(0.5 * mse)