This commit is contained in:
Yingjie Wang 2023-11-09 23:33:34 -05:00
parent 5bd290db57
commit 0d92049889

View File

@ -96,16 +96,4 @@ def water_refraction_index(t, wavelength):
n = np.sqrt((2*C+1)/(1-C)) n = np.sqrt((2*C+1)/(1-C))
return n return n
# init()
# # stack.append(Ray([0.8, 2*r], [0,-1], 1))
# trace(disk, stack, max_ray)
# with open("result.csv", 'w', newline='') as f:
# writer = csv.writer(f)
# writer.writerows(result)
# with open("points.csv", 'w', newline='') as f:
# writer = csv.writer(f)
# writer.writerows(points)
print(water_refraction_index(10, 226.5))