×

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

Bi-monthly release with minor bug fixes and improvements

Collimation Circles

  • Posts: 301
  • Thank you received: 46

Replied by Markku on topic Collimation Circles

Hi,

I've been playing with wx and python some time ago and used this to get transparency, maybe useful for you ?
#!/usr/bin/python
 
import wx
 
transp = 128
radie = 80
cross = True
 
class SketchFrame(wx.Frame):
    def __init__(self, parent):
 
        wx.Frame.__init__(self, None, -1, "Bulls eye", size=(400, 400))
 
        #panel = wx.Panel(self, wx.ID_ANY)
        #btn = wx.Button(panel, label="OK")
 
        self.SetTransparent(transp)
 
        self.Buffer = None
        #self.SetFocus()
Br,
/Markku
The following user(s) said Thank You: David Tate
4 years 1 month ago #50704

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

  • Posts: 163
  • Thank you received: 26

Replied by Bart on topic Collimation Circles

Just an idea: have Kstars analyze the out of focus image.

Fit a circle around and inside the out of focus star image. Kstars can then display the value of the difference in center point of the two circles and draw a vector to show the direction.

Cheers! Bart
The following user(s) said Thank You: Bill Hogoboom
4 years 1 month ago #50705

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

  • Posts: 1029
  • Thank you received: 301

Replied by Eric on topic Re:Collimation Circles

Although slightly overkill compared to the OP question, I am currently pushing some tests to the INDI CCD simulator.

The first objective of this preliminary work is to introduce point-spread function rendering of stars generated by GSC. The second objective of the activity is to adjust the rendering to produce aberrations, such as the three ones presented in this thread: defocus, elongation due to distance to the optical center and elongation due to optical elements or sensor flatness. The third objective is to provide test and validation support for flatness and collimation analysis in the Focus Module of Ekos.

I must say I have no idea when I can get this all done, given the number of things in my to-do list :)

Incidentally, the excellent Dr Baudat was on TAIC very recently to talk about his progress on his amazing collimation tool.

-Eric
The following user(s) said Thank You: Marc, David Tate
4 years 1 month ago #50714

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

  • Posts: 527
  • Thank you received: 139

I watched this talk after seeing your post. Here's the video for anyone interested in it. It's quite technical, but basically they model every type of arbitration feed it into a computer model for that scope, then can compute it in real time to an output window, as you adjust your collimation it shows the effects in realtime. They plan to take it one step further at some point to tell you which collimation screws to adjust. This would be incredible. But honestly looks quite complex and better suited for a standalone application.

For the simple fix collimation circles would be nice, but they they won't solve all collimation problems. I wish more developers would develop their software cross platform, and take INDI into account. It's grown so much in the last 3 years.
The following user(s) said Thank You: Eric, Marc
Last edit: 4 years 1 month ago by Andrew Burwell.
4 years 1 month ago #50735

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

  • Posts: 398
  • Thank you received: 117

Replied by Doug S on topic Re:Collimation Circles

I'd like to add my 2nd to the comments from Andrew and Eric. I watched the video. I've been professionally involved in Adaptive Optics since 2001, and I've seen a lot of talks on AO over the years (some good, some not so good). I can say that the presentation is very good and well worth the hour to view. This product seems pretty impressive (at least as demonstrated). I think for kstars/ekos users, folks probably should prefer SkyGuide (only guided collimation and real-time quantitative WFE analysis) versus SkyGuard (which includes focus control). FYI, the tool does require windows. Nice that they offer a 60day trial, and the price is reasonable. I'd be very interested to compare SkyGuide's output to CCD Inspector's output. Does anyone in the forum use SkyGuide, or do I need to be the first?! ;-)
The following user(s) said Thank You: Eric
4 years 1 month ago #50738

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

  • Posts: 309
  • Thank you received: 40

Replied by David Tate on topic Collimation Circles

I used Mire de Collimation last night and was really able to dial in my SCT's collimation. You can see in the image below, I'm almost there.
The software is on this page: sweiller.free.fr/collimation.html
But the link to the exe is here: Mire de Collimation

This is what I'd like with my Raspbain version, so I don't have to run this on a Windows PC. I as able to find my old Windows tablet to do this last night.
I just can't get my my current Python version to display a transparent canvas. I'm now looking into doing this in C++.

The following user(s) said Thank You: Eric
Last edit: 4 years 1 month ago by David Tate.
4 years 1 month ago #50795
Attachments:

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

  • Posts: 1957
  • Thank you received: 420
Thanks for the download link. I just tried to run the app with wine on my MacBook (well, the new wine64 since macOS Catalina refuses to run 32 bit applications but that's beside the point). The app runs very well so at least I can use it there. Unfortunately wine doesn;t run on arm processors so it won't run on your Raspberry Pi.
4 years 1 month ago #50799

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

  • Posts: 1957
  • Thank you received: 420
By the way, I was able to run the Python code in the second answer here

stackoverflow.com/questions/6104991/transparent-colors-tkinter

using Python 3.7. I disabled overridedirect and resizable so the window can be resized and has a title bar. Resizing the window doesn't work well since dragging the mouse also results in moving the window and it shouldn't but You probably are able to fix that. And play with the alpha value until you're happy with the amount of transparency.


HTH, Wouter
The following user(s) said Thank You: David Tate
Last edit: 4 years 1 month ago by Wouter van Reeven.
4 years 1 month ago #50800

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

  • Posts: 309
  • Thank you received: 40

Replied by David Tate on topic Collimation Circles

Was this done in Raspbian? Running it doesn't show any transparency. No matter what value I put in the alpha value. I understand this works fine in Windows, but not Linux.
4 years 1 month ago #50803

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

  • Posts: 1957
  • Thank you received: 420
I ran it on my MacBook and haven't tried on Raspbian, sorry.
4 years 1 month ago #50805

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

  • Posts: 309
  • Thank you received: 40

Replied by David Tate on topic Collimation Circles

I've heard, yes it's do-able on the Mac and PC, but not Linux. I'll keep looking at the C++ version.

BTW, what is KStars and Ekos written in?
4 years 1 month ago #50816

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

  • Posts: 139
  • Thank you received: 31

Replied by Marc on topic Collimation Circles


It's written in C++ using Qt framework. Qt provides the Windows/Mac/Linux portability.

- Marc
The following user(s) said Thank You: David Tate
Last edit: 4 years 1 month ago by Marc.
4 years 1 month ago #50858

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

Time to create page: 0.486 seconds