×

INDI Library v2.0.0 Released (01 Feb 2023)

Bi-monthly release with major changes to INDI properties and client API in addition to new drivers and improvements.

New Bahtinov Mask Assistant Tool

  • Posts: 14
  • Thank you received: 15
Hey,

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.

Cheers, Sebastian
The following user(s) said Thank You: Jasem Mutlaq, Alfred
3 years 11 months ago #34783

Please Log in or Create an account to join the conversation.

  • Posts: 106
  • Thank you received: 11
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
3 years 11 months ago #34874

Please Log in or Create an account to join the conversation.

  • Posts: 882
  • Thank you received: 87
Hi.
It would be totally awesome if you could give us the real time streaming view at 5x and 10x, as in APT.
Cheers
kubuntu 22.04
700d, eq6, 120mm. Yes, the old one.
3 years 11 months ago #34894

Please Log in or Create an account to join the conversation.

  • Posts: 1118
  • Thank you received: 182
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
3 years 11 months ago #34955
Attachments:

Please Log in or Create an account to join the conversation.

Any update on the tool?
Jasem Mutlaq
Support INDI & Ekos; Get StellarMate Astrophotography Gadget.
How to Submit Logs when you have problems?
Add your observatory info
3 years 10 months ago #36229

Please Log in or Create an account to join the conversation.

  • Posts: 441
  • Thank you received: 51
I am very interested in this feature. Is there any news from this project ?
3 years 9 months ago #38349

Please Log in or Create an account to join the conversation.

  • Posts: 1
  • Thank you received: 0
Is there any news from this project ?
Adam4adam TutuApp AppValley
Last edit: 3 years 9 months ago by banadd.
3 years 9 months ago #38755

Please Log in or Create an account to join the conversation.

  • Posts: 121
  • Thank you received: 16
Is there any update about this feature? Automatic focusing is not working flawlessly for me, so such bahtinov mask grabber could help me a lot
3 years 8 months ago #39497

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 27
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.
The following user(s) said Thank You: Jasem Mutlaq, AstroNerd
3 years 1 month ago #46780

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 27
Hi All,

Happy new year everyone!

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.

Kind regards,
AstroRunner
The following user(s) said Thank You: Jasem Mutlaq, Radek Kaczorek, Alfred, Wouter van Reeven, Brian, Peter Sütterlin
3 years 4 weeks ago #47733

Please Log in or Create an account to join the conversation.

  • Posts: 1944
  • Thank you received: 419
Thanks for this. Am I to understand that this is a complete KStars fork so compiling and installing it will replace and KStars already on the system?


Thanks, Wouter
Wouter van Reeven

ASI6200MM and 7 slot 2" filter wheel with a SkyWatcher Esprit 80 ED on a SkyWatcher HEQ5-Pro
ASI1600MM-Pro Cooled and 5 slot 1.25" filter wheel with an 8" TS Ritchey-Chrétien on a SkyWatcher EQ6-R
3 years 3 weeks ago #47847

Please Log in or Create an account to join the conversation.

  • Posts: 25
  • Thank you received: 27

Hi Wouter,

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.

Kind regards,
AstroRunner
3 years 3 weeks ago #47870

Please Log in or Create an account to join the conversation.

Time to create page: 0.805 seconds