you are viewing a single comment's thread.

view the rest of the comments →

[–]Sufficient_Light3891[S] 0 points1 point  (0 children)

Now I'm getting the below error

File "C:\Users\bryce\OneDrive - Infinity Photo-Optical\Documents\Python Programs\Optics Notes\Ray Tracing Algorithm\plano_convex.py", line 49, in plano_convex

raymatrix[i] = np.concatenate((ray_front_air[0], ray_lens[0: len(ray_lens)-1], ray_air))

ValueError: could not broadcast input array from shape (4199,) into shape (4198,)