D27051: Linear Focus 3.2, optimize solution
Hy Murveit
noreply at phabricator.kde.org
Fri Jan 31 04:25:40 GMT 2020
murveit created this revision.
murveit added a reviewer: mutlaqja.
Herald added a project: KDE Edu.
Herald added a subscriber: kde-edu.
murveit requested review of this revision.
REVISION SUMMARY
This change only affects the linear focus algorithm, and rev's it to 3.2.
Previously I've found that the algorithm finds solutions, but stops a little too early.
Now, once it finds a solution within tolerance, it will continue to focus-in and see if a better solution is available
if (a) the HFR has been decreasing, and (b) if the next step is less than the minimum position of the polynomial solution
found in the first pass, and (c) it is not near constraints like maximum number of steps or minimum focus position.
TEST PLAN
Basically it's running the linear focus algorithm with standard parameters (e.g. in the simulator with step size about 1000
starting from around 40000) and noticing that in the 2nd pass, depending on the samples, it does not take the first acceptable
solution if it's been decending and is not yet near the polynomial minimum.
REPOSITORY
R321 KStars
BRANCH
focus-3.2-tweak-solution (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D27051
AFFECTED FILES
kstars/ekos/focus/focus.ui
kstars/ekos/focus/focusalgorithms.cpp
To: murveit, mutlaqja
Cc: kde-edu, narvaez, apol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-edu/attachments/20200131/a8a9464b/attachment.html>
More information about the kde-edu
mailing list