Closed Jashcraf closed 1 year ago
Defocus leaves something to be desired, I wonder what's different
Here's the ray transfer matrix
Try using the entire ray transfer matrix! Or possibly doing the vignetting after the raytracing instead of before
Vignette issue was with how ZOS pre-allocates a square grid of rays but lets the user put in fewer rays than allocated, so there were a bunch of trailing zeros. This was fixed in the latest commit
After iterating with Dr. Worku I've gotten this for the tilt test
We need to do all of the gaussian beam evaluation on the plane transverse to the individual gaussian beam. But something is still off. I'm not rotating the decenter parameter, what happens if I apply the same transformation there?
Using the same rotation on the decenter parameter didn't work. Maybe it has to do with the OPD?
Maybe we need to get rid of the centroid offset? Nah it spreads the beam around too much
Implemented Dr. Worku's method after iterating, we now get approximately equivalent results!
Closing issue, method will be elaborated on in the manuscript.
Tilt applied to Hubble_Test.zmx secondary mirror of 0.05 deg in the x direction. Evaluating field at marginal focus, and using the on-axis ray transfer matrix as the matrix for the entire system.
Wavelength = 1.65um
Pardon the centering but the FFT centers by default, and GBD is computing the field at the real position on the image plane, which is about a detector position away. These are plotted on the same pixel scale.