Open leahwang1962 opened 1 month ago
Thanks for the docs. After some tests, I found in def gaussian_bump(self) after changing #x = np.linspace(-opticcenterR, opticcenterR, nX) to x = np.linspace(-1000, 1000, nX) , the closed circle of ellipsoidal shows correctly now, and the simulation results are reasonable. It makes sense because in def gaussian_bump(self), x = np.linspace(-opticcenterR, opticcenterR, nX) changes the optics' x limits. Now the problem is how to build the gaussian_bump surface error on this closed circle. Do you think the XY mesh grid method is still valid?
Hi, need more help to add surface error on the Ellipsoidal mirror following last week's topic. Basically copy your warp.py of Gaussian bump(ray),local_z_distorted(self, x, y), local_n_distorted(self, x, y). But the surface 3D goes back to partially display and the ray tracing results seems to me show sections of ellipsoidal are not involved in the reflection. Thanks.