-
Notifications
You must be signed in to change notification settings - Fork 36
Description
I read Vidal's and your thesis paper and used Soapy to set up a learn & apply algorithm simulation.
Here's what I have done.
I used reconstructor as LearnAndApply,
and put 2 DMs: TT with closed and FastPiezo with open, so that TT can work as a so-called "truth sensor".
However, I came up with an error that saying the matrix shape didn't fit.
I think it is something to do with WFS-nxSubaps and DM-nxActuators problem, but I couldn't figure out how to fix it.
Anyway, 2 DMs didn't work, so I only used one DM which is FastPiezo.
Now this time, the simulation works fine but the value of the Strehl ratio is too low like 0.2 or so.
(there is no value in cMat.fits, maybe this is why?)
When I used reconstructor as MVM with closed DM, the Strehl ratio was high around 0.4.
To sum up,
- How do I use 2 DMs?
- How do I get a fair Strehl ratio with the Learn&Apply algorithm?
Sorry for the long post.
Thanks