Skip to content

Learn & Apply algorithm #130

Description

@littlepitta

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,

  1. How do I use 2 DMs?
  2. How do I get a fair Strehl ratio with the Learn&Apply algorithm?

Sorry for the long post.
Thanks

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions