-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Learn & Apply algorithm #130
Comments
Hi @littlepitta, as a starting point can you post the config file that you are using? Thanks |
Sorry for the late reply. By the way, I referred to the samples in the conf folder at first, sh_8x8_learn&apply.yaml should be fixed because the reconstructor is not LearnAndApply, but MVM. I'm thinking of using 3 Laser Tomography along with 1 on-axis sensor.
for WFS,
and WFS 2,3 are all the same but GSPosition. for DM,
for Reconstructor,
And this conf file does not work. It says that the matrix shape doesn't fit.
I cannot figure out why. One last question, does gui mode works in Linux? Thanks! |
Hi, I've had a look at the LearnAndApply reconstructor. It has been a long time since it has been used so there were various updates that needed to happen. Please try out the Re: gui, I've just tested on Rocky Linux 8 and it works, are you using the most recent version of soapy? |
@ojdf Hi, thanks for the reply.
Thanks! p.s. |
Hi @littlepitta I've merged the L&A changes into the master soapy branch now so this is the most up to date version. Re: closed loop, if you change to open loop it still works, but not as well. I will leave this open for now in case @andrewpaulreeves wants to chime in. |
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,
Sorry for the long post.
Thanks
The text was updated successfully, but these errors were encountered: