This is something related to AstroImager and Peter should look at this.elmore wrote: ↑Wed Oct 27, 2021 2:51 am AstroImager 625.
I was unable to get the RMS Contrast to stick. As soon as I started a sequence or manual autofocus the selection went back to Peak/HFD. I went directly to the indigo server within AstroImager and set RMS contrast in the Imager Agent > Agent and set RMS contrast and saw it became set in AI, but as soon as I manually started autofocus (or ran a sequence with an autofocus) the selection reverted to RMS Contrast.
Yes, this is expected behavior. This is a limitation of HFD you should start from a relatively close focus in order to have a measurable HFD. RMS works fine with very out of focus images.Focus was on occasion too far off initially for radius of 8 to converge (previously I was using 20). If starting from near focus, 8 was reliable.
Yes, this happens when focus exceed some limit of 10 * Initial step distance from the original position. If "return t the original position" was disabled the second run would have reached the focus. This is a saafety frature which we have changed now it is 20 * initial step, but still if this happens by default it will return and you will never reach the focus. This is one of the reasons I am so passionate about removing "Return to initial position" as a default behavior, but Peter insists on it...There was an autofocus failure shown in the attached log. Focus appeared to be converging to a good focus when the Failed to reach focus, restoring initial position error occurred. The focuser did return to what looked like the initial position.
This is actually what we are doing but best focus is not an accurate number, many hings are involved, like seeing backlash etc...It would have been better to have been tracking focus quality and gone to the "best" focus.
What I am working on is determining some boundaries of a good focus. Last 2 night we spent testing with a friend of mine and Now i have a good ide when the focus is good or not.