the autofocuser based on HFR will not be affected by this and stay the default option.
In fact it would be possible to use the offset calculated by the Bahtinov fitter to drive the autofocuser.
In a fully automatic setup this could be combined with a mechanics that places the mask onto the scope (similar to what some people have for flatfield caps). But we are digressing.
For the streaming mode we have to see. The fitter works on the image frames, so in principle it can be done. The question is performance, i.e. at which framerate can we produce the solutions. It definitely will work in a frameing mode.
Short status report: the algorithm that extracts the diffraction pattern and fits the Bahtinov lines to it, thereby measuring the offset of the center line is implemented in my local copy of EKOS.
Since I had to switch to GSL for the numerical libraries, I am working some convergence issues. Next will be work on the graphics (plotting the lines corresponding to the found solution).
I'll post pictures as soon as I have something presentable.
Just a thought; as an interim feature, could it be possible to select an overlay (akin to cross hairs and guidelines) and centre a Bahtinov mask directly on the selected star in the acquisition images. The selected star will still be auto focused as usual but the viewer will see the Bahtinov mask pattern results as the focus becomes more accurate. We are talking about a pretty bright star for Bahtinov therefore the pattern can be proportionate to the corresponding HFR .
Note: should this be an existing feature on other applications I was truly not aware. I only use Ekos.
Skywatcher 190MN - EQ6 Pro (with Belt Mod) - ASI1600MM-Cooled - ASI EFW7 - ASI120MM - WO f4 Guide Scope - Rigel nStep - KStars/Ekos - KDE - PixInsight
Just thought I share my experience with Jasem's autofocus tool, using a very simple home-built autofocuser with a timed motor (not a stepper motor) and Shoestring Astronomy FCUSB as the driver. I focused using Jasem's tool and then checked using a Bahtinov mask. Here is the result:
Couldn't me more perfect, I would say.
PLEASE, Jasem, do NOT give up on the autofocuser. It is (almost) PERFECT as is!
Atlas Pro AZ-EQ, ASI1600MM-Pro, ASI120MM-S, ES102ED, WO-Z61, Nikon D3300, ASI-EFW, ZWO LRGB,Ha,O3,S2 filter set
I see there is no update on this feature for a while. Does someone know if the repository where sneubert was working on is available in Github? As sneubert is apparently not able to work on it the last months, maybe someone else (I volunteer for this) can pick up where he left and continue working on this feature. It would be great to have this in Ekos too. I hope the repo is available, there is some really good effort done for this and it would be sad to not have this in Ekos.
I spend my Christmas holidays well, I have been developing a Bahtinov mask assistant tool for kstars/Ekos. It is still under development, but the sources are already available on GitHub. I have forked the kstars project and created a branch where I develop the Bahtinov mask assistant tool (as part of the Focus tool from Ekos) see: github.com/prmolenaar/kstars/tree/bahtinov-mask-focus
For this project I first did some research on how to detect the Bahtinov star pattern in an image and then step by step integrated it into Ekos. As there is no simulator yet that generates the Bahtinov star pattern, I depend on a clear sky to test if it really works. So far the skies were very cloudy so I haven't been able to test the software yet. I will try that as soon as possible. When the implementation is working properly I will create a request to merge the changes back to the original kstars project.
I hope this will give other people some hope that the Bahtinov mask focus helper is on its way. I you like you can give it a try (download sources, build it and run it) and post the result on this forum.
A short tutorial:
- Start kstars / Ekos
- Connect your ccd
- Select Focus tab
- Select algorithm "Bahtinov mask"
- Select a star
* if you have a bahtinov mask on your telescope and a bright star in view, then a Bahtinov star pattern should be visible.
* if the software recognizes the Bahtinov star pattern, it will draw lines over the star pattern en circles on the center and on an offset to indicate the focus
* also the FHR value is set the the calculated offset, which also updates the graph
Good luck experimenting with it, and please be aware that the drawing of the star pattern on the image is not tested yet, so it might not work properly yet.
The other focus algorithms haven't been touches, so they still work as before.
That is correct, this is indeed a compleet KStars fork that will replace KStars on your system.
I am currently doing research into generation of Bahtinov diffraction patterns, which maybe could be integrated in the INDI CCD simulator to support testing the Bahtinov focus assistant in KStars/Ekos. But that is quite some difficult matter. So for now testing will only be possible on real stars, and not using the CCD simulator.