×

INDI Library v2.0.7 is Released (01 Apr 2024)

Bi-monthly release with minor bug fixes and improvements

Communicate with INDI or EKOS via python script

  • Posts: 19
  • Thank you received: 0
Hello,
I have started to learn Python. I believe its great both for my profession and also for this hobby.
One of the first things I did was learn how to use astropy and get data out of my fits.

I would like to create an script that mimics the Automated Flat Frames application, but with lights. So for the relevant filter, it increases the exposure in given intervals until reaching a certain median ADU.
I want it to be a bit more "smart" than that (reading for several regions, finding the darkest areas, compare vs the dark frame, etc).

What stops me at the moment is that I am very new and I am not sure how to make my script communicate with EKOS or INDI to request it to shoot the subframe with the options I have in EKOS.
Ideally this script would "talk" to EKOS, rather than doing it independently, as my camera is already configured there.

Any one can point me to some documentation it might be helpful?

Many thanks
OS: Astroberry on Raspberry Pi 4 4GB
Mounts: EQ6R-Pro, StarAdventurer
Imaging: SW Evostar 80ED & SW 200PDS, ZWO ASI 1600MM-PRO
Guiding: SvBony 60mm, ZWO ASI 120MCS
Accesories: ZWO EFW, ZWO EAF, Pegasus PPBA
3 years 3 months ago #65544

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

  • Posts: 1957
  • Thank you received: 420
A little bit of searching online gives this:

www.indilib.org/forum/general/1604-new-p...-tutorial-is-up.html

Have you looked into that?
3 years 3 months ago #65552

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

  • Posts: 163
  • Thank you received: 26
Interesting thought! You could do automatic exposure based on the histogram of the picture. :)

Maybe an interesting option for EKOS in any case? Perhaps with different preset histogram profiles for DSOs, Galaxies and Star Clusters.
The following user(s) said Thank You: Raul
3 years 3 months ago #65556

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

  • Posts: 19
  • Thank you received: 0
I found this one that is probably exactly what I need :) thanks!
www.indilib.org/support/tutorials/148-db...h-kstars-python.html

Sent from my SM-G950F using Tapatalk
OS: Astroberry on Raspberry Pi 4 4GB
Mounts: EQ6R-Pro, StarAdventurer
Imaging: SW Evostar 80ED & SW 200PDS, ZWO ASI 1600MM-PRO
Guiding: SvBony 60mm, ZWO ASI 120MCS
Accesories: ZWO EFW, ZWO EAF, Pegasus PPBA
3 years 3 months ago #65560

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

  • Posts: 19
  • Thank you received: 0
I find median worked quite well in the past but sky is the limit. And honestly, its quite easy in python.

Would be very nice to have to be honest. Its quite interesting to get a sub length that swamps the read noise according to several rules of thumb. Sharpcap does something similar to this already with the smart histogram.

Sent from my SM-G950F using Tapatalk
OS: Astroberry on Raspberry Pi 4 4GB
Mounts: EQ6R-Pro, StarAdventurer
Imaging: SW Evostar 80ED & SW 200PDS, ZWO ASI 1600MM-PRO
Guiding: SvBony 60mm, ZWO ASI 120MCS
Accesories: ZWO EFW, ZWO EAF, Pegasus PPBA
3 years 3 months ago #65562

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

Time to create page: 0.227 seconds