-
Notifications
You must be signed in to change notification settings - Fork 44
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
KL modes #91
Comments
Thanks for raising the issue. Just to be sure I get it correctly: the reconstruction is done with the same code and consist simply in projecting the 500 modes (KL from OOMAO or from Aotools) on the same phase screens ? I'll try to reproduce your result and better understand the issue. |
Hi @GillesOrban I can confirm that I can reproduce this, or at least something similar. These modes were generated for a VLT aperture (8m with 1.1m central obscuration). The peaks are radial modes, but the modes numbers are different between OOMAO and AOtools, I don't know if that is important or not |
Hi, I noticed at least two things, however: 1/ if we do the same with Zernike modes (not orthogonalized on the annular aperture), we also see some peaks (again only on radial modes), 2/ if one increases the number of pixels of the grid, the peaks decrease. This is illustrated in the two figures below. When comparing with oomao, do you use only the K-L basis from oomao and perform all the rest with aotools? |
Just to add I have had similar issues with Zernike modes before, and Like @GillesOrban says the issues is resolved by using more pixels. This makes me think its to do with aliasing and the edge of the aperture. Anecdotally I know some people see this in "real" data as well if they don't consider aliasing properly. I don't know if there is some kind of normalisation we can do to remove this artefact, or if it is just something we need to make people aware of - potentially be including caveats in the docstrings of the functions? |
Thanks for your input. I just quickly tried to perform the projection (not the modal generation) using a grey scale aperture - in an attempt to reduce aliasing effect from the edges. I don't really see any difference. But maybe I didn't get correctly your comment. |
Sorry its been a while... That is exactly the kind of thing I meant, either use more pixels across the aperture to get a better circle, or use a "grey" aperture to get the same thing. Interesting that it didn't make a noticable difference. Also, it has been a long time since any of us worked on this. Is this something we're going to be able to figure out and fix, or is it a "feature" of the KL modes? |
Short inputs: 1/ for the Zernike projection (see above), using a Tikhonov regularization to invert the Zernike matrices and then do the projection seems to resolve the issue. 2/ For the K-L, increasing the radial sampling definitively help. Below a short test, with a 64x64 pupil, 200 modes, and |
There is a problem in the reconstruction using AOtools KL modes. I have generated 1000 atmospheric phase screens and reconstructed them using a 'perfect' wavefront sensor that just flattens the phase. I looked at the variances of the reconstruction modes and compared them with KL modes generated by the OOMAO simulation :
The variances should be both smooth. The peaks in the AOtools plot correspond to radial modes.
The text was updated successfully, but these errors were encountered: