Thursday, February 16, 2017

Ekos Polar Alignment Assistant Tool

When setting up a German Equatorial Mount (GEM) for imaging, a critical aspect of capturing long-exposure images is to ensure a proper polar alignment. A GEM mount has two axis: Right Ascension (RA) axis and Declination (DE) axis. Ideally, the RA axis should be aligned with the celestial sphere polar axis. A mount's job is to track the stars motion around the sky, from the moment they rise at the eastern horizon, all the way up across the median, and westward until they set.

In long exposure imaging, a camera is attached to the telescope where the image sensor captures incoming photons from a particular area in the sky. The incident photons have to strike the same photo-site over and over again if we are to gather clear and crisp image. Of course, actual photons do not behave in this way: optics, atmosphere, seeing quality all scatter and refract photons in one way or another. Furthermore, photons do not arrive uniformly but follow a Poisson distribution. For point-like sources like stars, a point spread function describes how photons are spatially distributed across the pixels. Nevertheless, the overall idea we want to keep the source photons hitting the same pixels. Otherwise, we might end up with an image plagued with various trail artifacts.

Since mounts are not perfect, they cannot perfectly keep track of object as it transits across the sky. This can stem from many factors, one of which is the mis-alignment of the mount's Right Ascension axis with respect to the celestial pole axis. Polar alignment removes one of the biggest sources of tracking errors in the mount, but other sources of error still play a factor. If properly aligned, some mounts can track an object for a few minutes with only deviation of 1-2 arcsec RMS.

However, unless you have a fancy top of the line mount, then you'd probably want to use an autoguider to keep the same star locked in the same position over time. Despite all of this, if the axis of the mount is not properly aligned with the celestial pole, then even a mechanically-perfect mount would lose tracking with time. Tracking errors are proportional to the magnitude of the misalignment. It is therefore very important for long exposure imaging to get the mount polar aligned to reduce any residual errors as it spans across the sky.

Several polar-alignment aids exist today, including, but not limited to:

1. Polar scope built-in your mount.
2. Using drift alignment from applications like PHD2.
3. Dedicated hardware like QHY's PoleMaster.
4. Ekos Legacy Polar Alignment tool: You need to take exposure of two different points in the sky to measure the drift and find out polar error in each axis (Altitude & Azimuth)
5. SharpCap Polar Alignment tool.

Out of the above, the easiest to use are probably QHY's PoleMaster and SharpCap's Polar alignment tool. However both software are exclusive to Windows OS only. KStars users have long requested support for an easy to use Polar Alignment helper in Ekos leveraging its backend.

During the last couple of weeks, I worked on developing Ekos Polar Alignment Assistant Tool (PAA). I started with a simple mathematical model consisting of two images rotated by a an arbitrary degree. A sample illustration of this is below:

Given two points, we can calculate the arc length from the rotation angle, and hence the radius. Therefore, it is possible to find two circle solutions that would match this, one of which would be the mount's actual RA axis within the image. Finding out which solution is the correct one turned out to be challenging, and even the mount's own rotation angle cannot be fully trusted. To be able to uniquely draw a circle, you need 3 points. So it was suggested by Gerry Rozema, one of INDI venerable developers, to capture 3 images to uniquely identify the circle without involving a lot of fancy math.

Since it relies on, PAA has more relaxed requirements than other tools making it accessible to more users. You can use your own primary or guide camera, given they have wide-enough FOV for the astrometry solver.

Moreover, the assistant can automatically capture, solve, and even rotate the mount for you. All you have to do is to make the necessary adjustments to your mount.

The new PAA works by capturing and solving three images. It is technically possible to rely on two images only as described above, but three images improves the accuracy of the solution. After capturing each, the mount rotates by a fixed amount and another image is captured and solved.

Since the mount's true RA/DE are resolved by astrometry, we can construct a unique circle from the three centers found in the astrometry solutions. The circle's center is where the mount rotates about (RA Axis) and ideally this point should coincide with the celestial pole. However, if there is a mis-alignment, then Ekos draws a correction vector. This correction vector can be placed anywhere in the image. Next the user refreshes the camera feed and applies correction to the mount's Altitude and Azimuth knobs until the star is located in the designated cross-hair. It's that easy!

Ekos PAA is now in Beta and tests/feedback are highly appreciated.


Alex Fliker said...

Is it necessary for guide camera to be perfectly aligned with main scope in order to use the guide camera for this procedure?

Jasem Mutlaq said...

Nope it's not necessary.

Unknown said...

Just pure brilliance from you here. I have never expected something less than this from you and you have not disappointed me at all. I suppose you will keep the quality work going on.
Yacht Interiors

Unknown said...

Hi, I just discovered Kstar and Ekos and must say that I have been impressed with it so far. However I seem to run into problems trying to connect my Canon 700D as well as with the PAA.
First things first. The DSLR error messages I get are :

Camera_get_config failed (-2): Bad parameters
Can not open camera: Power OK? If camera is auto-mounted as external disk storage, please unmount it and disable auto-mount.
Camera_get_config failed (-53): Could not claim the USB device
It works fine when I use AstroDSLR from Cloudmakers which also uses INDI Server and INDI control panel and I assume the INDI driver for Canon DSLR.

Regarding the polar alignment: I seem not to be able to Clear the alignment model of my Celestron AVX mount. It gives me the error : Failed to clear Alignment Model.
When I start the PAA it first wants to "Clear the alignment model" which takes forever and eventually I give up. When I start the capture and solve process it doesn't seem to be able to find a solution. It keeps failing. "Solver failed after ... seconds). I have a guidescope (200mm focal length and 50mm aperture which should suffice) and an ASI 120MC.

Please help! This is quite frustrating.

I seem to be doing nothing else than encountering problems which I am trying to solve as best as possible instead of being able to enjoy some astronomy. :-(

Kind regards,


Taj howden said...

Black magic specialist in Pakistan SM Rizvi is the gold medalist astrologer in black magic. He is famous for black magic tantra mantra. He has a lot of experience black magic and astrologyhe is the top of the world black magic specialist in Pakistan. He reaches to so many people for solving their problems by black magic. Black magic resolve is the most uses art in the world by the people and astrologer. It is the only way which helps you in solving problems in hours.

Dr Mandy said...

Many people invented the strange Method of istikhara
people whose remarkable time is worthless, But the Sunnah way of istikhaara is below. Method of istikhara.
1: When the person is concerned about something important, the intention of recruiting is to seek good and good from his Lord.
2: Perform wazuhu like a prayer.
3: offer Pray two rak’ahs apart from the obligatory prayer.
4: After praying, read the special prayers of the Istikhaara, FROM THE BEGINNING OF ISTIKHAARA DUA 1st read Alhamdulliah and last read Drood salam on AP(SAW) .

Dr Rosee said...


O Allah, I consult You as You are All-Knowing and I appeal to You to give me power as You are Omnipotent, I ask You for Your great favor, for You have power and I do not, and You know all of the hidden matters . O Allah ! If you know that this matter (then the person reciting the du’a should mention the matter for which he is seeking Allah’s Guidance) is good for me in my religion, my livelihood, and for my life in the Hereafter, (or he said: ‘for my present and future life,’) then make it (easy) for me.
And if you know that this matter is not good for me in my religion, my livelihood and my life in the Hereafter, (or he said: ‘for my present and future life,’) then keep it away from me and take me away from it and choose what is good for me wherever it is and please me with it.

Astrologer Vivek said...

Pandit Vivek Ji is one of the best Indian Astrologer in Queensland. The vast majority of the legislators, representatives, and ladies' have profited by our astrologer and driving a cheerful and fulfilled life. On the off chance that you experience the ill effects of a portion of these issues or something else, at that point without burning through your valuable time, when seeing us and get you out of all difficulty from your life so will you endeavor?

Famous Astrologer in Queensland